ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: Jar Manifest Class-Path entry
Date Fri, 28 Sep 2007 09:46:00 GMT
>> Could someone tell me how to build a jar manifest entry from an ivy
>> configuration relative to a lib path?
>>
>> Currently , I am doing something ugly like retrieve, create a path
>> variable , use a pathconvert ...
>>
>> Is there a better way avoiding the retrieve op ?
>
>
>Are you talking about the ClassPath entry of the JAR manifest? This
entry
>can only use paths to external files, so I see no better way than what
you
>do... You could also reference jars in the ivy cache directly with
absolute
>paths, but it would be very dependent of the target environment.


Maybe you could use something like

<manifestclasspath property="mf.cp" jarfile="....">
    <classpath refid="ivy.defined.classpath"/>
</manifestclasspath>



Jan

Mime
View raw message