ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: Is it possible to configure the include and exclude of tar task outside of build xml file?
Date Tue, 16 Aug 2005 16:43:26 GMT
build.properties:
  tar.dir=.
  tar.includes=**/*.txt
  tar.excludes=**/*.bak,**/*~*

build.xml
  <property file="build.properties"/>
  <tar ... >
      <fileset dir="${tar.dir}" includes="${tar.includes}" excludes="${tar.excludes}"/>


What´s wrong with using properties?


Jan

 

>-----Ursprüngliche Nachricht-----
>Von: Leon Pu [mailto:leon_xf_pu@yahoo.com.cn] 
>Gesendet: Dienstag, 16. August 2005 18:30
>An: Ant Usenet
>Betreff: Is it possible to configure the include and exclude 
>of tar task outside of build xml file?
>
>Hi all,
>
>currently we cannot use ant-contrib's <for> task inside the 
>tarfileset, so I have to hard code the includes and excludes 
>in the build xml file.
>But it's better to write these setting in the properties file.
>
>Is there any other way or tool can be used to configure the 
>include and exclude of tar task outside of build xml file?
>
>
>Best regards,
>Leon
>
>
>		
>__________________________________
>Yahoo! Mail for Mobile
>Take Yahoo! Mail with you! Check email on your mobile phone. 
>http://mobile.yahoo.com/learn/mail 
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For 
>additional commands, e-mail: user-help@ant.apache.org
>
>

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


Mime
View raw message