That's because you tried to use property expansion
notation--"${hy.required.metainf-files}"--for a
reference. Try
<metainf refid="hy.required.metainf-files" />
;)
-Matt
--- Tim Ellison <[EMAIL PROTECTED]> wrote:
> Matt Benson wrote:
> > Tim: This should not be the case. What version of
> Ant
> > is this?
>
> I'm using Ant 1.6.5
>
> When I try that style I get:
>
> BUILD FAILED
> C:\Harmony\modules\logging\build.xml:76: Reference
> ${hy.required.metainf-files} not found.
>
> Regards,
> Tim
>
>
> > --- Tim Ellison <[EMAIL PROTECTED]> wrote:
> >
> >> 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]
> >>
> >>
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam? Yahoo! Mail has the best spam
> protection around
> > http://mail.yahoo.com
> >
> >
>
---------------------------------------------------------------------
> > Terms of use :
> http://incubator.apache.org/harmony/mailing.html
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail:
> [EMAIL PROTECTED]
> >
> >
>
> --
>
> 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]
>
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]