Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » importing plugin does not automatically add classpath entry for generated jar
importing plugin does not automatically add classpath entry for generated jar [message #603190] Thu, 12 November 2009 16:05
KJ  is currently offline KJ Friend
Messages: 8
Registered: November 2009
Junior Member
Hi,

I created a plugin which I exported using the export as a plugin wizard. When I now import this plugin into another workspace using the import wizard again, the .classpath file of the created project does not contain an entry for the jar the export-wizards creates (pluginABC_2.0.9.jar). In the new workspace, I want to create a new fragment which extends the imported plugin. When I remove and add the generated jar (pluginABC_2.0.9.jar) by using the manifest editor, the classpath entry is added nicely though and everything works fine. However, I would like the classpath to be generated correctly after every export / import.

I expect this to be an configuration issue, I just don't see which one. What am I doing wrong?

Cheers,
KJ

My MANIFEST.MF:

Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: PluginABC
Bundle-SymbolicName: PluginABC;singleton:=true
Bundle-Version: 2.0.9
Bundle-Activator: pluginabc.Activator
Require-Bundle: org.eclipse.ui,
org.eclipse.core.runtime,
org.eclipse.ui.views;bundle-version="3.3.0",
org.eclipse.gef;bundle-version="3.4.1",
de.byteholder.geoclipse;bundle-version="0.1.4",
de.byteholder.geoclipse.gpx;bundle-version="0.0.2",
de.byteholder.geoclipse.libraries;bundle-version="0.1.4",
de.byteholder.geoclipse.map;bundle-version="0.0.2",
de.byteholder.geoclipse.tilefactory.osm;bundle-version="0.1.4 ",
de.byteholder.geoclipse.tilefactory.osm.cycle;bundle-version = "0.1.4",
de.byteholder.geoclipse.tilefactory.osm.tile.at.home;bundle- version= "0.1.4",
de.byteholder.gpx;bundle-version="0.1.4"
Bundle-ActivationPolicy: lazy
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Bundle-ClassPath:
jar/geotransform.jar,
jar/sax2r2.jar,
jar/yguard.jar,
.
Export-Package:
...
...
...

build.properties:
bin.includes = icons/,\
META-INF/,\
.,\
jar/,\
build.properties,\
PluginABC.product,\
plugin.xml,\
.project
bin.excludes = jar/xerces.jar
source.. = src/,\
<more source folders (yeah, kinda ugly)>
Previous Topic:importing plugin does not automatically add classpath entry for generated jar
Next Topic:EclipseGenerator and categories
Goto Forum:
  


Current Time: Tue Apr 16 23:28:14 GMT 2024

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

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

Back to the top