[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ivy-user
Subject:    AW: Jar Manifest Class-Path entry
From:       <Jan.Materne () rzf ! fin-nrw ! de>
Date:       2007-09-28 9:46:00
Message-ID: EF39D77A486C234B9D9933091CE6D21E020F8505 () z011034 ! bk ! fin ! local
[Download RAW message or body]

>> 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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic