[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] p2.inf was not picked up during product export

Hi Samuel,

You have "source:zip/org.zip" which is just a relative path, the unzip action doesn't automatically make that relative to anything so it just ends up being relative to the current working directory.

You should put "unzip(source:${installFolder}/zip/org.zip, target:${installFolder}/update_unzip);"
This worked for me when I tried it.

-Andrew
Inactive hide details for Samuel Wu---05/08/2010 09:19:03 AM---Hello everyone, I created a product which contains a feature. ThSamuel Wu---05/08/2010 09:19:03 AM---Hello everyone, I created a product which contains a feature. There is p2.inf in the


From:

Samuel Wu/Toronto/IBM@IBMCA

To:

p2-dev@xxxxxxxxxxx

Date:

05/08/2010 09:19 AM

Subject:

[p2-dev] p2.inf was not picked up during product export

Sent by:

p2-dev-bounces@xxxxxxxxxxx




Hello everyone,
I created a product which contains a feature. There is p2.inf in the feature which contains the following content.
instructions.configure.import=org.eclipse.equinox.p2.touchpoint.natives.unzip
instructions.configure=unzip(source:zip/org.zip, target:${installFolder}/update_unzip);

The file zip/org.zip is defined by the rootfile attribute in build.properties

root.folder.zip=zip


When product was exported, I could find directory zip under eclipse directory but there was not a update_unzip created. What should I do to make the touch point advice in the file p2.inf be picked up?

Best Regards

Samuel Wu
_______________________________________________
p2-dev mailing list
p2-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/p2-dev


GIF image

GIF image