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>