ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eloise Friedman" <Eloise.Fried...@orcainteractive.com>
Subject excludes file in war task
Date Tue, 13 May 2003 08:59:32 GMT
I am writimg a war task that must contain only several of the java classes composing the parser
package.
I added a file called files containing a list of classes to be excluded (file1.class,file2.class
etc'), but they all appear in the war file anyway.
what have I done wrong?

    <war
       destfile="${Lib}WAR.war"
       webxml="${Web}/web.xml"
       update="true">
       <classes dir="${Bin}">
           <include name="parser/*"/>
           <exclude name="parser/files"/>
           <excludesfile name="${Bin}/parser/files"/>
       </classes>
    </war>

Using a nested <fileset> results in an unsupported element error.


Eloise 09-7699457

**************************************************************************************************
The contents of this email and any attachments are confidential.
It is intended for the named recipient(s) only.
If you have received this email in error please notify the system manager or  the 
sender immediately and do not disclose the contents to any one or make copies.

** eSafe scanned this email for viruses, vandals and malicious content **
**************************************************************************************************


Mime
View raw message