harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Ellison <t.p.elli...@gmail.com>
Subject Re: [build] ant help needed
Date Fri, 20 Oct 2006 17:01:44 GMT
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 <t.p.ellison@gmail.com> 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 (t.p.ellison@gmail.com)
>>
>>
>>
> ---------------------------------------------------------------------
>> Terms of use :
>> http://incubator.apache.org/harmony/mailing.html
>> To unsubscribe, e-mail:
>> harmony-dev-unsubscribe@incubator.apache.org
>> For additional commands, e-mail:
>> harmony-dev-help@incubator.apache.org
>>
>>
> 
> 
> __________________________________________________
> 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: harmony-dev-unsubscribe@incubator.apache.org
> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> 
> 

-- 

Tim Ellison (t.p.ellison@gmail.com)


---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Mime
View raw message