Discussion:
[openjms-developer] JDK 1.5 compatibility
Moore, Randy
2005-04-15 15:34:07 UTC
Permalink
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
Tim Anderson
2005-04-17 15:04:36 UTC
Permalink
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
_______________________________________________
https://lists.sourceforge.net/lists/listinfo/openjms-developer
Continue reading on narkive:
Loading...