dev@glassfish.java.net

Re: GlassFish JRuby Connector Status Update

From: Sahoo <Sahoo_at_Sun.COM>
Date: Thu, 10 Jul 2008 09:19:28 +0530

Arun,

The change looks fine to me. I just did a local build and I am able to
see jruby dependencies in modules dir. See the output below:

glassfish@~/WS/gf/v3$ unzip -l distributions/web/target/web.zip | grep jruby
     8496 07-10-08 09:07 glassfish/modules/gf-jruby-connector-0.6.7.jar
    20431 07-10-08 09:07 glassfish/modules/grizzly-jruby-1.7.6.jar
    13877 07-10-08 09:07 glassfish/modules/grizzly-jruby-module-0.6.7.jar
     3096 07-10-08 09:07 glassfish/modules/jruby-all-0.6.7.pom

That makes me feel something is wrong with the way you are trying to
build, especially when you say that if you use 0.6.6, the jruby
dependencies don't even become part of web.zip.

It's a different matter that even the POM is installed in modules dir. I
just now filed bug #5286 to track this.

Thanks,
Sahoo

Arun Gupta wrote:
> Inlined ...
>
> ~/workspaces/glassfish/v3 >svn diff
> Index: pom.xml
> ===================================================================
> --- pom.xml (revision 21198)
> +++ pom.xml (working copy)
> @@ -133,7 +133,7 @@
> <major_version>10</major_version>
> <minor_version>0</minor_version>
> <nucleus.version>0.1-SNAPSHOT</nucleus.version>
> - <jruby-scripting.version>0.6.6</jruby-scripting.version>
> + <jruby-scripting.version>0.6.7</jruby-scripting.version>
> <jmac-api.version>1.0-rev-1</jmac-api.version>
> <jaxws-ri.version>2.1.3</jaxws-ri.version>
> <stax-api.version>1.0-2</stax-api.version>
> Index: distributions/web/pom.xml
> ===================================================================
> --- distributions/web/pom.xml (revision 21198)
> +++ distributions/web/pom.xml (working copy)
> @@ -117,15 +117,12 @@
> <artifactId>console-plugin-service</artifactId>
> <version>${admingui.version}</version>
> </dependency-->
> - <!-- TODO (Sahoo): Fix jruby to use new HK2 version.
> - Until then, don't distribute.
> <dependency>
> <groupId>org.glassfish.scripting</groupId>
> <artifactId>jruby-all</artifactId>
> <version>${jruby-scripting.version}</version>
> <type>pom</type>
> </dependency>
> - -->
> <dependency>
>
> <groupId>org.glassfish.connectors.jdbc-ra.jdbc-ra-distribution</groupId>
> <artifactId>jdbc-ra</artifactId>
>
> Thanks,
> -Arun
>