ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <hol...@yahoo.com>
Subject Re: 1.5 B3 bug? <war with "classes" directive brings in non .class files
Date Wed, 03 Jul 2002 00:12:46 GMT
According to the doc:
  The nested classes element specifies a FileSet. All files included
  in this fileset will end up in the WEB-INF/classes directory of the
  war file.

Which basically says that <classes> is just like any other <fileset>, as
far as specifying files to include/exclude in it. So if you only want
.class files, you'll need to use either the 'includes' attribute or a
nested <include> element -- eg:
  <classes dir=...>
    <include name="**/*.class"/>
    ...
  </classes>

Diane

=====
(holtdl@yahoo.com)



__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com

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


Mime
View raw message