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.
----- Original Message -----
From: "Ray Tayek" <[EMAIL PROTECTED]>
To: "Ant Users List" <[EMAIL PROTECTED]>
Sent: Monday, February 04, 2002 9:05 PM
Subject: RE: test environment variable and if statement
> At 08:52 PM 2/4/02 -0500, you wrote:
> >Suggestion,
> >
> >Create a KSH script to do your Unix building or compiling of
> >a script and on Windows create a .bat file to do what you
> >need.
>
> that's sort of what i have now. but it's a pain to maintain two files that
> do the same thing. i was hoping to put that stuff into ant somehow.
>
> thanks
>
> ---
> ray tayek http://home.earthlink.net/~rtayek/
> actively seeking telecommuting work
> orange county java users group http://www.ocjug.org/
> hate spam? http://samspade.org/ssw/
>
>
> --
> To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>