dev@glassfish.java.net

Re: decision w.r.t. Java class version for GFv3-trunk sources ...

From: Kedar Mhaswade <Kedar.Mhaswade_at_Sun.COM>
Date: Fri, 20 Feb 2009 07:57:14 -0800

Bill Shannon wrote:
> Rajiv Mordani wrote:
>>
>>
>> Bill Shannon wrote:
>>> Kedar Mhaswade wrote:
>>>> An issue might arise when we want to build all of GFv3 including
>>>> external
>>>> dependencies from source (read Ubuntu build). In that case, we
>>>> might need both Java 5, 6 in the PATH and I don't know how maven
>>>> plugin can take it into account. I think this is mostly handled by
>>>> using JDK 6 javac
>>>> and using -target as 1.5 for those modules.
>>>
>>> I don't think we've tried to enforce any sort of "common build
>>> environment"
>>> that encompasses all the independently developed modules that feed
>>> into GlassFish.
>>
>> I don't think that the problem is for the separate modules. As I
>> understand
>> it, there are some components that reside in the GlassFish svn repo
>> that we
>> want to enable running with JDK 5. I am not sure which ones though and
>> hence
>> I asked the question about the list of modules.
>
> It's easy enough to configure those modules to use "-source 1.5 -target
> 1.5",
> but if you *really* want them to work with JDK 5, I strongly suggest that
> they be built separately using JDK 5.

The list contains only hk2 as the component that might need to run with Java 5,
as of now. Unless people fill in this table, probably that's the only candidate,
in which case, we might have to go back and build with Java 6 with -target 1.6.

-Kedar
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>