You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Jason Dillon <ja...@planet57.com> on 2008/11/28 10:59:26 UTC
Status of server/trunk wrt any release?
Is there any release planned for server/trunk soonerish? I ask
because I'm about ready to release GShell 1.0-alpha-2, and I'd like to
update server/trunk to use its awesome goodness. Anyone see any
problems with that?
--jason
Re: Status of server/trunk wrt any release?
Posted by Jason Warner <ja...@gmail.com>.
There's a release map for 2.2 here
http://cwiki.apache.org/GMOxPMGT/geronimo-22-release-status.html. It looks
like we have a code freeze on Dec. 12 with a proposed release candidate on
Jan. 9. I think that gives us enough time to work out any kinks that might
be introduced with a new GShell. Hopefully...
On Fri, Nov 28, 2008 at 4:59 AM, Jason Dillon <ja...@planet57.com> wrote:
> Is there any release planned for server/trunk soonerish? I ask because I'm
> about ready to release GShell 1.0-alpha-2, and I'd like to update
> server/trunk to use its awesome goodness. Anyone see any problems with
> that?
>
> --jason
>
--
~Jason Warner
Re: Status of server/trunk wrt any release?
Posted by Jason Dillon <ja...@planet57.com>.
Um, on a related note, I think that *most* of the geronimo-commands
that are currently implemented in Groovy really shouldn't be. They
are rather small, don't really use much of the Groovy language
advantages, and seems like they also suffer from cut-and-paste atrophy.
A few of the commands still warrant their Groovy implementation, like
start-server (or really any of the process-launching commands)... all
others do not.
In the process of porting over to the latest GShell API's I'm
converting these classes back to Java impls.
--jason
On Dec 3, 2008, at 5:49 PM, Jason Dillon wrote:
> For example your WsgenCommand.java becomes:
>
> <snip>
> package org.apache.geronimo.jaxws.builder;
>
> import org.apache.geronimo.gshell.command.CommandAction;
> import org.apache.geronimo.gshell.command.CommandContext;
> import org.apache.geronimo.gshell.command.Arguments;
> import org.apache.geronimo.gshell.application.Application;
>
> /**
> * GShell command for wsgen tool.
> *
> * @version $Rev: 595889 $ $Date: 2007-11-16 20:13:06 -0500 (Fri, 16
> Nov 2007) $
> */
> public class WsgenCommand
> implements CommandAction
> {
> private Application app;
>
> public WsgenCommand(final Application app) {
> assert app != null;
> this.app = app;
> }
>
> public Object execute(final CommandContext context) throws
> Exception {
> assert context != null;
>
> return JAXWSToolsCLI.run(JAXWSToolsCLI.Command.WSGEN,
> app.getHomeDir().getAbsolutePath(),
>
> Arguments.toStringArray(context.getArguments()),
> context.getIo().outputStream);
> }
> }
> </snip>
>
> And then the geronimo-jaxws-sun-tools jar gets a
> META-INF/gshell/components.xml with:
>
> <snip>
> <beans xmlns="http://www.springframework.org/schema/beans"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:gshell="http://gshell.org/schema/wisdom-gshell"
> xsi:schemaLocation="
> http://www.springframework.org/schema/beans
> http://www.springframework.org/schema/beans/spring-beans.xsd
> http://gshell.org/schema/wisdom-gshell
> http://gshell.org/schema/wisdom-gshell/wisdom-gshell.xsd"
> default-autowire="no"
> default-dependency-check="none"
> default-init-method="init"
> default-destroy-method="destroy">
>
> <gshell:plugin name="geronimo-jaxws-sun-tools">
> <gshell:command-bundle name="default">
> <gshell:command name="jaxws/wsgen" type="stateless">
> <gshell:action
> class="org.apache.geronimo.jaxws.builder.WsgenCommand">
> <constructor-arg ref="application"/>
> </gshell:action>
> </gshell:command>
>
> <gshell:command name="jaxws/wsimport" type="stateless">
> <gshell:action
> class="org.apache.geronimo.jaxws.builder.WsimportCommand">
> <constructor-arg ref="application"/>
> </gshell:action>
> </gshell:command>
> </gshell:command-bundle>
> </gshell:plugin>
> </beans>
> </snip>
>
> And finally 2 resource bundle files for i18n of the descriptions (one
> for WsgenCommand and another for WsimportCommand).
>
> From the gshell this plugin can be installed either by adding the
> dependency to etc/application.xml or dynamically by running the
> 'admin/install-plugin' command.
>
> --jason
>
>
> On Mon, Dec 1, 2008 at 10:31 PM, Jarek Gawor <jg...@gmail.com> wrote:
>> Jason,
>>
>> Will the existing gshell commands need to be updated to work with the
>> latest gshell?
>>
>> Jarek
>>
>> On Fri, Nov 28, 2008 at 4:59 AM, Jason Dillon <ja...@planet57.com>
>> wrote:
>>> Is there any release planned for server/trunk soonerish? I ask
>>> because I'm
>>> about ready to release GShell 1.0-alpha-2, and I'd like to update
>>> server/trunk to use its awesome goodness. Anyone see any problems
>>> with
>>> that?
>>>
>>> --jason
>>>
>>
Re: Status of server/trunk wrt any release?
Posted by Jason Dillon <ja...@planet57.com>.
For example your WsgenCommand.java becomes:
<snip>
package org.apache.geronimo.jaxws.builder;
import org.apache.geronimo.gshell.command.CommandAction;
import org.apache.geronimo.gshell.command.CommandContext;
import org.apache.geronimo.gshell.command.Arguments;
import org.apache.geronimo.gshell.application.Application;
/**
* GShell command for wsgen tool.
*
* @version $Rev: 595889 $ $Date: 2007-11-16 20:13:06 -0500 (Fri, 16 Nov 2007) $
*/
public class WsgenCommand
implements CommandAction
{
private Application app;
public WsgenCommand(final Application app) {
assert app != null;
this.app = app;
}
public Object execute(final CommandContext context) throws Exception {
assert context != null;
return JAXWSToolsCLI.run(JAXWSToolsCLI.Command.WSGEN,
app.getHomeDir().getAbsolutePath(),
Arguments.toStringArray(context.getArguments()),
context.getIo().outputStream);
}
}
</snip>
And then the geronimo-jaxws-sun-tools jar gets a
META-INF/gshell/components.xml with:
<snip>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:gshell="http://gshell.org/schema/wisdom-gshell"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://gshell.org/schema/wisdom-gshell
http://gshell.org/schema/wisdom-gshell/wisdom-gshell.xsd"
default-autowire="no"
default-dependency-check="none"
default-init-method="init"
default-destroy-method="destroy">
<gshell:plugin name="geronimo-jaxws-sun-tools">
<gshell:command-bundle name="default">
<gshell:command name="jaxws/wsgen" type="stateless">
<gshell:action
class="org.apache.geronimo.jaxws.builder.WsgenCommand">
<constructor-arg ref="application"/>
</gshell:action>
</gshell:command>
<gshell:command name="jaxws/wsimport" type="stateless">
<gshell:action
class="org.apache.geronimo.jaxws.builder.WsimportCommand">
<constructor-arg ref="application"/>
</gshell:action>
</gshell:command>
</gshell:command-bundle>
</gshell:plugin>
</beans>
</snip>
And finally 2 resource bundle files for i18n of the descriptions (one
for WsgenCommand and another for WsimportCommand).
>From the gshell this plugin can be installed either by adding the
dependency to etc/application.xml or dynamically by running the
'admin/install-plugin' command.
--jason
On Mon, Dec 1, 2008 at 10:31 PM, Jarek Gawor <jg...@gmail.com> wrote:
> Jason,
>
> Will the existing gshell commands need to be updated to work with the
> latest gshell?
>
> Jarek
>
> On Fri, Nov 28, 2008 at 4:59 AM, Jason Dillon <ja...@planet57.com> wrote:
>> Is there any release planned for server/trunk soonerish? I ask because I'm
>> about ready to release GShell 1.0-alpha-2, and I'd like to update
>> server/trunk to use its awesome goodness. Anyone see any problems with
>> that?
>>
>> --jason
>>
>
Re: Status of server/trunk wrt any release?
Posted by Jason Dillon <ja...@planet57.com>.
There are some code and configuration changes to use the latest gshell.
--jason
On Dec 1, 2008, at 10:31 PM, Jarek Gawor wrote:
> Jason,
>
> Will the existing gshell commands need to be updated to work with the
> latest gshell?
>
> Jarek
>
> On Fri, Nov 28, 2008 at 4:59 AM, Jason Dillon <ja...@planet57.com>
> wrote:
>> Is there any release planned for server/trunk soonerish? I ask
>> because I'm
>> about ready to release GShell 1.0-alpha-2, and I'd like to update
>> server/trunk to use its awesome goodness. Anyone see any problems
>> with
>> that?
>>
>> --jason
>>
Re: Status of server/trunk wrt any release?
Posted by Jarek Gawor <jg...@gmail.com>.
Jason,
Will the existing gshell commands need to be updated to work with the
latest gshell?
Jarek
On Fri, Nov 28, 2008 at 4:59 AM, Jason Dillon <ja...@planet57.com> wrote:
> Is there any release planned for server/trunk soonerish? I ask because I'm
> about ready to release GShell 1.0-alpha-2, and I'd like to update
> server/trunk to use its awesome goodness. Anyone see any problems with
> that?
>
> --jason
>
Re: Status of server/trunk wrt any release?
Posted by Donald Woods <dw...@apache.org>.
Go for it, as long as you can get it in and working before Dec. 12th.
-Donald
Jason Dillon wrote:
> Is there any release planned for server/trunk soonerish? I ask because
> I'm about ready to release GShell 1.0-alpha-2, and I'd like to update
> server/trunk to use its awesome goodness. Anyone see any problems with
> that?
>
> --jason
>