ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dieter Cailliau <Dieter.Caill...@eXplio.com>
Subject adding jboss.xml in a jar file
Date Tue, 05 Nov 2002 13:04:25 GMT
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>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message