java - Why does Ant recognize some env vars but not others -


i have 2 env vars defined:

myuser@mymachine:~$ echo $ant_home /home/myuser/apache/ant/1.8.4/apache-ant-1.8.4 myuser@mymachine:~$ echo $ant_ivy_home /home/myuser/apache/ivy/apache-ivy-2.3.0-rc2 

i have following ant build:

<property environment="env"/>  <target name="testant">     <echo message="ant home: ${env.ant_home}"/>     <echo message="ant ivy home: ${env.ant_ivy_home}"/> </target> 

when run testant following console output:

buildfile: /home/myuser/eclipse/workspace/myapp/build.xml testant:     [echo] ant home: /home/myuser/apache/ant/1.8.4/apache-ant-1.8.4     [echo] ant ivy home: ${env.ant_ivy_home} build successful total time: 316 milliseconds 

why ant recognize ant_home not ant_ivy_home? in advance!

did merely set ant_ivy_home , not export it?


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

CSS3 Transition to highlight new elements created in JQuery -