ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 6282] - jar task includes unnecessary files in the created jar
Date Wed, 06 Feb 2002 18:40:44 GMT
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

umagesh@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From umagesh@apache.org  2002-02-06 18:40 -------
Change excludes to use **/* and it should work as you expected it to.

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

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


Mime
View raw message