Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EPP » creating custom package locally with p2
creating custom package locally with p2 [message #483555] Wed, 02 September 2009 05:44 Go to next message
Mike Frysinger is currently offline Mike Frysinger
Messages: 6
Registered: July 2009
Junior Member
i'm trying to create a custom package that is basically the eclipse c/c++ package with a few additional plugins

while there are posts in this forum about doing this, it's been about the older hackfest method that people had to use with 3.4 and older. i'm interested in the new p2 method.

there is this documentation:
http://wiki.eclipse.org/EPP/Galileo_Packages#Local_Package_B uild

while that works fine to locally recreate one of the official epp packages, it isnt exactly bursting with details for creating your own derivative package. so i thought i'd start off simple and try to recreate the official CDT package by using the local file:// method rather than the public URLs.

i started with the official RCP eclipse package. then i imported the org.eclipse.epp.package.cpp and related .feature projects from cvs (using the URL in the aforementioned wiki page). attempting to export these resulted in missing CDT errors, so i installed the CDT via the update manager. now trying to use the "Eclipse Product export wizard" fails with this error:

Cannot complete the install because one or more required items could not be found.
Missing requirement: Eclipse IDE for C/C++ Developers 1.2.1.200909020128 (epp.package.cpp 1.2.1.200909020128) requires 'org.eclipse.platform.ide 0.0.0' but it could not be found
Software being installed: Eclipse IDE for C/C++ Developers 1.2.1.200909020130 (epp.package.cpp 1.2.1.200909020130)


googling for this error only results in hits about people unable to launch the initial eclipse. no real hints as to where one can find this plugin.
Re: creating custom package locally with p2 [message #485551 is a reply to message #483555] Sun, 13 September 2009 10:10 Go to previous messageGo to next message
Derek is currently offline Derek
Messages: 60
Registered: July 2009
Member
Mike,

I am also trying to do what you are doing. I found some helpful entries
on Andrew Neifers blog:
http://aniefer.blogspot.com/2009/07/composing-and-updating-c ustom-eclipse.html
and
http://aniefer.blogspot.com/2009/07/adt-part-2-more-like-epp .html

However, I am still unable to do a single build that does both the 'cdt'
build and *my* plugins (as opposed to Andrews) - I haven't worked out
why, just yet...

On 02/09/2009 06:44, Mike Frysinger wrote:
> i'm trying to create a custom package that is basically the eclipse
> c/c++ package with a few additional plugins
>
> while there are posts in this forum about doing this, it's been about
> the older hackfest method that people had to use with 3.4 and older. i'm
> interested in the new p2 method.
>
> there is this documentation:
> http://wiki.eclipse.org/EPP/Galileo_Packages#Local_Package_B uild
>
> while that works fine to locally recreate one of the official epp
> packages, it isnt exactly bursting with details for creating your own
> derivative package. so i thought i'd start off simple and try to
> recreate the official CDT package by using the local file:// method
> rather than the public URLs.
>
> i started with the official RCP eclipse package. then i imported the
> org.eclipse.epp.package.cpp and related .feature projects from cvs
> (using the URL in the aforementioned wiki page). attempting to export
> these resulted in missing CDT errors, so i installed the CDT via the
> update manager. now trying to use the "Eclipse Product export wizard"
> fails with this error:
>
> Cannot complete the install because one or more required items could not
> be found.
> Missing requirement: Eclipse IDE for C/C++ Developers 1.2.1.200909020128
> (epp.package.cpp 1.2.1.200909020128) requires 'org.eclipse.platform.ide
> 0.0.0' but it could not be found
> Software being installed: Eclipse IDE for C/C++ Developers
> 1.2.1.200909020130 (epp.package.cpp 1.2.1.200909020130)
>
> googling for this error only results in hits about people unable to
> launch the initial eclipse. no real hints as to where one can find this
> plugin.


--
Derek
Re: creating custom package locally with p2 [message #485919 is a reply to message #485551] Tue, 15 September 2009 14:38 Go to previous message
Mike Frysinger is currently offline Mike Frysinger
Messages: 6
Registered: July 2009
Junior Member
thanks for those links. those lead to some more interesting wiki pages:
http://wiki.eclipse.org/Equinox_p2_Getting_Started

i guess for an outsider, the relationship between EPP, Equinox, and p2 really isnt clear. i guess i should look more into the Equinox project than the EPP project.

at any rate, for now, ive cheated and dumped my plugins into the dropins/ folder. at least i now have a working setup while i try and figure out how to do this right. assuming it can be done at all -- creating win32 packages from the command line on a non-win32 host.
Re: creating custom package locally with p2 [message #579777 is a reply to message #485551] Tue, 15 September 2009 14:38 Go to previous message
Mike Frysinger is currently offline Mike Frysinger
Messages: 6
Registered: July 2009
Junior Member
thanks for those links. those lead to some more interesting wiki pages:
http://wiki.eclipse.org/Equinox_p2_Getting_Started

i guess for an outsider, the relationship between EPP, Equinox, and p2 really isnt clear. i guess i should look more into the Equinox project than the EPP project.

at any rate, for now, ive cheated and dumped my plugins into the dropins/ folder. at least i now have a working setup while i try and figure out how to do this right. assuming it can be done at all -- creating win32 packages from the command line on a non-win32 host.
Previous Topic:Galileo SR1 packages
Next Topic:A product form multiple platforms
Goto Forum:
  


Current Time: Fri Oct 24 19:08:43 GMT 2014

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

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