facebook

Ant env does not work on Mac

  1. MyEclipse IDE
  2.  > 
  3. Off Topic
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #284317 Reply

    Hi if I use the env as below in an ant script run in Eclipse 6 on my mac book pro it does not seem to understand the environment variable. If I run the same script but from a command line it works. Can you tell me how I can fix this please?

    
    <property environment="env"/>
    <echo message="${env.CLASSPATH}"/>
    
    #284855 Reply

    Loyal Water
    Member

    What error do you get ?

    #285179 Reply

    BUILD FAILED
    /Users/dave/workspace/smsWeb/build.xml:215: /Users/dave/workspace/${env.TOMCAT_HOME}/bin not found.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Ant env does not work on Mac

You must be logged in to post in the forum log in