Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » a feature project including sources
a feature project including sources [message #753868] Sat, 29 October 2011 17:31 Go to next message
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1812
Registered: July 2009
Location: Firenze, Italy
Senior Member
Hi

when I create a feature project, which I use in an update site project,
I'd like also to create the corresponding source plugins (i.e., besides
creating 'myplugin' feature, I'd like also to have 'myplugin SDK'
feature). Similarly to export a plugin together with its sources...

However, I found no direct way of doing this...

any clue please?
thanks in advance
Lorenzo

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
ICQ# lbetto, 16080134 (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
http://www.myspace.com/supertrouperabba
BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net


Re: a feature project including sources [message #754097 is a reply to message #753868] Mon, 31 October 2011 18:32 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Are you using PDE to build your plugins? I believe you have to create a source feature that matches your regular feature, and build both (we use a master feature that describes all features we want built).

See http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse.pde.doc.user/tasks/pde_source_generation.htm and http://wiki.eclipse.org/PDEBuild/Individual_Source_Bundles

PW


Re: a feature project including sources [message #755712 is a reply to message #754097] Wed, 09 November 2011 11:20 Go to previous messageGo to next message
Stewart Francis is currently offline Stewart FrancisFriend
Messages: 9
Registered: July 2009
Junior Member
Hi, we're using PDE Build to create our plugins and features headlessly and I'm trying to achieve a similar thing, specifically:

1 update site with binary features and plugins for public consumption
1 update site with corresponding source features and plugins for internal consumption

I've had a look at the documentation you referenced and had some success. However, I can only get PDE Build to generate a source feature (and plugins) for my feature when I specifically include the source feature in my origin feature, as referenced here: http://www.wickedshell.net/blog/?p=101

This is obviously not ideal, as I wouldn't be able to install the origin feature independently to the source. I had a look at the JDT feature in CVS and as far as I can tell it doesn't seem to work this way - I couldn't see any generate.feature directive in the build.properties (though it's entirely possible that I was looking in the wrong place Wink )

Could someone point me at an example of how some eclipse component builds a distinct source feature? Or maybe tell me how I can get PDE Build to generate a source feature without having to specifically include it in my origin feature (and ideally into a seperate build repository).

Thanks in advance,

Stew
Re: a feature project including sources [message #756850 is a reply to message #754097] Tue, 15 November 2011 10:55 Go to previous message
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1812
Registered: July 2009
Location: Firenze, Italy
Senior Member
On 10/31/2011 07:32 PM, Paul Webster wrote:
> Are you using PDE to build your plugins? I believe you have to create a
> source feature that matches your regular feature, and build both (we use
> a master feature that describes all features we want built).
>
> See
> http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse.pde.doc.user/tasks/pde_source_generation.htm
> and http://wiki.eclipse.org/PDEBuild/Individual_Source_Bundles
>

I'm building using the "Build" button functionality of the update site
site.xml; this uses internally PDE, right?

cheers
Lorenzo


--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
ICQ# lbetto, 16080134 (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
http://www.myspace.com/supertrouperabba
BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net


Previous Topic:create new file template
Next Topic:ModelProvider.validateChange limitations
Goto Forum:
  


Current Time: Tue Apr 16 06:59:02 GMT 2024

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

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

Back to the top