Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Equinox p2(Equinox P2 updates folder)
Equinox p2 [message #486671] Fri, 18 September 2009 15:03 Go to next message
No real name is currently offline No real nameFriend
Messages: 1
Registered: September 2009
Junior Member
Hello,
I have an Eclipse based product (i use sdk 3.4.1) that has the following content:

eclipse/
configuration/
dropins/
features/
jre/
p2/
plugins/
readme
folder1/
folder2/

In folder1 i have :
subfolder1
subfolder2
a1.pdf
a2.pdf
b1.dll
b2.dll

How can i make my Eclipse p2 see folder1 as having files and subfolder that should be updated?
If it is possible (as i read in p2 documentation), how will i be able to add updates on a site(until now i could only add features) for folder1 and its structure?
Sorry for my trivial questions, but I've just started to learn about the P2 updater.

Thank you,
Madalina
Re: Equinox p2 [message #487025 is a reply to message #486671] Mon, 21 September 2009 14:57 Go to previous message
Simon Kaegi is currently offline Simon KaegiFriend
Messages: 381
Registered: July 2009
Senior Member
Managing resources "outside" of the eclipse folder is challenging however we
have some experience with this as some of our product teams do this.
In 3.4.1 this would require a fair effort to support as you would in effect
have to write a custom touchpoint to manage your resources as the current
touchpoints and actions do not do this.

In 3.5 the situation is better as you can write "custom actions" to
provision things where you like. This is the approach are product teams are
taking and what I would suggest if you want to go down this path. The
approach I'd suggest looking at is a p2.inf file to add custom actions to
IUs. In your case your custom actions would be managing the contents of
folder1 and folder2 in some clever way.

Here's an earlier that gives an example of a very simple custom action that
might help as a starting point.
http://dev.eclipse.org/mhonarc/lists/p2-dev/msg01379.html

More info:
http://wiki.eclipse.org/Equinox/p2/Engine/Touchpoint_Instruc tions
http://wiki.eclipse.org/Equinox/p2/Customizing_Metadata

-Simon

<madalina_2311@yahoo.com> wrote in message
news:h907gd$ta8$1@build.eclipse.org...
> Hello,
> I have an Eclipse based product (i use sdk 3.4.1) that has the following
> content:
>
> eclipse/
> configuration/
> dropins/
> features/
> jre/
> p2/
> plugins/
> readme
> folder1/
> folder2/
>
> In folder1 i have :
> subfolder1
> subfolder2
> a1.pdf
> a2.pdf
> b1.dll
> b2.dll
>
> How can i make my Eclipse p2 see folder1 as having files and subfolder
> that should be updated?
> If it is possible (as i read in p2 documentation), how will i be able to
> add updates on a site(until now i could only add features) for folder1 and
> its structure?
> Sorry for my trivial questions, but I've just started to learn about the
> P2 updater.
>
> Thank you,
> Madalina
Previous Topic:Installing Eclipse SDK from existing installation
Next Topic:[p2] How to avoid hitting remote repositories?
Goto Forum:
  


Current Time: Fri Apr 19 04:12:36 GMT 2024

Powered by FUDForum. Page generated in 0.01826 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top