> -----Original Message----- > From: Marc Farrow [mailto:[EMAIL PROTECTED] > Sent: Wednesday, 30 August 2006 11:10 PM > To: Ant Users List > Subject: Re: Change JAVA home for one Javac task and not the other > > Can't you just specify the source level when you call the > javac task? The same as > > Something like > javac -source 1.3 -target 1.3 com.mycompany.MyClass.java
Personally I've found that this is insufficient. The better option would be to spawn a java process in a way that forces the selection of a specific JVM but I haven't tried this and don't know if its feasible (but I'm optimistic). Sooner or later is something I'm going to have to look in to. Cheers, Steve. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]