----- Original Message ----- From: "Erik Hatcher" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, September 30, 2001 8:40 PM Subject: JavaReport Ant Article
> I just wanted to pass along an article I just read in JavaReport, titled > "Java Primer - Ant build process mini how-to" > > > http://www.javareport.com/html/from_pages/article.asp?id=4856&mon=10&yr=2001 > > There was one point that caught my attention that I thought was inaccurate, > or at least not entirely accurate. The first detraction about Ant listed > is: "It lacks support for incorporating OS-specific environment variables in > the build, as this construct is not portable and not supported directly by > Java." > > <property environment="env"/> incorporates environment variables as Ant > properties, prefixed by "env.". But environment variable names are of > course OS-specific, and there are tricks that can be done to map different > names into a single property name (not pretty, but it works). > > Erik > > > > > >
