In the source ;-)

<property> [1] --> Property.java [2] execute() --> 
Property.loadEnvironment(String)
--> Execute.getProcEnvironment() [3] --> Execute.getProcEnvCommand()

==> os/2       cmd /c set
    windows
    - win9x    command.com /c set
    - other    cmd /c set
    z/os       /bin/env   OR   /usr/bin/env   OR   env   (depending on read 
rights)
    unix       /bin/env   OR   /usr/bin/env   OR   env   (depending on read 
rights)
    netware    env
    os/400     env
    openvms    show logical


I'll put a not into the manual [4].


Jan


[1] http://ant.apache.org/manual/CoreTasks/property.html 
[2] 
http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Property.java?view=markup
[3] 
http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Execute.java?revision=485295&view=markup
[4] 
http://svn.apache.org/viewvc/ant/core/trunk/docs/manual/CoreTasks/property.html?view=co



>-----Ursprüngliche Nachricht-----
>Von: Adeel Omer [mailto:[EMAIL PROTECTED] 
>Gesendet: Dienstag, 19. Dezember 2006 20:29
>An: [email protected]
>Betreff: Ant Property Task - Environment Variables
>
>Hi,
>  The Property task documentation (Ant 1.6.5) states that 
>fetching environment variables using the <property 
>environment="xyz">  and subsequently accessing environment 
>variables using xyz.Env_Var is supported on "select" operating systems.
>  Can anyone direct me to a listing of these "select" 
>operating systems?
>Thanks a lot...
>

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

Reply via email to