jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Massol" <vmas...@pivolis.com>
Subject RE: Workaround for running Cactus-Ant-Task from within Eclipse?
Date Thu, 26 Aug 2004 09:15:13 GMT


> -----Original Message-----
> From: wiehage@uni-muenster.de [mailto:wiehage@uni-muenster.de] On Behalf
> Of Sebastian Wiehage
> Sent: jeudi 26 août 2004 10:27
> To: cactus-user@jakarta.apache.org
> Subject: RE: Workaround for running Cactus-Ant-Task from within Eclipse?
> 
> Hi everybody!
> 
> It didn't help :-( ...
> 
> I already have/had the tools.jar on the classpath of Ant inside Eclipse.
> That
> doesn't help.
> I've tried adding it to my Eclipse-Project-Classpath, did include it in a
> <classpath/> in my build.xml, changed my System-Vars (JAVA_HOME) and so
> on...
> don't know what to try else.
> 
> For changing the Eclipse-JRE to a complete SDK I don't know exactly how to
> to
> that. I already changed the inner-Eclipse JRE to that one of my installed
> SDK.
> The Code you posted Vincent does work in a seperate program. My property
> java.home points to the "c:/java/j2sdk1.4.2_05/jre" and with
>     > String javaHome = System.getProperty("java.home");
>     > new File(javaHome, "../lib/tools.jar");
> I get a File-object that points to the correct "tools.jar".
> 
> 
> Can you tell me where the code for the "getToolsJar()"-Method comes
> from...
> what package and class??

It's there:
http://tinyurl.com/3r8sm


> I'd like to know, what Eclipse-Ant get's for
>     > System.getProperty("java.home");
> 
> 
> Thanks for the answers.
> 
> Sebastian

Thanks
-Vincent


Mime
View raw message