Community
Participate
Working Groups
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.
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.
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
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.
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.
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
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.