What does javac -version give you, are you sure your ant is using it?
On 1-dec-05, at 10:00, F Baube wrote:
Are you using JDK 1.5?
Yup!
fred
I was trying to add some debugging, so I did
svn update
ant -f build-1.5.xml jar
with JDK 1.5, and I got this:
compileFramework:
[javac] Compiling 54 source files to /opt/rife/build/framework
[javac] javac: invalid source release: 1.5
[javac] Usage: javac <options> <source files>
[javac] where possible options include:
[javac] -g Generate all debugging info
[javac] -g:none Generate no debugging info
[javac] -g:{lines,vars,source} Generate only some
debugging info
[javac] -nowarn Generate no warnings
[javac] -verbose Output messages about what
the compiler is doing
[javac] -deprecation Output source locations
where deprecated APIs are used
[javac] -classpath <path> Specify where to find user
class files
[javac] -sourcepath <path> Specify where to find input
source files
[javac] -bootclasspath <path> Override location of
bootstrap class files
[javac] -extdirs <dirs> Override location of
installed extensions
[javac] -d <directory> Specify where to place
generated class files
[javac] -encoding <encoding> Specify character encoding
used by source files
[javac] -source <release> Provide source
compatibility with specified release
[javac] -target <release> Generate class files for
specific VM version
[javac] -help Print a synopsis of
standard options
BUILD FAILED
/opt/rife/build-1.5.xml:222: Compile failed; see the compiler error
output for details.
--
Geert Bevin Uwyn bvba
"Use what you need" Avenue de Scailmont 34
http://www.uwyn.com 7170 Manage, Belgium
gbevin[remove] at uwyn dot com Tel +32 64 84 80 03
PGP Fingerprint : 4E21 6399 CD9E A384 6619 719A C8F4 D40D 309F D6A9
Public PGP key : available at servers pgp.mit.edu, wwwkeys.pgp.net
_______________________________________________
Rife-users mailing list
[email protected]
http://www.uwyn.com/mailman/listinfo/rife-users