--- [EMAIL PROTECTED] wrote: > Am I just looking in the wrong place, or is there no > way to read or capture the value of an operating > system environment variable from within an ant build > file. For example. I would like to use the fop task, > but in order to do so I must create a property named > "fop.dir" and enter the path to my fop .jar files. > Since I already have an FOP_HOME environment > variable, I'd like to extract the value of that from > the OS and place it "value" attribute of the > aforementioned property element.
Look at the property task: http://ant.apache.org/manual/CoreTasks/property.html Specifically, the environment attribute. HTH, Matt > > -- > Charles Knell > [EMAIL PROTECTED] - email > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]