Gius,
I forgot to make the filest in zip task settable - shold be fixed now.

Ian

Ian,

I've a target like the following that simply initializes a file set:

<target name="dist">
... <fileset id="archive.set" basedir="${build.dir}">
...
<includes name="../AUTHORS"/>
<includes name="../COPYRIGHT"/>
<includes name="../LICENSE"/>
<includes name="${package.name}/**"/>
<excludes name="${package.name}/**/*.xml"/>
<excludes name="${package.name}/**/*.resources"/>
</fileset>
</target>


... and then another target that uses it:

<target name="package" depends="dist">
 ...
 <zip zipfile="${archive.name}">
   <fileset refid="archive.set"/>
 </zip>
</target>

Well, the resulting zip archive is empty. Am I missing
something?

Gius_.







-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to