ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Com Pegasus-CC-Hotline" <pegasus-cc-hotline....@siemens.com>
Subject AW: How to conditionally add something to a path ?
Date Mon, 19 Dec 2005 16:08:58 GMT
Hi Jan,

> Have you tried <pathconvert setonempty="false"/> ?

Oh - very good again. So I am able to do the whole
setting of the property in one element. Very good.

	<pathconvert property="jacorb.present" setonempty="false"
targetos="unix">
	   <path>
		<fileset dir="${jarpath}">
		   <include name="**/jacorb*.jar" />
		   <size value="4" when="more"/>
		</fileset>
	   </path>
	</pathconvert>	

Thank you very much again! :-)

cu,
 Thomas

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message