Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Exporting and importing source bundle
Exporting and importing source bundle [message #499978] Tue, 24 November 2009 16:06 Go to next message
Kyle Neumeier is currently offline Kyle NeumeierFriend
Messages: 10
Registered: July 2009
Junior Member
Hi,
I want to be able to export a bundle and its source code so that another developer can simply import the bundle, view the source and edit it. Is this possible? I am having trouble figuring out exactly which options to check on the build.xml and the export wizard. n the export wizard, I check the 'export source' option. I have tried generating source bundles and including the source in the exported plugin. I have also tried packaging the plugins as individual jars.

The problem is that when I import the bundle (using the eclipse import->plugins and fragment wizard) bundles that have been exported as individual jars, the source code seems to be in a zip file. When I don't use the export as individual jar option, the source is there, but its just a normal folder called src. That is the classpath isn't set up so that I can just start modifying the source.

I'd just like to export the bundle with its source code out of one workspace and then be able to import the bundle into another workspace and be able to start modifying the bundle just like I could in the first one.
Thanks,
Kyle
Re: Exporting and importing source bundle [message #500642 is a reply to message #499978] Fri, 27 November 2009 09:40 Go to previous message
Ankur Sharma is currently offline Ankur SharmaFriend
Messages: 68
Registered: July 2009
Member
Kyle Neumeier wrote:
> Hi,
> I want to be able to export a bundle and its source code so that another
> developer can simply import the bundle, view the source and edit it. Is
> this possible? I am having trouble figuring out exactly which options to
> check on the build.xml and the export wizard. n the export wizard, I
> check the 'export source' option. I have tried generating source bundles
> and including the source in the exported plugin. I have also tried
> packaging the plugins as individual jars.
> The problem is that when I import the bundle (using the eclipse
> import->plugins and fragment wizard) bundles that have been exported as
> individual jars, the source code seems to be in a zip file. When I don't
> use the export as individual jar option, the source is there, but its
> just a normal folder called src. That is the classpath isn't set up so
> that I can just start modifying the source.
>
> I'd just like to export the bundle with its source code out of one
> workspace and then be able to import the bundle into another workspace
> and be able to start modifying the bundle just like I could in the first
> one.
> Thanks,
> Kyle


If copying a set of bundles to a different workspace is all you wish to achieve then simplest way
would be to Export them as (General ->) Archive File.
It can be imported using (General ->) Existing Projects into Workspace option.

Since compiling the bundles successfully depends on Target Platform, you will have to replicate it
too. If your target is not located in a file, you can do so by opening the Target Platform
Preference page choose the "Share" button.

--
Ankur..
Eclipse PDE UI Committer | IBM India Software Lab, Bangalore
+91-99456-94011 | @ankur_sharma | http://blog.ankursharma.org
Previous Topic:Cheat sheets in modal dialogs
Next Topic:Exporting and importing source bundle
Goto Forum:
  


Current Time: Fri Apr 19 13:13:11 GMT 2024

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

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

Back to the top