Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Exporting a workspace plugin to Target Platform?(How to do i . . .)
Exporting a workspace plugin to Target Platform? [message #559192] Wed, 15 September 2010 21:48 Go to next message
Herb Miller is currently offline Herb MillerFriend
Messages: 23
Registered: February 2010
Junior Member
I am working on a multi-developer project. We have some plugins in our Target Platform that were written by our project. I had to import one of these plugins (jar file) from the target platform into my workspace to make a project wide modification - that was the easy part.

But now I do not know the proper way to move the plugin back out of my workspace into the Target Platform again.

The target Platform files appear to be jar files. Do I just export the plugin as a jar file and then use the new jar file to replace the old?

Which set of menu picks should I use to export the workspace plugin into the proper format to be used as a target platform plugin?

Thanks,
Herb Miller

Re: Exporting a workspace plugin to Target Platform? [message #559324 is a reply to message #559192] Thu, 16 September 2010 11:56 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Wouldn't you check it out of your source control (instead of importing
it from your target platform)? If you need to make changes, they should
be in your SCM. How you should update your target platform:

1) check out your bundle from your SCM
2) make changes
3) build the plugin
4) create a p2 repo
5) use the Help>Check for Updates to update it


That being said, if your plugin is a vanilla shape (plugin.xml,
META-INF/, icons/, src/) you can use File>Import...>plugins and
fragments (just make sure you use "Projects with source folders" import
option, not binary with linked content).

When you've made your changes and confirmed they work, then you use
File>Export...>Deployable plugins and fragments. You need to give the
plugin a different version number or qualifier (and it must be higher
than what's in your target platform).

PW


--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm


Re: Exporting a workspace plugin to Target Platform? [message #656551 is a reply to message #559324] Sat, 26 February 2011 17:46 Go to previous message
Herb Miller is currently offline Herb MillerFriend
Messages: 23
Registered: February 2010
Junior Member
Thanks. That works great. I had forgotten the part about exporting it as deployable.
Previous Topic:Help about JFace TableViewer usage
Next Topic:Possible to disable replace function of FindReplaceAction in a writable editor?
Goto Forum:
  


Current Time: Fri Apr 26 01:21:51 GMT 2024

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

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

Back to the top