ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 1653] New - prefix attribute in zipfileset does not preserve case
Date Tue, 08 May 2001 12:58:56 GMT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1653

*** shadow/1653	Tue May  8 05:58:56 2001
--- shadow/1653.tmp.29859	Tue May  8 05:58:56 2001
***************
*** 0 ****
--- 1,49 ----
+ +============================================================================+
+ | prefix attribute in zipfileset does not preserve case                      |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 1653                        Product: Ant                     |
+ |       Status: NEW                         Version: 1.3                     |
+ |   Resolution:                            Platform: All                     |
+ |     Severity: Normal                   OS/Version: Windows NT/2K           |
+ |     Priority:                           Component: Other                   |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: ant-dev@jakarta.apache.org                                   |
+ |  Reported By: simon.spruzen@rbos.com                                       |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ Given this task definition:
+ 
+ <jar jarfile="${stage.dir}/${jar.file}">
+     <fileset dir="${stage.dir}"
+              includes="**/*.class"
+              excludes="**/*Test*.class,${stage.dir}/${jar.file}"/>
+     <zipfileset dir="${stage.dir}"
+              includes="**/*.xml"
+              prefix="META-INF"/>
+ </jar>
+ 
+ The XML files end up in a 'meta-inf' directory in the jar file, not 'META-INF'. 
+ This causes Weblogic 6.0 grief, as it's looking for the upper case 'META-INF' 
+ directory. (Note: I've attempted to use the ejbjar task instead, but this 
+ caused other problems, documented elsewhere)
+ 
+ I can't put the files into a META-INF sub-directory before jar-ing up either; 
+ NTFS case handling leads to the same problem, i.e.:
+ 
+ <mkdir dir="${stage.dir}/META-INF"
+ <jar jarfile="${stage.dir}/${jar.file}">
+     <fileset dir="${stage.dir}"
+              includes="**/*.class"
+              excludes="**/*Test*.class,${stage.dir}/${jar.file}"/>
+     <zipfileset dir="${stage.dir}"
+              includes="**/META-INF/*.xml">
+ </jar>
+ 
+ also doesn't work for me.
+ 
+ ant -v gives:
+ 
+ "Ant version 1.3 compiled on March 2 2001"

Mime
View raw message