Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[equinox-dev] RE: Please help: Self Provisioning of an RCP app withP2

Andrew,

 

After running the org.eclipse.equinox.p2.metadata.generator.EclipseGenerator app manually once, I could create the metadata repository using the product export wizard (This is weird J, I filed a bug already: 237254). I could also install the maildemo with the Equinox 3.4 RC3 agent (the 3.4 RC4 agent is broken for windows) and opening the “Software Updates…” UI!

 

Now I do some experiments with self updating and will post my findings later.

 

Kai

 

From: equinox-dev-bounces@xxxxxxxxxxx [mailto:equinox-dev-bounces@xxxxxxxxxxx] On Behalf Of Toedter, Kai (CT)
Sent: Montag, 16. Juni 2008 11:34
To: Equinox development mailing list
Subject: [equinox-dev] RE: Please help: Self Provisioning of an RCP app withP2

 

Andrew,

 

thanks, I started from scratch (Windows Vista, Java 6 Update 06, Eclipse 3.4 RC4, new empty workspace), created the maildemo, added the 3 plug-ins (see below) to both the launcher and the product configuration. I can launch and export the product, but when I check “Generate metatdata repository”, I get the following error while creating the repository:

 

Problems during export

  C:\java\eclipse-workspace\.metadata\.plugins\org.eclipse.pde.core\temp\org.eclipse.pde.container.feature\assemble.org.eclipse.pde.container.feature.win32.win32.x86.xml:95: The following error occurred while executing this line:

C:\java\eclipse-workspace\.metadata\.plugins\org.eclipse.pde.core\temp\org.eclipse.pde.container.feature\assemble.org.eclipse.pde.container.feature.win32.win32.x86.xml:123: An error occurred when calling generator.

  The following error occurred while executing this line:

C:\java\eclipse-workspace\.metadata\.plugins\org.eclipse.pde.core\temp\org.eclipse.pde.container.feature\assemble.org.eclipse.pde.container.feature.win32.win32.x86.xml:123: An error occurred when calling generator.

  C:\java\eclipse-workspace\.metadata\.plugins\org.eclipse.pde.core\temp\org.eclipse.pde.container.feature\assemble.org.eclipse.pde.container.feature.win32.win32.x86.xml:95: The following error occurred while executing this line:

C:\java\eclipse-workspace\.metadata\.plugins\org.eclipse.pde.core\temp\org.eclipse.pde.container.feature\assemble.org.eclipse.pde.container.feature.win32.win32.x86.xml:123: An error occurred when calling generator.

  The following error occurred while executing this line:

C:\java\eclipse-workspace\.metadata\.plugins\org.eclipse.pde.core\temp\org.eclipse.pde.container.feature\assemble.org.eclipse.pde.container.feature.win32.win32.x86.xml:123: An error occurred when calling generator.

 

Any hints?

 

Thanks

 

Kai

 

From: equinox-dev-bounces@xxxxxxxxxxx [mailto:equinox-dev-bounces@xxxxxxxxxxx] On Behalf Of Andrew Niefer
Sent: Freitag, 13. Juni 2008 17:12
To: Equinox development mailing list
Subject: Re: [equinox-dev] Please help: Self Provisioning of an RCP app with P2

 


Kai,
I'm working on steps and will post something later.
For now, I believe you need the following bundles and their dependencies to get the Help -> software updates menu:
        org.eclipse.equinox.p2.exemplarysetup
        org.eclipse.equinox.p2.ui.sdk
        org.eclipse.equinox.simpleconfigurator.manipulator

(There is likely a different set of bundles if you don't need the UI portion).

Then you need to generate metadata for the product and then install it to get  the product configured properly for p2.

-Andrew

"Toedter, Kai (CT)" <kai.toedter@xxxxxxxxxxx>
Sent by: equinox-dev-bounces@xxxxxxxxxxx

06/12/2008 12:07 PM

Please respond to
Equinox development mailing list <equinox-dev@xxxxxxxxxxx>

To

<equinox-dev@xxxxxxxxxxx>

cc

Subject

[equinox-dev] Please help: Self Provisioning of an RCP app with P2

 




Hi All,

I am trying to create a little RCP application that uses P2 for updating itself (self provisioning). I have read all available information in the Internet and still can't get it done. Is there anybody out there who has successfully created an RCP based application that can update itself using P2?

If so, please share the recipe.

Thanks a lot!

Kai Tödter

Siemens AG
Corporate Technology
Architecture
CT SE 2
Otto-Hahn-Ring 6
81739 Munich, Germany
Phone: +49 89 636-41064
Fax: +49 89 636-45450
mailto: kai.toedter@xxxxxxxxxxx
Internet: www.siemens.com/corporate-technology

Siemens Aktiengesellschaft: Chairman of the Supervisory Board: Gerhard Cromme; Managing Board: Peter Loescher, Chairman, President and Chief Executive Officer; Heinrich Hiesinger, Joe Kaeser, Rudi Lamprecht, Eduardo Montes, Juergen Radomski, Erich R. Reinhardt, Hermann Requardt, Uriel J. Sharef, Peter Y. Solmssen, Klaus Wucherer; Registered offices: Berlin and Munich; Commercial registries: Berlin Charlottenburg, HRB 12300, Munich, HRB 6684; WEEE-Reg.-No. DE 23691322

_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev


Back to the top