AW: Setting environment variables

2010-02-25 Thread Knuplesch, Juergen
: jan.mate...@rzf.fin-nrw.de [mailto:jan.mate...@rzf.fin-nrw.de] Gesendet: Donnerstag, 25. Februar 2010 06:12 An: user@ant.apache.org Betreff: AW: Setting environment variables Option 4: create a batch file that calls your 'setenv' and then the dmake. Call this from Ant call se

AW: Setting environment variables

2010-02-24 Thread Jan.Materne
2010 20:02 >An: Ant >Betreff: RE: Setting environment variables > > >When your batch file is invoked all variables declared by the >set command will not get passed to the 2nd instance of the >dos/command window. You have to play around with command /c >to get this to wo

RE: Setting environment variables

2010-02-24 Thread Rez P
value Rez > Subject: Setting environment variables > Date: Wed, 24 Feb 2010 16:12:08 +0100 > From: juergen.knuple...@icongmbh.de > To: user@ant.apache.org > > Hello, > > I want to run a dmake using ANT to compile some C-Source. > > There is a Batchfile tha

Setting environment variables

2010-02-24 Thread Knuplesch, Juergen
Hello, I want to run a dmake using ANT to compile some C-Source. There is a Batchfile that sets up some compiler environment variables. Now I want to run this Batchfile and then execute a dmake that uses these environment variables. Is it possible to get the environmet variables "inside" ANT? H

Re: Setting environment variables

2008-08-10 Thread Dominique Devienne
On Fri, Aug 1, 2008 at 3:08 PM, Yang Zhang <[EMAIL PROTECTED]> wrote: > If there's a better way to do what I'm trying to do, I'm all ears. Thanks in > advance for any answers! I think you basically have two options: 1) use or , to wrap with some child elements. 2) write your own task that does

RE: Setting environment variables

2008-08-01 Thread Shawn Castrianni
EMAIL PROTECTED] Sent: Friday, August 01, 2008 3:09 PM To: user@ant.apache.org Subject: Setting environment variables Hi, I know that I can set environment variables for a subprocess by using inside an , but if I have a bunch of targets that all do s, and I'd like them all to have this same environm

Setting environment variables

2008-08-01 Thread Yang Zhang
Hi, I know that I can set environment variables for a subprocess by using inside an , but if I have a bunch of targets that all do s, and I'd like them all to have this same environment set up, how may I accomplish this duplicating a bunch of s everywhere? My goal is to set things up for buildin

Re: newbie question regarding setting environment variables

2008-07-07 Thread Henning Bredel
> I expect that I have to set JAVA_HOME, but for the life of me I can not > figure out where or how. For a session you can type JAVA_HOME= Note that you have to set the path to your JDK, not the JRE. Setting the path permanent, you can alter your ~/.profile (in your /home/ dir). Type here at

RE: newbie question regarding setting environment variables

2008-07-07 Thread Frank D. Gunseor
04, 2008 1:29 PM To: Ant Users List Subject: Re: newbie question regarding setting environment variables Frank, can you give us the result of 'ant -diagnostics' or 'ant -diagnostics | grep tools' to see tools.jar is in your path if not, what is the result of 'echo

Re: newbie question regarding setting environment variables

2008-07-04 Thread supareno
Frank, can you give us the result of 'ant -diagnostics' or 'ant -diagnostics | grep tools' to see tools.jar is in your path if not, what is the result of 'echo $JAVA_HOME'? to set your JAVA_HOME: edit your bashrc file vi ~/.bashrc add these lines at the end your bashrc file ... PATH=//bin:

newbie question regarding setting environment variables

2008-07-04 Thread Frank Gunseor
I have ant install on Ubuntu 8.04. When I try to run ant I get an error message, "Unable to locate tools.jar, etc.". I expect that I have to set JAVA_HOME, but for the life of me I can not figure out where or how. I have checked the manual, the FAQ, etc. I guess I'm just being dense today. Can