On Dec 15, 2004, at 3:56 PM, Kevin Duffey wrote:
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?

I have a custom CATALINA_OPTS in my ~/.bash_profile that gets picked up just fine also. In fact, JAVA_HOME is set there also. I only showed java.vendor, os.name, and os.version to show my platform.


        Erik



--- Erik Hatcher <[EMAIL PROTECTED]> 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:
[EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail:
[EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]





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

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to