Re: doesn't pick up an environment variable

2009-01-15 Thread Kent Larsson
On Thu, Jan 15, 2009 at 5:48 PM, Francis Galiegue wrote: > Le Thursday 15 January 2009 17:25:26 Kent Larsson, vous avez écrit : > > Hi, I have a build.xml for my Ant build script and a build.properties > file > > for easier configuration. > > > >$ ls build.* > >-rw-r--r-- 1 tnek tnek 2

Re: doesn't pick up an environment variable

2009-01-15 Thread Kent Larsson
Yes, I was in the same shell. The shell output in my post was a copy paste from my actual shell with no commands left out. I only inserted some annotations in between them. :-) On Thu, Jan 15, 2009 at 5:41 PM, Scot P. Floess wrote: > > So, silly question... > > Below...are you in the same shell?

Re: doesn't pick up an environment variable

2009-01-15 Thread Francis Galiegue
Le Thursday 15 January 2009 17:25:26 Kent Larsson, vous avez écrit : > Hi, I have a build.xml for my Ant build script and a build.properties file > for easier configuration. > >$ ls build.* >-rw-r--r-- 1 tnek tnek 29 2009-01-15 17:01 build.properties >-rw-r--r-- 1 tnek tnek 270 2009-

Re: doesn't pick up an environment variable

2009-01-15 Thread Scot P. Floess
On Thu, 15 Jan 2009, Kent Larsson wrote: Hi again, It is solved now. I run Ubuntu and had defined CATALINA_HOME in etc/environment to get a system wide environment variable. I then used . /etc/environment to load the variable into the bash instance I used. Somehow ant could not pick up on th

Re: doesn't pick up an environment variable

2009-01-15 Thread Scot P. Floess
So, silly question... Below...are you in the same shell? Meaning...is it possible you have say 2 xterms open...running your build.xml where CATALINA_HOME is not set? for example, in the same xterm do: echo $CATALINA_HOME ant If not, I can't see why its not output... On Thu, 15 Jan 2009, K

Re: doesn't pick up an environment variable

2009-01-15 Thread Kent Larsson
Hi again, It is solved now. I run Ubuntu and had defined CATALINA_HOME in etc/environment to get a system wide environment variable. I then used . /etc/environment to load the variable into the bash instance I used. Somehow ant could not pick up on this variable until after I rebooted. I'm sure th

doesn't pick up an environment variable

2009-01-15 Thread Kent Larsson
Hi, I have a build.xml for my Ant build script and a build.properties file for easier configuration. $ ls build.* -rw-r--r-- 1 tnek tnek 29 2009-01-15 17:01 build.properties -rw-r--r-- 1 tnek tnek 270 2009-01-15 17:05 build.xml They are short and easy to understand: $ cat build.