Put it inside a target.

-----Original Message-----
From: Perrier, Nathan [mailto:[email protected]] 
Sent: Wednesday, September 15, 2010 12:13 PM
To: [email protected]
Subject: Conditional import?

Hi All,

 

Is there a way to do a conditionally import in ant?  

 

For example:

 

<import file="file1.xml" if="some_property_is_set" />

 

Or if not using <import>, can this be done with XML Entities?

 

 

Thanks much,

-Nathan


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to