Re: Build in multiple java versions using Ant

2008-10-22 Thread Andy Stevens
2008/10/20 scuzzie <[EMAIL PROTECTED]>: > Hi, > > I have a project written in NetBeans 6.1 that I need to be able to compile > on demand using any JDK version from 1.4.2, on a machine that does not have > NetBeans installed (but does have Ant of course). The app compiles under > 1.4.2 and up using

Re: Build in multiple java versions using Ant

2008-10-22 Thread Peter Reilly
It found that execing ant is the best way to get a 1.4 javac build. I use the following presetdef: Ant figures out where the java14 exe is set based on an enforced env variable: JAVA14_HOME.

Re: Build in multiple java versions using Ant

2008-10-22 Thread Steve Loughran
scuzzie wrote: Hi, I have a project written in NetBeans 6.1 that I need to be able to compile on demand using any JDK version from 1.4.2, on a machine that does not have NetBeans installed (but does have Ant of course). The app compiles under 1.4.2 and up using the Ant xml files generated by Net

Re: Build in multiple java versions using Ant

2008-10-21 Thread John5342
If i remember right only the stuff in the nbprojects folder is overriten by netbeans and should not be modified. You can on the other hand add targets and stuff so long as you dont touch the existing stuff in there. build.xml provided by netbeans provides some hints on how to add stuff and there is