ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: environment variable property not available in target tag
Date Mon, 25 Feb 2002 10:17:46 GMT
On Mon, 25 Feb 2002, Mark Robinson <>

> could anyone explain why, given the build.xml below, i get this:

> all:
> Skipped because property '${env.MSDEVDIR}' not set.

> 	<target name="all" if="${env.MSDEVDIR}">

because target's if attribute takes the name of a property, while
${foo} is the value of the property with name foo.

Make above

<target name="all" if="env.MSDEVDIR">

and it should work.


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

View raw message