ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jens Zastrow" <zast...@dai-lab.de>
Subject RE: How to use/reference tools.jar from ant script
Date Thu, 16 May 2002 09:40:31 GMT
// i forgot to attach the message :-(

i have to invoke the idl-compiler (idlj) which can be done by:

java com.sun.tools.corba.se.idl.toJavaPortable.Compile

the com.sun.tools.* packages come from the tools.jar in
JAVA_HOME/lib/tools.jar and will be used allready to invoke the javac
from ant.

the tools.jar is included also during startup.

File: ant.bat
>if exist "%JAVA_HOME%\lib\tools.jar" call "%ANT_HOME%\bin\lcp.bat"
%JAVA_HOME%\lib\tools.jar

How can i access the classpath which includes the tools.jar in a <java>
task to invoke the idlj ?!


Thanks
Jens Zastrow

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message