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 17675] New: - metainf files ignored by jar task
Date Wed, 05 Mar 2003 16:03:36 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=17675>.
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=17675

metainf files ignored by jar task

           Summary: metainf files ignored by jar task
           Product: Ant
           Version: 1.5.2
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: Karl.O'Brien@ie.consulting.fujitsu.com


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>

Mime
View raw message