ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Knuplesch, Jürgen <Juergen.Knuple...@icongmbh.de>
Subject Fileset Evaluation
Date Thu, 11 Oct 2007 12:06:04 GMT
If I define a fileset via a patternset and a id like that:

    <patternset id="dopecopy.configpattern.kunde">
      <exclude name="javahelp/**"/>
      <exclude name="imagesText/**"/>
      <exclude name="dcpcall.xml"/>
      <exclude name="mffafp.pro"/>
    </patternset>
    
    <fileset id="dopecopy.configfiles.kunde" dir="${dope.configdir.kunde}">
      <patternset refid="dopecopy.configpattern.kunde"></patternset>
    </fileset>

And now I add another file to the fileset-dir: ${dope.configdir.kunde}
E.g. like that:

      <jar destfile="${dope.configdir.kunde}/editorHelp.jar">
          <fileset dir="${dope.configdir.kunde}/javahelp/editor" />
      </jar>


Will editorHelp.jar be copied or not?
    
    <copy todir="${dope.target.dir}/config">
      <fileset refid="dopecopy.configfiles.kunde" />
    </copy>

Is editorHelp.jar part of the fileset, even if it did not exist, when I created the fileset?
Why?
In my case, I think it was part of the fileset and I don't understand why!

In other words:
When will filesets be evaluated? Waht are the rules?



-- 
Jürgen Knuplesch                    www.icongmbh.de
icon Systemhaus GmbH                Tel. +49 711 806098-275
Sophienstraße 40                    
D-70178 Stuttgart                   Fax. +49 711 806098-299

Geschäftsführer: Uwe Seltmann
HRB Stuttgart 17655
USt-IdNr.: DE 811944121 

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


Mime
View raw message