So I'd like to avoid each module having to explicitly list the files
required to go into the meta-inf directory of their JAR, like this
example taken from LOGGING:
<jar destfile="${hy.jdk}/jre/lib/boot/logging.jar"
manifest="${hy.logging}/META-INF/MANIFEST.MF">
<fileset refid="classes" />
<manifest>
<attribute name="Implementation-Version" value="${svn.info}"/>
</manifest>
<metainf file="${hy.hdk}/NOTICE"/>
<metainf file="${hy.hdk}/LICENSE"/>
</jar>
and would prefer to set up a fileset in properties.xml that can be
referenced by all modules' build.xml, kinda like this
properties.xml:
...
<fileset id="hy.required.metainf-files" dir="${hy.hdk}">
<include name="NOTICE" />
<include name="LICENSE" />
</fileset>
then reference it like this:
<jar destfile="${hy.jdk}/jre/lib/boot/logging.jar"
manifest="${hy.logging}/META-INF/MANIFEST.MF">
<fileset refid="classes" />
<manifest>
<attribute name="Implementation-Version" value="${svn.info}"/>
</manifest>
<metainf refid="${hy.required.metainf-files}"/>
</jar>
The problem is that it appears the fileset definition is not carried
into the modules' build.xml by virtue of importing the properties.xml.
Any clues?
Regards,
Tim
--
Tim Ellison ([EMAIL PROTECTED])
---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]