ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <e...@ehatchersolutions.com>
Subject Re: Environment variables and mac osx
Date Wed, 15 Dec 2004 20:29:41 GMT
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


Mime
View raw message