Would it make sence to start Ant with a JRE and add the (different) tools.jar via -lib?
Jan >-----Ursprüngliche Nachricht----- >Von: Peter Reilly [mailto:[EMAIL PROTECTED] >Gesendet: Mittwoch, 12. September 2007 09:24 >An: Ant Users List >Betreff: Re: ant-1.6.5; need to add tools.jar to system classpath > >Hi Jan, >Vladimir is trying to use a different tools.jar than the one that >is in $JAVA_HOME - as the one in $JAVA_HOME is broken. > >Hi Vladimir, >ATM I do not see any way other that the one you are using. > >Peter > >On 9/12/07, [EMAIL PROTECTED] ><[EMAIL PROTECTED]> wrote: >> >We are working with ant-1.6.5. As a workaround for >> > >> >http://bugs.sun.com/view_bug.do?bug_id=6176978 >> > >> >(the bug is marked fixed, but it re-appeared in jdk 1.6), we need to >> add >> >tools.jar to ant system classpath. >> >> >> - If JAVA_HOME points to a JDK it should be on Ants >classpath already. >> - You could add jars from a directory by -lib option >> - <javadoc> supports nested sourcepath, classpath and bootclasspath >> >> >> Jan >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
