ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: Basic question about ant
Date Mon, 31 Aug 2009 05:27:22 GMT
I put a note in the manual.
rev 809463

Jan 

> -----Urspr√ľngliche Nachricht-----
> Von: Gilbert Rebhan [mailto:ant@schillbaer.de] 
> Gesendet: Freitag, 28. August 2009 23:12
> An: Ant Users List
> Betreff: Re: Basic question about ant
> 
> veena pandit schrieb:
> > Well,  I wonder why I cant run ant from the command line. 
> Even though the
> > path is set.
> >   Do I have to set classpath as well?
> 
> i assume your're on windows ..
> 
> ant installation in general =
> 
> set ANT_HOME=path/to/root/of/your/antinstalldirectory
> set PATH=%PATH%;%ANT_HOME%/bin
> also take care of addon /extra tasks, see =
> http://marc.info/?l=ant-user&m=124959044401518&w=2
> 
> then open up a shell and =
> C:\>ant
> Buildfile: build.xml does not exist!
> Build failed
> 
> OK :-)
> 
> ant + eclipse =
> to make addon tasks work in eclipse :
> Window | Preferences | Ant | Runtime | Global Entries | Add Jars
> 
> you may adjust the environment to your needs via focus on 
> main target in
> outline window, right mouse and choose 3 Ant Build not 2 Ant Build
> Shift+Alt X Q and you'll get a new window where args, classpath,
> environment may be altered
> 
> another possibility in your special case, means accessing
> an executable not on path, just use the whole path, means =
> 
> project:
> 
> <project default="wsgen"
>     <target name = "wsgen">
>     <exec executable="the/whole/path/to/wsgen">
>        <arg line="...
> ...
> 
> 
> 
> Regards, Gilbert
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 

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


Mime
View raw message