[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.newcomer] Re: Compiling for older version of java

joel schrieb:
Tom Schindl wrote:

How do you package your product, do you use an ANT-File?

With my current tests I am just trying to make the unaltered JChessBoard open source application function on OSX when compiled with a 1.6 JDK on Windows. JChessBoard comes with a functioning build.xml ANT file.



Well and that's exactly the problem the ANT-File has no idea that you want it to compile the JavaSources to 1.5 (it defaults to the compiler version). You need to set this in there explicitly. Take a look at the ant-Documentation (I think the properties are named source and target but I could be wrong)


Tom

--
B e s t S o l u t i o n . at
--------------------------------------------------------------------
Tom Schindl                                          JFace-Committer
--------------------------------------------------------------------