groovy-swt forked?

Help
2011-05-18
2013-05-08
  • François Rey

    François Rey - 2011-05-18

    Is there any reason why groovy-swt was forked into this project?
    I tried to upgrade the libs to groovy 1.8 but then ran into some issues related to groovy-swt. I was expecting some groovy-swt jar but realized it was in source form. I'm not sure how to solve this issue. I did try compile the plugin with groovy 1.8 and there was no error building the plugins/features/sites with 1.8 jars (also upgraded commons and ivy jars).
    Any suggestions would be great.
    Here's the error I get:

    !ENTRY org.eclipse.ui.workbench 4 2 2011-05-18 18:33:16.465
    !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
    !STACK 0
    java.lang.NoClassDefFoundError: groovy/jface/JFaceBuilder
        at groovy.jface.JFaceDOMFactory.getDOMroot(JFaceDOMFactory.java:9)
        at net.sf.groovyMonkey.dom.Utilities.getDOM(Utilities.java:310)
        at net.sf.groovyMonkey.dom.Utilities.hasDOM(Utilities.java:215)
        at net.sf.groovyMonkey.editor.ScriptContentProvider.hasChildren(ScriptContentProvider.java:503)
        at org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(AbstractTreeViewer.java:2086)
        at org.eclipse.jface.viewers.TreeViewer.isExpandable(TreeViewer.java:588)
        at org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(AbstractTreeViewer.java:2112)
        at org.eclipse.jface.viewers.AbstractTreeViewer.updatePlus(AbstractTreeViewer.java:2794)
        at org.eclipse.jface.viewers.TreeViewer.updatePlus(TreeViewer.java:852)
        at org.eclipse.jface.viewers.AbstractTreeViewer.createTreeItem(AbstractTreeViewer.java:830)
        at org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractTreeViewer.java:804)
        at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
        at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:778)
        at org.eclipse.jface.viewers.TreeViewer.createChildren(TreeViewer.java:644)
        at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:749)
        at org.eclipse.jface.viewers.AbstractTreeViewer.internalInitializeTree(AbstractTreeViewer.java:1492)
        at org.eclipse.jface.viewers.TreeViewer.internalInitializeTree(TreeViewer.java:833)
        at org.eclipse.jface.viewers.AbstractTreeViewer$5.run(AbstractTreeViewer.java:1476)
        at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1422)
        at org.eclipse.jface.viewers.TreeViewer.preservingSelection(TreeViewer.java:403)
        at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1383)
        at org.eclipse.jface.viewers.AbstractTreeViewer.inputChanged(AbstractTreeViewer.java:1469)
        at org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:274)
        at org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:1664)
        at net.sf.groovyMonkey.editor.ScriptContentOutlinePage.createControl(ScriptContentOutlinePage.java:29)
        at org.eclipse.ui.views.contentoutline.ContentOutline.doCreatePage(ContentOutline.java:137)
    
     
  • François Rey

    François Rey - 2011-05-18

    Nevermind I found the error, my mistake forgetting to update MANIFEST.MF.
    Still, the question of why forking groovy-swt remains…

     

Log in to post a comment.