dev@glassfish.java.net

Re: Pls review pom.xml

From: Tim Quinn <Timothy.Quinn_at_Sun.COM>
Date: Mon, 24 Aug 2009 12:05:54 -0500

Bhakti Mehta wrote:
> Jane,
> I read your feedback to Hong and would request to add this to the
> pom.xml so that Classes.jar is found in bootclasspath
> Please can you approve
>
Are you seeing errors without this?

I don't think it's needed.

On the Mac (or more precisely, with Apple's Java implementation)
classes.jar is always on the class path, just as with Sun's
implementatuio rt.jar is always on the class path.

And in non-Apple Java implementations there is no classes.jar.

- Tim


> Thanks,
> Bhakti
> ===================================================================
> --- pom.xml (revision 30728)
> +++ pom.xml (working copy)
> @@ -86,7 +86,7 @@
> <artifactId>hk2-maven-plugin</artifactId>
> <configuration>
> <compilerArguments>
> -
> <bootclasspath>${project.build.directory}/endorsed/webservices-api-osgi-${webservices.version}.jar${path.separator}${project.build.directory}/endorsed/jaxb-api-osgi-${jaxb.version}.jar${path.separator}${java.home}/lib/rt.jar</bootclasspath>
>
> +
> <bootclasspath>${project.build.directory}/endorsed/webservices-api-osgi-${webservices.version}.jar${path.separator}${project.build.directory}/endorsed/jaxb-api-osgi-${jaxb.version}.jar${path.separator}${java.home}/../Classes/classes.jar${path.separator}${java.home}/lib/rt.jar</bootclasspath>
>
> </compilerArguments>
> <fork>true</fork>
> <archive>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>