--- Erik Hatcher <[EMAIL PROTECTED]> wrote:
> Ignore the shell/bat script troll....
> 
> Ok, from an environment variable:
> 
>     <property environment="env"/>
>     <path id="classpath">
>       <pathelement location="${env.HELPER_JAR}"/>
>     </path>
> 
> Better?  No <condition>, no shell script (well, ok, ant.bat/.sh) , nice
> and simple.

But you don't really want to rely on environment variables that are just
(supposedly) set, do you?  IMO, that's even scarier than hard-coding full
paths in the build-file (which I'm also not altogether for, but it's
better than going with env vars -- unless they're set in a file somewhere
that's source-controlled).

Diane

=====
([EMAIL PROTECTED])



__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions! 
http://auctions.yahoo.com

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to