Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Installing issue but test ok
Installing issue but test ok [message #45838] Mon, 09 February 2009 14:40
Julien Manankiandrianana is currently offline Julien ManankiandriananaFriend
Messages: 37
Registered: July 2009
Hi guys,

Here's my problem I developed an Eclipse plugin and when I test it using
the "Launch an Eclipse application" link it works just fine, but when I
try to install it by creating its associated feature and site I get this
exception :

at java:87)
at org.eclipse.ui.internal.ViewReference.createPart(ViewReferen

and the corresponding lines are :

85 for( IProject p : projects )
86 {
87 System.out.println( p.getRawLocation().toOSString() );
88 if( p.isOpen() )
89 locations.add( p.getRawLocation().toString() );
90 }

so p is obviously not null and my guess is the problem comes from the
getRawLocation() call, but how come it works when I test it and it doesn't
when I install it ?

here's the by the way this might help you help me :
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Jacomo Finder Plug-in
Bundle-Version: 1.0.0
Bundle-ActivationPolicy: lazy
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Require-Bundle: org.eclipse.core.runtime,
Previous Topic:Recreating Plugin from existing JAR
Next Topic:Installing issue but test ok
Goto Forum:

Current Time: Fri Jun 18 04:39:44 GMT 2021

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

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

Back to the top