Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » P2 » build updatesite outside of eclipse IDE(use command line to build updatesite)
build updatesite outside of eclipse IDE [message #546907] Wed, 14 July 2010 14:59 Go to next message
Hao Missing name is currently offline Hao Missing name
Messages: 115
Registered: July 2009
Senior Member
Eclipse IDE UI provides the function to create a update site project and click the build or build all button to build the update site within the IDE. I have a question: could we call "Update Site Builder" outside of eclipse IDE UI to build the update site suppose we have the update site project is created in a eclipse workspace and the site.xml has been defined and populated within the update site project. Then, we just want to run a batch command line task against the update site of the eclipse workspace to build the update site.

Can we achive that and how?

thanks!

hao
Re: build updatesite outside of eclipse IDE [message #549385 is a reply to message #546907] Mon, 26 July 2010 14:50 Go to previous messageGo to next message
Hao Missing name is currently offline Hao Missing name
Messages: 115
Registered: July 2009
Senior Member
highly appreciate if someone could provide some ideas, recommendations, or best practice for update site build process outside of eclipse IDE UI.
Re: build updatesite outside of eclipse IDE [message #550803 is a reply to message #549385] Wed, 04 August 2010 11:55 Go to previous messageGo to next message
Martin Skorsky is currently offline Martin Skorsky
Messages: 112
Registered: July 2009
Senior Member
Hi,

what do you mean by 'we just want to run a batch command line task against the update site of the eclipse workspace to build the update site'?

May be you want to mirror the update site?
One option is the P2 publisher. Introduction at http://wiki.eclipse.org/Equinox/p2/Publisher.

Regards,
Martin
Re: build updatesite outside of eclipse IDE [message #550886 is a reply to message #550803] Wed, 04 August 2010 14:55 Go to previous messageGo to next message
Hao Missing name is currently offline Hao Missing name
Messages: 115
Registered: July 2009
Senior Member
I looked into http://wiki.eclipse.org/Equinox/p2/Publisher and found it only provides the capability of generating artifacts.xml and content.xml. What we expect to do is does the same thing as the Bulid All button does in Update Site project UI.

Here's the summary of what we would like to do.

1. Create eclipse update site project.
2. Define site.xml by using update site project UI. (all required features and plugins are available in the workspace holding the update site project or in the target platform of PDE.)
3. Instead click Build All button in the update site project UI, we would like to run a external process which will do the same thing as the Build All button, i.e. create all features and plugins jar files, and artifacts.xml and content.xml files. or the same function as menu PDE Tools->Build Site.

Highly appreciate your helps.

hao
Re: build updatesite outside of eclipse IDE [message #551800 is a reply to message #550886] Mon, 09 August 2010 15:15 Go to previous messageGo to next message
Martin Skorsky is currently offline Martin Skorsky
Messages: 112
Registered: July 2009
Senior Member
That's the PDE headless build you are looking for. See http://help.eclipse.org/helios/topic/org.eclipse.pde.doc.use r/tasks/pde_feature_build.htm. This needs some configuration.
Re: build updatesite outside of eclipse IDE [message #568064 is a reply to message #546907] Mon, 26 July 2010 14:50 Go to previous messageGo to next message
Hao Missing name is currently offline Hao Missing name
Messages: 115
Registered: July 2009
Senior Member
highly appreciate if someone could provide some ideas, recommendations, or best practice for update site build process outside of eclipse IDE UI.
Re: build updatesite outside of eclipse IDE [message #568120 is a reply to message #549385] Wed, 04 August 2010 11:55 Go to previous messageGo to next message
Martin Skorsky is currently offline Martin Skorsky
Messages: 112
Registered: July 2009
Senior Member
Hi,

what do you mean by 'we just want to run a batch command line task against the update site of the eclipse workspace to build the update site'?

May be you want to mirror the update site?
One option is the P2 publisher. Introduction at http://wiki.eclipse.org/Equinox/p2/Publisher

Regards,
Martin
Re: build updatesite outside of eclipse IDE [message #568194 is a reply to message #568120] Wed, 04 August 2010 14:55 Go to previous messageGo to next message
Hao Missing name is currently offline Hao Missing name
Messages: 115
Registered: July 2009
Senior Member
I looked into http://wiki.eclipse.org/Equinox/p2/Publisher and found it only provides the capability of generating artifacts.xml and content.xml. What we expect to do is does the same thing as the Bulid All button does in Update Site project UI.

Here's the summary of what we would like to do.

1. Create eclipse update site project.
2. Define site.xml by using update site project UI. (all required features and plugins are available in the workspace holding the update site project or in the target platform of PDE.)
3. Instead click Build All button in the update site project UI, we would like to run a external process which will do the same thing as the Build All button, i.e. create all features and plugins jar files, and artifacts.xml and content.xml files. or the same function as menu PDE Tools->Build Site.

Highly appreciate your helps.

hao
Re: build updatesite outside of eclipse IDE [message #568277 is a reply to message #568194] Mon, 09 August 2010 15:15 Go to previous messageGo to next message
Martin Skorsky is currently offline Martin Skorsky
Messages: 112
Registered: July 2009
Senior Member
That's the PDE headless build you are looking for. See http://help.eclipse.org/helios/topic/org.eclipse.pde.doc.use r/tasks/pde_feature_build.htm This needs some configuration.
Re: build updatesite outside of eclipse IDE [message #625611 is a reply to message #568277] Wed, 22 September 2010 09:06 Go to previous messageGo to next message
Henrik Lindberg is currently offline Henrik Lindberg
Messages: 2500
Registered: July 2009
Senior Member
Or take a look at Eclipse Buckminster.
- henrik

On 8/9/10 5:15 PM, Martin Skorsky wrote:
> That's the PDE headless build you are looking for. See
> http://help.eclipse.org/helios/topic/org.eclipse.pde.doc.use r/tasks/pde_feature_build.htm
> This needs some configuration.
Re: build updatesite outside of eclipse IDE [message #697969 is a reply to message #625611] Mon, 18 July 2011 13:50 Go to previous message
flemNET  is currently offline flemNET
Messages: 1
Registered: July 2011
Junior Member
Hi,
i have the same question : could we call "Update Site Builder" outside of eclipse IDE ?
to run a batch command line task against the update site of the eclipse workspace to build the update site??

Mr Hao did you found a solution ..?

thank's
Previous Topic:Howto declare IU conflicts?
Next Topic:automatic installation in RCP
Goto Forum:
  


Current Time: Thu Oct 23 09:37:32 GMT 2014

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

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