Bug 70290 - Visualizer Plugin not loaded in runtime-workbench
Summary: Visualizer Plugin not loaded in runtime-workbench
Status: RESOLVED FIXED
Alias: None
Product: AJDT
Classification: Tools
Component: UI (show other bugs)
Version: 1.1.11   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Helen Beeken CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-17 12:52 EDT by Helmut Zechmann CLA
Modified: 2004-07-26 05:02 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Helmut Zechmann CLA 2004-07-17 12:52:30 EDT
During plugin-development, the visualizer plugin cannot be loaded when starting
a new runtime workbench.
Messages from errorlog:
!ENTRY org.eclipse.pde.core 2 1 Jul 17, 2004 16:37:40.754
!MESSAGE Problems encountered while PDE was scanning the Target Platform
!SUBENTRY 1 org.eclipse.ajdt.ui 2 2 Jul 17, 2004 16:37:40.755
!MESSAGE Missing required plug-in org.eclipse.contribution.visualiser_0.0.0
!SUBENTRY 1 org.eclipse.ajdt.examples 2 2 Jul 17, 2004 16:37:40.755
!MESSAGE Missing required plug-in org.eclipse.ajdt.ui_0.0.0

Removing the folder plugins/org.eclipse.contribution.visualiser_2.0.0/META-INF
fixes this problem.
Comment 1 Andrew Clement CLA 2004-07-19 03:22:41 EDT
Helen, can you investigate this one?  I've not tried launching a runtime
workbench from a workbench where AJDT is installed.  I think we had a similar
problem for one of the plugins a while ago and I had to change a script
somewhere to stop it generating a META-INF (i.e. swap from using 'jar' to using
'zip') but you might find META-INF in this case is just lying around from some
previous work we did and can simply be deleted.
Comment 2 Helen Beeken CLA 2004-07-21 09:23:36 EDT
Hi Helmut,

I just want to check that as well as the error messages you posted from the 
error log, I'm also seeing the same behaviour as you...

(1) I have AJDT 1.1.11 installed in Eclipse 3.0
(2) I launch a runtime workbench
(3) Selecting Help > About Eclipse Platform, the AspectJ Development Tools 
feature version 1.1.11 is listed, and the plugin details list AspectJ 
Development tools version 1.1.11, org.eclipse.ajde version 1.1.11 and 
Visualiser plugin version 92.2.29.
(4) Selecting Window > Open Pespective, there is no mention of AspectJ 
Visualisation (either here or by selecting "other").
(5) Selecting Window > Show View > Other, there is no mention of AspectJ
(6) Selecting Window > Show View > Other, there is a Visualiser section and 
the visualiser can be shown.
(7) By going to Window > Preferences > Visualiser there are three available 
providers - JDT Content Provider, JDT search results content provider and File 
content provider.

Thanks,

Helen
Comment 3 Helmut Zechmann CLA 2004-07-22 03:17:10 EDT
Hi Helen, 
the behaviour i am seeing is a little bit different:

(3) I do not see an entry for the visualizer plugin in the plugin details
(Perhaps because i removed the files of my old ajdt installation from the
eclipse plugin and features folders before installing ajdt 1.1.11. I also
removed the .eclipse folder in my home directory while looking for a solution of
this bug.)

(6) Selecting Window > Show View > Other, there is _no_ Visualiser section

(7) By going to Window > Preferences there is no entry for the visualizer

Additional comments:

I start a normal eclipse workbench (no runtime workbench)
(1) Selecting Help > About Eclipse Platform, the AspectJ Development Tools 
feature version 1.1.11 is listed, and the plugin details list AspectJ 
Development tools version 1.1.11, org.eclipse.ajde version 1.1.11,
org.eclipse.ajdt.ui version 0.6.11 and Visualiser plugin version 2.0.0, but the
entries for provider and plugin-name are blank (only for the visualizer plugin).
(2) Selecting Window > Open Perspective > Other > Plugin Development and opening
the Plug-ins view in the PDE perspective i get the error message from the
original bug report in the error log and the plugins org.eclipse.ajdt.ui and
org.eclipse.ajdt.ui are not listed.


When i remove the folder
plugins/org.eclipse.contribution.visualiser_2.0.0/META-INF and restart eclipse
everything works fine again. After restoring the folder, the problems are there
again.
Comment 4 Matt Chapman CLA 2004-07-22 03:21:40 EDT
Helen,
Removing the META-INF folder was also the answer to the problems reported in the
newsgroup. I've changed the build scripts for the visualiser plugin to use the
zip ant task instead of jar, so that it doesn't create the META-INF/MANIFEST.MF
file.
Comment 5 Helen Beeken CLA 2004-07-22 07:59:42 EDT
Hi Helmut,

I'm going to create a private update site to make absolutely sure that Matt's 
fix removes this problem. I'll update the defect when I've done that.

Thanks, Helen
Comment 6 Helen Beeken CLA 2004-07-26 05:02:56 EDT
I've created a local update site with the changes Matt put into the build and 
am no longer seeing any of the problems being reported. In other words, the 
following behaviour now occurs:

(1) Running a normal workbench with AJDT 1.1.11 installed, opening the PDE 
perspective and selecting the plugins view, org.eclipse.ajdt.ui and all the 
other AJDT-related plugins are now showing.
(2) Spawning a runtime workbench from an eclipse which has AJDT 1.1.11 
installed brings up a workbench which contains all the information you would 
expect about AJDT i.e. the visualiser is there and working, there is an Aspect 
visualization perspective and the HELP contents contains AJDT and Visualiser 
information.

This will be included in the next version of AJDT.