ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject AW: JAVA_HOME to be changed dynamically
Date Thu, 06 Jul 2006 06:06:29 GMT
What do you mean with "run the remaining tests with jdk1.4" ?

  JDK1.5   <project>
  JDK1.5      <echo/>
  JDK1.5      <switchJDK/>
  JDK1.4      <echo>
  JDK1.4   </project>

something like that? That isnt possible as Ant is already running...
But <java> and <javac> support using another JDK for their work.


>-----Urspr√ľngliche Nachricht-----
>Von: 1800 tbsfunny [] 
>Gesendet: Mittwoch, 5. Juli 2006 16:38
>An: Ant Users List
>Betreff: JAVA_HOME to be changed dynamically
>I set JAVA_HOME=c:\jdk1.5 before running ant. At some point 
>inside the an ant target I want to change JAVA_HOME=c:\jdk1.4. 
>And run the remaining tests with jdk1.4.
>Can I do this?

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message