Hi, I installed 1.5.2 today, but have found that when making jars and ears, the tasks are ignoring the files mentioned in the <metainf> nested element are ignored and don't make it into my jar/ear. I switched back to 1.5.1 and it works fine. Regards, Karl O'Brien. Task segment : <jar jarfile="${build.deploy.dir}/entitybeans.jar" compress="false" > <metainf dir="${src.server.dir}/META-INF" casesensitive="yes"> <include name="ejb-jar.xml"/> <include name="orion-ejb-jar.xml"/> </metainf> <fileset dir="${build.classes.server.dir}" > <include name="ccf/entitybeans/**" /> <exclude name="**/*Test.class" /> <exclude name="**/*TestSuite.class" /> </fileset> </jar>
I have tried to reproduce your problem, and I found the following : - the metainf files are in the ${build.deploy.dir}/entitybeans.jar - but you do not see them with winzip, you only see them with "jar tvf entitybeans.jar" Could you retry and confirm that this is the case ? There is another similar bug which someone has entered recently. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17648 can you confirm that it is the same basic problem, so that this bug be marked as a duplicate of 17648
the line 540 of Zip.java should be fixed : - fileMode = zfs.getDirMode(); + fileMode = zfs.getFileMode();
Yes, I can see the files using "jar tvf entitybeans.jar" but not with WinZip. I never saw that one before. As you say, it seems to be similar to bug #17648 Thanks for your help, K. *** This bug has been marked as a duplicate of 17648 ***