error from ant script
Subhodip Biswas
440volt.tux at gmail.com
Tue Mar 24 18:48:34 UTC 2009
I am still facing the problem even though i shifted to openjdk from
gcj.How to specify target and source for ant in a specfile.
I tried this but was of no help.
------------------------------------------------
ant -Dant.build.javac.source=1.5 -Dant.build.javac.target=1.5
My present java compiler is :
------------------------------------------------
java version "1.6.0"
OpenJDK Runtime Environment (build 1.6.0-b09)
OpenJDK Client VM (build 1.6.0-b09, mixed mode)
Present error I am getting is this :
-------------------------------------------------------------
warning: as of release 5, 'enum' is a keyword, and may not be used as
an identifier
[javac] (use -source 5 or higher to use 'enum' as a keyword)
--
Regards
Subhodip Biswas
GPG key : FAEA34AB
Server : pgp.mit.edu
http://subhodipbiswas.wordpress.com
http:/www.fedoraproject.org/wiki/SubhodipBiswas
More information about the fedora-devel-list
mailing list