From: "Oleg Kozyrev Jr." <[EMAIL PROTECTED]>
> 
> Hello all,
> 
> I'm using 1.5 for a long time with OFBiz too. If I remember right the one
> thing to make this new Java options (foreach, generics, etc.) work is to
> change 'source' attribute in all 'javac' tags in all build.xml files.
> Otherwise, javac will "read" the code as it's 1.4, but if it's 1.5, it
> fails.
> 
> Oleg.

Thanks for that point Oleg.

Jacques
 
 
> jacques.le.roux wrote:
> > 
> > From: "Chris Howe" <[EMAIL PROTECTED]>
> > 
> >> The protected enum warning I believe has been fixed.
> >> At this time there doesn't seem to be a compelling
> >> reason to switch to Java 5 unless you require it for
> >> another aplication.  I wouldn't expect the community
> >> to address improvements in code to take advantage of
> >> some of the changes made in Java 5 especially with
> >> Java 6 being in beta 2 and scheduled to be released
> >> from beta (and likely open sourced) in autumn.
> > 
> > Coming from a C++ background, I have used C# for 9 months this winter. I
> > did like their foreach (even if you can't modify the var in
> > the loop as with an iterator). I quickly saw that 1.5 offer something
> > equivalent (new enhanced for loop). I know it's only syntaxic
> > sugar but sometimes I w'd be happy to use it ;o)
> > 
> > Jacques
> > 
> >> --- Fabian Gorsler <[EMAIL PROTECTED]> wrote:
> >>
> >> > The same with my OFBiz (trunk version) - running on
> >> > Windows XP with Java
> >> > 1.5. No changes to configuration files were made for
> >> > running with 1.5.
> >> >
> >> > There were just some warnings while building (enum
> >> > ;)), but everything
> >> > else was fine.
> >> >
> > 
> > 
> > 
> 
> -- 
> View this message in context: 
> http://www.nabble.com/Running-on-JDK-1.5-for-One-Month-tf2040797.html#a5645376
> Sent from the OFBiz - User forum at Nabble.com.

Reply via email to