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 #603575] 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 #603637 is a reply to message #603575] 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:Exporting and importing source bundle
Next Topic:Plugin udpate doesn't work
Goto Forum:
  


Current Time: Sat Aug 08 12:58:45 GMT 2020

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

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

Back to the top