ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 3050] New: - excludesfile not excluding
Date Wed, 08 Aug 2001 19:27:27 GMT
PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT
ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW
AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE
DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL
BE LOST SOMEWHERE.

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

*** shadow/3050	Wed Aug  8 12:27:27 2001
--- shadow/3050.tmp.8230	Wed Aug  8 12:27:27 2001
***************
*** 0 ****
--- 1,47 ----
+ +============================================================================+
+ | excludesfile not excluding                                                 |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 3050                        Product: Ant                     |
+ |       Status: NEW                         Version: Nightly build           |
+ |   Resolution:                            Platform: PC                      |
+ |     Severity: Normal                   OS/Version: Linux                   |
+ |     Priority: Other                     Component: Core tasks              |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: ant-dev@jakarta.apache.org                                   |
+ |  Reported By: ben@opennms.org                                              |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ I'm not sure where the issue is, but here's a general idea of what I'm doing:
+ 
+ ---
+  <patternset id="not.eui"        excludesfile="${root.source}/patterns/eui"/>
+ ---
+ 
+ ...where patterns/eui contains just the line:
+ org/opennms/bb/eui/**/*.class
+ 
+ Later I have a task that generates our jar files from my list of patterns, and 
+ then attempts to put everything that is *not* in a pattern into (essentially) 
+ a "leftovers" jar, like so:
+ 
+ ---(snip!)---
+  <target name="jar">
+   <jar jarfile="${root.build}/jars/opennms_jcommon.jar">
+    <fileset dir="${root.build}/opennms/classes">
+     <patternset refid="not.bootstrap"/>
+     ...many more patternsets...
+    </fileset>
+   </jar>
+  </target>
+ ---(snip!)---
+ 
+ The opennms_jcommon.jar, however, ends up containing every single classfile, 
+ whether it's in the exclude patternsets or not.
+ 
+ Is there something I'm doing wrong here, or is excludesfile not properly 
+ creating an "inverse" pattern?
+ 
+ Thanks.
\ No newline at end of file

Mime
View raw message