Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » PDE product build with features : import cannot be resolved
PDE product build with features : import cannot be resolved [message #666137] Tue, 19 April 2011 09:36 Go to next message
Eclipse UserFriend
Originally posted by: cedric.chabanois.entropysoft.net

Hi,

I have 3 plugins. Let's call them p1, p2 and p3. They have the following
dependencies :
p1 depends on p2 and p3
p2 depends on p3

If I use one feature F1 which contains p1, p2 and p3 I have no problem
to build my product (my product is feature-based and contains F1).

However if I have two features :
F1 containing p1 and p3
F2 containing p2

(my product is still feature-based and contains F1 and F2)

I get the following error
[java] @dot:
[java] [mkdir] Created dir:
D:\wks\cetl3\net.entropysoft.cetl.releng\product\buildDirect ory\plugins\net.entropysoft.eci.plugin\@dot
[java] [javac] Compiling 241 source files to
D:\wks\cetl3\net.entropysoft.cetl.releng\product\buildDirect ory\plugins\net.entropysoft.eci.plugin\@dot
[java] [javac] ----------
[java] [javac] 1. ERROR in
D:\wks\cetl3\net.entropysoft.cetl.releng\product\buildDirect ory\plugins\net.entropysoft.eci.plugin\src\net\entropysoft\e ci\plugin\ECIPlugin.java
(at line 5)
[java] [javac] import
net.entropysoft.cfs.launcher.plugin.launcher.EmbeddedCFS;
[java] [javac] ^^^^^^^^^^^^^^^^^^^
[java] [javac] The import net.entropysoft.cfs cannot be
resolved

Is it something that is expected ? Should I create a feature for p3 ?

Regards,

Cédric
Re: PDE product build with features : import cannot be resolved [message #666167 is a reply to message #666137] Tue, 19 April 2011 11:46 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

On 04/19/2011 05:36 AM, Cédric Chabanois wrote:
> Hi,
>
> I have 3 plugins. Let's call them p1, p2 and p3. They have the following
> dependencies :
> p1 depends on p2 and p3
> p2 depends on p3
>
> If I use one feature F1 which contains p1, p2 and p3 I have no problem
> to build my product (my product is feature-based and contains F1).
>
> However if I have two features :
> F1 containing p1 and p3
> F2 containing p2
>

That's not correct. Plugins are code modules, but features exist soley
to make something installable. F1 is not installable. You can either
have F1 (p1) F2 (p2, p3) or one feature per plugin (although that seems
a little fine grained).

That being said, you might be able to use the flattenDependencies
property in your build.properties file. but you should probably fix
your features/dependencies instead.

Later,
PW

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


Previous Topic:PDE Build / P2 / Use installation as context repository?
Next Topic:Product export-wizard problem
Goto Forum:
  


Current Time: Wed Apr 24 23:55:44 GMT 2024

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

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

Back to the top