7 Replies Latest reply on Aug 11, 2011 6:17 AM by maxandersen

    JBT 3.1M1, VPE and Eclipse 3.5 Cocoa build on MacOSX

    teknologist

      Hi guys,

      First great work with JBT, 3.0 was already great, 3.1 seems awesome.

      Just wanted to check if I understand correctly:
      -I am using OSX 10.5.7
      -Eclipse has finally made it ! An Eclipse build using Apple Cocoa's UI framework.
      -The VPE component of JBT only works with carbon build of Elcipse because of the XulRunner dependency.

      Am I right making these statements ?

      If yes, do you have any plan on releasing a Cocoa compatible version of the VPE component ?

      Thanks again for making such a great tool!

      Cheers,

      -Eric

        • 1. Re: JBT 3.1M1, VPE and Eclipse 3.5 Cocoa build on MacOSX
          maxandersen

          I don't think we have had time to look at the new cocoa integration in Eclipse 3.5.

          Create a jira - it might be simple to fix...

          • 2. Re: JBT 3.1M1, VPE and Eclipse 3.5 Cocoa build on MacOSX
            teknologist

            Thanks for your quick reply Max!
            I guess I am not the only one who's working on a Sunday.. ;-)

            I'll open a ticket in Jira...

            Cheers,

            --Eric

            • 3. Re: JBT 3.1M1, VPE and Eclipse 3.5 Cocoa build on MacOSX
              nickboldt

              I suspect it will be a non-trivial effort to support both Mac flavours.

              http://releases.mozilla.org/pub/mozilla.org/xulrunner/releases/
              https://developer.mozilla.org/en/XULRunner%2F%2FOld_Releases

              Still, please open a JIRA and lilnk to it here, and we can explore the effort required.

              • 4. Re: JBT 3.1M1, VPE and Eclipse 3.5 Cocoa build on MacOSX
                ironduck

                Looks like the Aptana folks ran into the same issue...

                • 5. Re: JBT 3.1M1, VPE and Eclipse 3.5 Cocoa build on MacOSX
                  dgolovin
                  JBossTools Supports Cocoa x86 since JBT 3.1.0.CR1 development release
                  • 6. Re: JBT 3.1M1, VPE and Eclipse 3.5 Cocoa build on MacOSX
                    kadoudal

                    Got error in Eclipse-  OSX Lion ( 10.7 ), Java SE 6 version 1.6.0_26,  Eclipse Indigo , JBoss AS 7

                     

                     

                    Could not open the Visual Page Editor:

                    Current platform 'cocoa.macosx.x86_64' is not supported.

                     

                     

                    --

                    org.jboss.tools.vpe.xulrunner.XulRunnerException: Current platform 'cocoa.macosx.x86_64' is not supported.

                              at org.jboss.tools.vpe.xulrunner.browser.XulRunnerBrowser.getXulRunnerPath(XulRunnerBrowser.java:227)

                              at org.jboss.tools.vpe.xulrunner.browser.XulRunnerBrowser.<init>(XulRunnerBrowser.java:114)

                              at org.jboss.tools.vpe.xulrunner.editor.XulRunnerEditor.<init>(XulRunnerEditor.java:128)

                              at org.jboss.tools.vpe.editor.mozilla.XulRunnerEditor2.<init>(XulRunnerEditor2.java:23)

                              at org.jboss.tools.vpe.editor.mozilla.MozillaEditor.createPartControl(MozillaEditor.java:602)

                              at org.jboss.tools.vpe.editor.VpeEditorPart.createVisualEditor(VpeEditorPart.java:806)

                              at org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor.pageChange(JSPMultiPageEditor.java:257)

                              at org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor.createPages(JSPMultiPageEditor.java:466)

                              at org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditorPart.createPartControl(JSPMultiPageEditorPart.java:189)

                              at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:670)

                              at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:465)

                              at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)

                              at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:313)

                              at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:180)

                              at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:270)

                              at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)

                              at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:473)

                              at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1245)

                              at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1198)

                              at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1597)

                              at org.eclipse.ui.internal.PartStack.add(PartStack.java:493)

                              at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:103)

                              at org.eclipse.ui.internal.PartStack.add(PartStack.java:479)

                              at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:112)

                              at org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:63)

                              at org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:225)

                              at org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:213)

                              at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:808)

                              at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:707)

                              at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:666)

                              at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2942)

                              at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2850)

                              at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2842)

                              at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2793)

                              at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)

                              at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2789)

                              at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2773)

                              at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2764)

                              at org.eclipse.ui.ide.IDE.openEditor(IDE.java:651)

                              at org.eclipse.ui.ide.IDE.openEditor(IDE.java:610)

                              at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:355)

                              at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:164)

                              at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:249)

                              at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:228)

                              at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:275)

                              at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:251)

                              at org.eclipse.jdt.internal.ui.packageview.PackageExplorerActionGroup.handleOpen(PackageExplorerActionGroup.java:376)

                              at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$4.open(PackageExplorerPart.java:538)

                              at org.eclipse.ui.OpenAndLinkWithEditorHelper$InternalListener.open(OpenAndLinkWithEditorHelper.java:48)

                              at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:866)

                              at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)

                              at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)

                              at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)

                              at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:864)

                              at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1152)

                              at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1256)

                              at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:275)

                              at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:269)

                              at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:309)

                              at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)

                              at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4125)

                              at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457)

                              at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480)

                              at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1465)

                              at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1270)

                              at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3971)

                              at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3610)

                              at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)

                              at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)

                              at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)

                              at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)

                              at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)

                              at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)

                              at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)

                              at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)

                              at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)

                              at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)

                              at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)

                              at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)

                              at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)

                              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

                              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                              at java.lang.reflect.Method.invoke(Method.java:597)

                              at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)

                              at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)

                              at org.eclipse.equinox.launcher.Main.run(Main.java:1410)

                     

                     

                    • 7. Re: JBT 3.1M1, VPE and Eclipse 3.5 Cocoa build on MacOSX
                      maxandersen

                      Yes, that is expected since you are running 64 bit (x86_64) and not 32 bit (x86).

                       

                      You can continue to do so and everything should work fine (except the visual rendering) and if you want visual rendering run it with Eclipse 32-bit on your 64-bit os.