Re: CC task, VisualStudio Env Vars
Marcio Marchini <[email protected]> Mon, 10 Apr 2006 14:01:34 -0400
| Newsgroups | gmane.comp.java.anthill |
|---|---|
| Message-ID | <[email protected]> |
Can't (run the vsvars32.BAT), it is a Windows service. It is not a tomcat BAT file I am running. Manually setting them one-by-one in the cfg screen (GUI) of the Tomcat service is doable but super tedious. Just as tedious as setting them as Windows System env vars or a specific user's env vars (and telling Windows to run that service as that user) marcio Robert E Dobbins wrote: > Set the enviroment variable(s) in the startup script of the container. > > > Thanks, > > Robert E. Dobbins > IBM Server Systems Operations - Integrated Technology Delivery > Systems Management Integration Professional > Web Hosting > redobbin-r/[email protected] > > Inactive hide details for Marcio Marchini <[email protected]>Marcio > Marchini <[email protected]> > > > *Marcio Marchini <[email protected]>* > Sent by: anthill-bounces-QRS84+L55VVJU0hlZIk5wmXnswh1EIUO@public.gmane.org > > 04/10/2006 01:12 PM > Please respond to > Anthill user list <[email protected]> > > > > To > > Anthill user list <[email protected]> > > cc > > > Subject > > Re: [Anthill] CC task, VisualStudio Env Vars > > > > > > As far as I know setting properties in a spawned process does not > change the env vars for the current process, so it would not work. > > I will give it a try just for kicks, but I think it won't work. I'll > get back to the list with my findings. > > Any other suggestions? Thanks, > > marcio > > > Eric Minick wrote: > > 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 > > > > > > _______________________________________________ > > Anthill mailing list > > Anthill-IWHQxnLZ/[email protected] > > http://lists.urbancode.com/mailman/listinfo/anthill > _______________________________________________ > Anthill mailing list > Anthill-IWHQxnLZ/[email protected] > http://lists.urbancode.com/mailman/listinfo/anthill > > > ------------------------------------------------------------------------ > > _______________________________________________ > Anthill mailing list > Anthill-IWHQxnLZ/[email protected] > http://lists.urbancode.com/mailman/listinfo/anthill