ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Devan Iyer <>
Subject RE: Newbie question
Date Tue, 13 Nov 2001 21:37:52 GMT

<property environment="chooseAnyName" />

<property name="myProperty" value="${chooseAnyName.THE_DOS_ENV_NAME}" />

<property environment="myBuildEnv" />

<property name="my_build_dest" value="${chooseAnyName.BUILD_DEST}" />

where at the cmd line I had "set BUILD_DEST=c:\mybuilddest".

Hope this helps.

-----Original Message-----
From: Kumar L []
Sent: Tuesday, November 13, 2001 1:28 PM
Subject: Newbie question

I am new new to using ant. I am using the 1.4.1 version of it.
I want to know if there is a way of importing the system variables in to
the build.xml.

I have a plenty of environment variables which i want to use in my build
${PORT} = sol26xx2
${path_for_tools} = /root/tools/${PORT}

how should I access these variables from my build.xml?
I could not get much info on this from the manuals (might be i am
looking at the wrong place)

Can someone pls help me ?
Thanks in advance.

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message