DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6282>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6282

jar task includes unnecessary files in the created jar





------- Additional Comments From [EMAIL PROTECTED]  2002-02-07 06:48 -------
I think what you really want it to drop both the basedir and the excludes
attributes:

<jar jarfile="app.jar">
  <fileset dir="${CLASSDIR}">
    <patternset>
      <include name="com/mypackage/Test1.class"/>
      <include name="com/mypackage/Test2.class"/>
    </patternset>
  </fileset>
</jar>

basedir adds another fileset implicitly - and this one is the one that is
adding all the files you don't want to see.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to