ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Duffey <supreme_java_gur...@yahoo.com>
Subject Re: Environment variables and mac osx
Date Wed, 15 Dec 2004 20:56:22 GMT
Hmm, so we set TOMCAT_HOME, and a few others, and we
can't get to them. JAVA_HOME, java.vendor and those do
work. It's the ones we set ourselves. Paths are valid,
etc, we have checked all that. Is there a specific
user level to put them in, such as root as opposed to
our own user that we log in with?

--- Erik Hatcher <erik@ehatchersolutions.com> wrote:

> Works for me....
> 
> <project name="macosx">
>    <property environment="env"/>
>    <echo>
>      JAVA_HOME = ${env.JAVA_HOME}
>      java.vendor = ${java.vendor}
>      os.name = ${os.name}
>      os.version = ${os.version}
>    </echo>
> </project>
> 
> 
>       [echo]
>       [echo]     JAVA_HOME = /Library/Java/Home
>       [echo]     java.vendor = Apple Computer, Inc.
>       [echo]     os.name = Mac OS X
>       [echo]     os.version = 10.3.6
>       [echo]
> 
> BUILD SUCCESSFUL
> Total time: 1 second
> 
> 
> 
> 
> On Dec 15, 2004, at 2:51 PM, Kevin Duffey wrote:
> > Having issues with my ant build script finding
> > environment variables on the mac osx. We are
> running
> > 10.3, it works fine on Windows, but on Mac OSX,
> under
> > bash or t-shell, they show up when we shell and
> echo
> > them out, but they are not getting picked up by
> ant at
> > all.
> >
> > Is there a problem with Ant on Mac OSX in finding
> > environment variables? Is there a specific
> location we
> > need to set them for Ant to pick them up?
> >
> > While on the subject, is there any concern with
> linux
> > and the same issue? We will do builds on windows,
> mac
> > osx, linux and eventually solaris.
> >
> > Thanks.
> >
> >
> >
> > 		
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! Mail - Find what you need with new enhanced
> search.
> > http://info.mail.yahoo.com/mail_250
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> user-unsubscribe@ant.apache.org
> > For additional commands, e-mail:
> user-help@ant.apache.org
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> user-unsubscribe@ant.apache.org
> For additional commands, e-mail:
> user-help@ant.apache.org
> 
> 



		
__________________________________ 
Do you Yahoo!? 
Send a seasonal email greeting and help others. Do good. 
http://celebrity.mail.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message