RE: JDK 1.5 compatibility

"Tim Anderson" <[email protected]> Mon, 18 Apr 2005 01:04:36 +1000
Newsgroups gmane.comp.java.openjms.devel
Message-ID <004301c5435e$c64b0800$287cfddc@xerces>
To compile with JDK 1.5, modify the build.xml so that
the <javac> tasks specify a "source" attribute e.g:
     <javac destdir="${classes.dir}"
           includes="**/*.java"
           excludes="**/package.html"
           debug="${debug}"
           deprecation="${deprecation}"
           source="1.4">

The latest CVS version should compile with 1.5.

-Tim

> From: Moore, Randy
>
> Hi There! 
> 
> This is my first post to this list. I tried to rebuild the 
> project with ant using Java 5 compile and I get erros related 
> to the use of "enum", which is a reserved word in Java 5. Is 
> anyone working on making this product 5.0 compliant? Is 
> anyone doing anything with this project?
> 
> Thanks in Advance,
> 
> Randy
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from 
> real users. Discover which products truly live up to the 
> hype. Start reading now. 
> http://ads.osdn.com/?ad_ide95&alloc_id396&op=ick
> _______________________________________________
> openjms-developer mailing list openjms-developer-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/openjms-developer
> 



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click