You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Dieter Cailliau <Di...@eXplio.com> on 2002/11/05 14:04:25 UTC
adding jboss.xml in a jar file
i'm trying to add an xml file into a jar file. To do so, i copy the jar file
and i <jar> that copy, and include the file (metainf jboss.xml). This used
to work fine, but since ant 1.5.1 it doesn't work anymore. What's wrong with
this idea?
<copy todir="${dep}/${database}">
<fileset dir="${pub}/">
<include name="server-registration-ejb.jar"/>
</fileset>
</copy>
<jar jarfile="${dep}/${database}/server-registration-ejb.jar"
update="yes">
<metainf
dir="${xml_root}/${target}/ejb/registration/${database}/"
includes="jboss.xml"/>
</jar>