The problem with reading it's MANIFEST.MF will be how to determine
which is your own MANIFEST.MF so you can lead it and read it. You can
do that by loading via clasloader all META-INF/MANIFEST.MF and then
try to figure out from the url which is your own ones. But then is
less work to do by doing the hack from pax runner as you do an exact
macth. Of course if someone else doesn messes up and adds the same
file in your class path.

On Wed, Jul 23, 2008 at 8:42 PM, Hendy Irawan <[EMAIL PROTECTED]> wrote:
> On Thu, Jul 24, 2008 at 1:38 AM, Toni Menzel <[EMAIL PROTECTED]> wrote:
>>
>> Yes, just talked to alin. Without a version it goes out the web and
>> tries to find the version.
>> This is bad for two things: time consuming (your problem) and probably
>> a real serious error when it finds a newer version that the one you
>> are using (cause both have to match, at least the zombie part).
>>
>> So the solution i described in a previous post will fix both.
>>
>> cheers,
>> have to go back to my just arrived 3G iphone for now.. ;-)
>
> Maybe read its own META-INF/MANIFEST.MF, parse it and get its version, and
> use that version ...? oops, not usable for snapshot :P
>
>>
>>
>> On 23.07.2008, at 20:31, Hendy Irawan wrote:
>>
>> > I have the artifacts v0.1.2 on local Maven but they're not used by
>> > Pax Drone. Perhaps that's because of @update ? Or perhaps it's
>> > because Pax Drone doesn't specify the version ?
>>
>>
>> _______________________________________________
>> general mailing list
>> [email protected]
>> http://lists.ops4j.org/mailman/listinfo/general
>
>
>
> --
> Best regards,
> Hendy Irawan
> _______________________________________________
> general mailing list
> [email protected]
> http://lists.ops4j.org/mailman/listinfo/general
>
>



-- 
Alin Dreghiciu
http://www.ops4j.org - New Energy for OSS Communities - Open
Participation Software.
http://www.qi4j.org - New Energy for Java - Domain Driven Development.
http://malaysia.jayway.net - New Energy for Projects - Great People
working on Great Projects at Great Places

_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to