Export of draw2d

CodePro AnalytiX (Audit & Test), includes over 1000 audit rules and metrics, JUnit test generation & editing, code coverage, and duplicate code analysis

Moderators: gnebling, jwren, Eric Clayberg, Dan Rubel, Brian Wilkerson, dcarew

Export of draw2d

Postby wimjongman » Tue Sep 07, 2010 7:01 am

I am importing the org.eclipse.draw2d package in one of my plugins. It now seems that [1] is also exporting org.eclipse.draw2d. PDE picks up this draw2d package and my program has an error because it does not include all the classes I need.

To solve this I am forced to import bundle.

Maybe you should include this jar as a local jar in the projects that need it?

[1] C:\Program Files\Eclipse\3.6\eclipse\plugins\com.instantiations.assist.eclipse.analysis_6.5.0.r36x201006260812\lib\draw2d.jar

Thanks and met vriendelijke groet,

Wim Jongman
Remain Software
wimjongman
 
Posts: 3
Joined: Tue Sep 07, 2010 6:56 am

Re: Export of draw2d

Postby Eric Clayberg » Tue Sep 07, 2010 7:46 am

I'm not entirely sure what problem you are reporting or what it has to do with SWT Designer. The plugin you referenced appears to be part of CodePro AnalytiX rather than SWT Designer, so I am tempted to move this thread to the CodePro forum. I'm also not sure why this would be a problem with CodePro either (sounds like an Eclipse problem at first glance), so I think a more detailed explanation is needed.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Re: Export of draw2d

Postby wimjongman » Tue Sep 07, 2010 8:14 am

Well, the plugin the plugin I mentioned exports this package org.eclipse.draw2d.*, but does not provide a complete implementation. Since the Instantiations products are in my target environment (the running eclipse) Eclipse finds these packages in the instantiations bundles and not in the org.eclipse.draw2d bundle (alphabet). This would normally not concern me but the implementation of the instantiations package is incomplete.
wimjongman
 
Posts: 3
Joined: Tue Sep 07, 2010 6:56 am

Re: Export of draw2d

Postby Eric Clayberg » Tue Sep 07, 2010 8:27 am

I moved this thread to the CodePro forum as it has nothing to do with SWT Designer.

The implementation (which goes back many years) is complete enough for what we need it to do. It is an older version of Draw2D which works across all of the Eclipse versions that CodePro supports (v2.1 up to v3.6).

Are you somehow prereq'ing CodePro in some way? If not, I don't see why Eclipse would pick this up at all (sounds like an Eclipse problem if it is).

We can look into this, but I don't see this changing any time soon (its been that way for a very long time).
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Re: Export of draw2d

Postby wimjongman » Wed Sep 08, 2010 5:54 am

Are you somehow prereq'ing CodePro in some way? If not, I don't see why Eclipse would pick this up at all (sounds like an Eclipse problem if it is).


Since CodePro is in my IDE AND it exports org.eclipse.draw2d, and I require package draw2d, Eclipse just resolves the first bundle that exports this package. However, you gave me clue indicating that this is an old package. Perhaps if I specify a version number, say 3.5.0, it will not resolve your draw2d.
wimjongman
 
Posts: 3
Joined: Tue Sep 07, 2010 6:56 am


Return to CodePro AnalytiX & PlusPak. EclipsePro Audit & Test

Who is online

Users browsing this forum: No registered users and 1 guest

cron