I made a small java program that used the ProcessBuilder to start a command with different PATH environment. No effect. Java could still not find the application.
> -----Original Message-----
> From: firstname.lastname@example.org
> On Behalf Of Dean Hiller
> Sent: Wednesday, March 22, 2006 11:26 AM
> To: email@example.com
> Subject: Re: [Ant-contrib-developers] cpptasks and multiple
> versions of c compiler
> I have no idea if it word work when it comes to path, but you
> can always
> try the exec ant task in core ant tasks.
> <exec command="set PATH=xxxxxxxxxxxxxxxxx"/>
> I just have no idea if it would take affect. another thing
> is that the
> exec command takes a way of passing new environment variables in, so
> maybe it is just a slight modification to ant-contrib to
> allow the same
> thing. I am just guessing.