- This topic has 9 replies, 4 voices, and was last updated 20 years, 6 months ago by Samer Kanjo.
-
AuthorPosts
-
Samer KanjoParticipantI was wondering if anyone had any luck installing JasperAssistant. JasperAssistant is an Eclipse plug-in for JasperReports and requires the GEF plug-in. I am having problems viewing the a report using the report designer. It seems to be related to GEF.
Snippet of related error in log:
!ENTRY org.eclipse.core.runtime 4 2 Jul 07, 2004 19:20:06.345
!MESSAGE Problems occurred when invoking code from plug-in: “org.eclipse.core.runtime”.
!STACK 0
java.lang.NoClassDefFoundError: org/eclipse/gef/ui/palette/FlyoutPaletteComposite$FlyoutPreferences
at com.jasperassistant.designer.editors.ReportEditor.n(SourceFile:248)
at com.jasperassistant.designer.editors.ReportEditor.x(SourceFile:268)
at com.jasperassistant.designer.aE.createPartControl(SourceFile:150)
Samer KanjoParticipantI fixed the problem but caused another problem. On a hunch I removed the GEF plug-in from under the MyEclipse folder and installed it under the Eclipse folder. That solved the problem I had with JasperAssistant. However, I now have errors in the MyEclipse configuration because the GEF plug-in is no longer being recognized by MyEclipse.
Is there some way to get these two guys to play nice? I am going to check the MyEclipse config files and see if I can find something.
Samer KanjoParticipantI fixed the problem with MyEclipse by modifying the config files. I modified the com.genuitec.myeclipse.wdt_3.7.101 featrues.xml file. This file contains the related and required plug-ins. I simply made the draw2d and gef plugins required.
This:
<requires>
…
<import plugin=”org.eclipse.draw2d”/>
<import plugin=”org.eclipse.gef”/>
</requires>rather than
<plugin
id=”org.eclipse.draw2d”
download-size=”0″
install-size=”0″
version=”3.0.0″/><plugin
id=”org.eclipse.gef”
download-size=”0″
install-size=”0″
version=”3.0.0″/>Now, GEF is installed as a standalone plug-in and JasperAssistant and MyEclipse require it.
Riyad KallaMemberskanjo,
Let me send this information along to the dev team to see if we can play nice “out fo the box” with that plugin. Thank you for keeping this thread updated with your step-by-step workaround.
snpeMemberProblem is probably, because japserAssitent and myeclipse request different version GEF – myeclipse 3.8 beta2 will have gef 3.0 and then it will fine
regards
Samer KanjoParticipantThe current version of JasperAssistant requires GEF 3.0. See my last post for the workaround I identified. I did get it working.
Scott AndersonParticipantWe’ll be packaging GEF 3.0 final in 3.8 beta 2 and beyond so this issue should be resolved by that. Thanks for providing the steps to work around the issue in the interim. 🙂
Samer KanjoParticipantI am confused. The version of GEF that you included with Beta 1 is working for me now with the changes I made. Are you saying that GEF should have been visible to JasperAssistant without the changes I made to the features.xml file?
Scott AndersonParticipantPlease see the explaination I posted in your other thread here:
https://www.genuitec.com/forums/topic/gef-plug-in-closed/#post-209651
Samer KanjoParticipantWhy don’t we just close this thread and focus on my other thread “GEF Plug-In”
-
AuthorPosts