ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Software AG <...@stark-verlag.de>
Subject AW: Fileset tag
Date Mon, 07 Oct 2002 09:42:29 GMT
Hi, Cyriaque.

Just now I created my own ant task, and it uses nested fileset elements.
It is very easy with the Netbeans IDE, since there you get a good template
to start with.

Attached you find the source, this is the ant script to use it (you'll have
to modify it):

    <target name="test" depends="init">
     <taskdef name="IFMOD" classname="chaudhuri.antext.IfModified"
classpath="C:\daten\sag\work\chaudhuri\hcl"/>
     
     <IFMOD comparedto="${testwebapps}/wbt/webeq.jar" runtask="jar-webeq">
        <fileset dir="${WEBEQ_SOURCE}">
          <include name="**/*.*"/>
          <exclude name="**/.nbattrs"/>
          <exclude name="**/*.cmd"/>
          <exclude name="**/*.pl"/>
          <exclude name="**/*.xml"/>
          <exclude name="**/*.java"/>
          <exclude name="docs/**/*.*"/>
        </fileset>
     </IFMOD>
    </target>

> -----Ursprüngliche Nachricht-----
> Von: Cyriaque Dupoirieux [mailto:cyriaque.dupoirieux@pcotech.fr]
> Gesendet: Montag, 7. Oktober 2002 11:16
> An: Liste Ant
> Betreff: Fileset tag
> 
> 
> Hello,
> 
>     Do you have an example of task source that enables the use of the 
> nested tag <fileset> ?
>    
> Thanks,
> Cyriaque,
> 
> -- 
> Cyriaque Dupoirieux <mailto:Cyriaque.Dupoirieux@pcotech.fr>
> PCO Technologies
> Burolines - 2 ter rue Marcel Doret
> 31700 Blagnac
> Tél : 05.34.60.44.13 - Fax : 05.34.60.44.10
> 
> 


Mime
View raw message