Re: CC task, VisualStudio Env Vars

Eric Minick <[email protected]> Mon, 10 Apr 2006 12:10:54 -0500
Newsgroups gmane.comp.java.anthill
Message-ID <[email protected]>
Have you tried using the ant exec task to run the batch file 
(http://ant.apache.org/manual/CoreTasks/exec.html)? You could have that 
be the first part of your Ant build if a certain property is present. 
You could then have Anthill pass in that property to trigger the 
environment script - if your developers can keep running as they have 
been oblivious to the change.

Marcio Marchini wrote:

> Hi,
>
>     I am trying to do a build of a C++ piece of code ("cc" ant task). 
> I have the Ant build working from the command-line, but it needs that 
> I run the VisualStudio BAT to cfg the env vars first:
>
> C:\marcio\>"C:\Program Files\Microsoft Visual Studio .NET 
> 2003\Common7\Tools\vsvars32.bat"
>
>
>     Now, the question is... how can I do a similar thing for the build 
> that will run from Anthill? NOTE: Anthill is running under Tomcat as a 
> Service.
>
>     Thanks,
>
> marcio
> _______________________________________________
> Anthill mailing list
> Anthill-IWHQxnLZ/[email protected]
> http://lists.urbancode.com/mailman/listinfo/anthill