dev@glassfish.java.net

Re: Pls review pom.xml

From: Bhakti Mehta <Bhakti.Mehta_at_Sun.COM>
Date: Mon, 24 Aug 2009 10:13:21 -0700

I was not seeing any errors on the mac but wanted to put in the change
just to be on the safe side after reading Hong's diffs. If rt.jar is
not added to bootclasspath then the build will fail on non mac
platforms. I think it may be safer to add it in but can hold off if
others do not feel it necessary
Regards,
Bhakti

Tim Quinn wrote:
>
> 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
>>
>
>