ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Mark Bram <>
Subject exporting a variable to a script
Date Mon, 13 Sep 2004 06:09:28 GMT
Hi All!

In a bash script, I might do the following:

export myVar=someValue
# .. run bash scripts which can use myVar

AFAIK there is no other way to set environment variables for bash scripts. 
If I am going to run a bash script through an Ant build file, how can I 
export the variable to the bash script?


Robert Mark Bram
B.Comp.(Systems Development/Business Systems)
Doctor of Philosophy Student

School of Network Computing
Faculty of Information Technology
Monash University
Peninsula Campus
McMahons Rd
Frankston, VIC 3199

Phone:  61 3 9904 4394
Facsimile:  61 3 9904 4124

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

View raw message