3 Replies Latest reply on Apr 5, 2007 12:03 PM by dddmmmbbb

    Anyone gotten Flex 2 to install in Plugin mode?

    Bret_Patterson
      I tried installing into my normal Eclipse 3.1.1 environment and it didn't work. So I downloaded the base Eclipse 3.1.1 and SVNPlugin only and then installed it into the base eclipse and it still didn't work.

      Has anyone gotten it to work? I've only gotten it to work in standalone installation where it installs it's own eclipse version. However I hate having two eclipse desktops open, one for EJB development and one for Flex 2 development, and then two eclipse configurations etc. It's a real pain in the arse.

      Here's the error messages i get:
      java.fullversion=J2RE 1.4.2 IBM Windows 32 build cn142ifx-20060209 (SR4-1) (JIT enabled: jitc)
      BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
      Command-line arguments: -os win32 -ws win32 -arch x86

      !ENTRY org.eclipse.ui 4 0 2006-07-20 06:04:35.156
      !MESSAGE Unable to create editor ID com.adobe.flexbuilder.editors.mxml.MXMLEditor: No editor descriptor for id com.adobe.flexbuilder.editors.mxml.MXMLEditor
      !STACK 1
      org.eclipse.ui.PartInitException: No editor descriptor for id com.adobe.flexbuilder.editors.mxml.MXMLEditor
      at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:553)
      at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:384)
      at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:552)
      at org.eclipse.ui.internal.EditorAreaHelper.setVisibleEditor(EditorAreaHelper.java:258)
      at org.eclipse.ui.internal.EditorManager.setVisibleEditor(EditorManager.java:1221)
      at org.eclipse.ui.internal.EditorManager$5.run(EditorManager.java:949)
      at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
      at org.eclipse.core.runtime.Platform.run(Platform.java:783)
      at org.eclipse.ui.internal.EditorManager.restoreState(EditorManager.java:944)
      at org.eclipse.ui.internal.WorkbenchPage.restoreState(WorkbenchPage.java:2576)
      at org.eclipse.ui.internal.WorkbenchWindow.restoreState(WorkbenchWindow.java:1819)
      at org.eclipse.ui.internal.Workbench.doRestoreState(Workbench.java:2566)
      at org.eclipse.ui.internal.Workbench.access$14(Workbench.java:2515)
      at org.eclipse.ui.internal.Workbench$19.run(Workbench.java:1514)
      at org.eclipse.ui.internal.Workbench$16.run(Workbench.java:1263)
      at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:346)
      at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:291)
      at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:447)
      at org.eclipse.ui.internal.Workbench.runStartupWithProgress(Workbench.java:1258)
      at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1512)
      at org.eclipse.ui.internal.Workbench.access$12(Workbench.java:1491)
      at org.eclipse.ui.internal.Workbench$17.run(Workbench.java:1374)
      at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
      at org.eclipse.core.runtime.Platform.run(Platform.java:783)
      at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1318)
      at org.eclipse.ui.internal.WorkbenchConfigurer.restoreState(WorkbenchConfigurer.java:183)
      at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:700)
      at org.eclipse.ui.internal.Workbench.init(Workbench.java:1034)
      at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1636)
      at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
      at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
      at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
      at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
      at java.lang.reflect.Method.invoke(Method.java:391)
      at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
      at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
      at org.eclipse.core.launcher.Main.run(Main.java:973)
      at org.eclipse.core.launcher.Main.main(Main.java:948)
      !SUBENTRY 1 org.eclipse.ui 4 0 2006-07-20 06:04:35.156
      !MESSAGE No editor descriptor for id com.adobe.flexbuilder.editors.mxml.MXMLEditor

      !ENTRY org.eclipse.ui.workbench 4 2 2006-07-20 06:04:35.297
      !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
      !STACK 0
      org.eclipse.ui.internal.misc.AssertionFailedException: null argument;
      at org.eclipse.ui.internal.misc.Assert.isNotNull(Assert.java:81)
      at org.eclipse.ui.internal.misc.Assert.isNotNull(Assert.java:68)
      at org.eclipse.ui.internal.EditorSite.<init>(EditorSite.java:47)
      at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:418)
      at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:552)
      at org.eclipse.ui.internal.EditorAreaHelper.setVisibleEditor(EditorAreaHelper.java:258)
      at org.eclipse.ui.internal.EditorManager.setVisibleEditor(EditorManager.java:1221)
      at org.eclipse.ui.internal.EditorManager$5.run(EditorManager.java:949)
      at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
      at org.eclipse.core.runtime.Platform.run(Platform.java:783)
      at org.eclipse.ui.internal.EditorManager.restoreState(EditorManager.java:944)
      at org.eclipse.ui.internal.WorkbenchPage.restoreState(WorkbenchPage.java:2576)
      at org.eclipse.ui.internal.WorkbenchWindow.restoreState(WorkbenchWindow.java:1819)
      at org.eclipse.ui.internal.Workbench.doRestoreState(Workbench.java:2566)
      at org.eclipse.ui.internal.Workbench.access$14(Workbench.java:2515)
      at org.eclipse.ui.internal.Workbench$19.run(Workbench.java:1514)
      at org.eclipse.ui.internal.Workbench$16.run(Workbench.java:1263)
      at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:346)
      at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:291)
      at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:447)
      at org.eclipse.ui.internal.Workbench.runStartupWithProgress(Workbench.java:1258)
      at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1512)
      at org.eclipse.ui.internal.Workbench.access$12(Workbench.java:1491)
      at org.eclipse.ui.internal.Workbench$17.run(Workbench.java:1374)
      at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
      at org.eclipse.core.runtime.Platform.run(Platform.java:783)
      at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1318)
      at org.eclipse.ui.internal.WorkbenchConfigurer.restoreState(WorkbenchConfigurer.java:183)
      at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:700)
      at org.eclipse.ui.internal.Workbench.init(Workbench.java:1034)
      at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1636)
      at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
      at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
      at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
      at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
      at java.lang.reflect.Method.invoke(Method.java:391)
      at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
      at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
      at org.eclipse.core.launcher.Main.run(Main.java:973)
      at org.eclipse.core.launcher.Main.main(Main.java:948)
        • 1. Re: Anyone gotten Flex 2 to install in Plugin mode?
          TucsonJava Level 1
          Bret,

          I have been using the plugin (beta and production) in Eclipse 3.1.2 for several months. I did not have any issues with the installation or usage that I remember. My only suggestion is to look at the installation log in the Adobe Flex folder. Log file is named Adobe_Flex_Builder_2_Plug-in_InstallLog.log. That might give you some clues as to what went wrong in the installation.
          • 2. Re: Anyone gotten Flex 2 to install in Plugin mode?
            dimival Level 1
            I also installed the plugin and it hasnt given me any trouble. Sometimes eclipse doesnt recognize new features installed, try running eclipse with the -clean option.
            Open a cmd (MS-DOS) window, go to the Eclipse folder and then type eclipse -clean it may work. If it doesn't i suggest you to read all the documentation regarding the plugin just to be sure your Eclipse doesn't lack anything, or write an email to Adobe with your problem, maybe they can give you some kind of support.
            • 3. Anyone gotten Flex 2 to install in Plugin mode?
              dddmmmbbb
              I am also having a problem. I d-loaded the 30 day trial and tried to install as a plug-in. It got way into the install and gave an error instructing me to look at the ".log" file for more information. After clicking OK the install continued and ended stating it was successfully installed as a plug-in. After opening Eclipse I see nothing for Flex or Adobe which tells me it did not install successfully. I already had Exadel Studio installed and the log file (note that the log file only has an extension of log, but no prefixed name ".log"). It had many, many errors saying that a plug-in was already installed by Exadel. Below are the final few lines of the log file. I will reinstall as the full IDE and not the plug-in, but I really want it to be an eclipse plug-in. The eclipse version I am running is 3.2.0.

              Thanks,
              Dale

              !ENTRY org.eclipse.update.configurator 2007-04-05 13:55:09.671
              !MESSAGE Could not install bundle plugins/org.eclipse.xsd_2.2.1.v200609210005.jar Bundle "org.eclipse.xsd" version "2.2.1.v200609210005" has already been installed from: update@../../ExadelStudio/eclipse/plugins/org.eclipse.xsd_2.2.1.v200609210005.jar

              !ENTRY org.eclipse.update.configurator 2007-04-05 13:55:09.671
              !MESSAGE Could not install bundle plugins/org.uddi4j_2.0.5.v200608231542/ Bundle "org.uddi4j" version "2.0.5.v200608231542" has already been installed from: update@../../ExadelStudio/eclipse/plugins/org.uddi4j_2.0.5.v200608231542/

              !ENTRY org.eclipse.update.configurator 2007-04-05 13:55:09.671
              !MESSAGE Could not install bundle plugins/org.wsdl4j_1.4.0.v200607181917/ Bundle "org.wsdl4j" version "1.4.0.v200607181917" has already been installed from: update@../../ExadelStudio/eclipse/plugins/org.wsdl4j_1.4.0.v200607181917/
              !SESSION 2007-04-05 14:01:02.640 -----------------------------------------------
              eclipse.buildId=M20060629-1905
              java.version=1.4.2_12
              java.vendor=Sun Microsystems Inc.
              BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
              Framework arguments: -application org.eclipse.update.core.standaloneUpdate -command install -from file:\C:\Program Files\Adobe\Flex Builder 2 Plug-in\com.adobe.flexbuilder.update.site/ -featureId com.adobe.flexbuilder.feature.core -version 2.0.155577
              Command-line arguments: -application org.eclipse.update.core.standaloneUpdate -command install -from file:\C:\Program Files\Adobe\Flex Builder 2 Plug-in\com.adobe.flexbuilder.update.site/ -featureId com.adobe.flexbuilder.feature.core -version 2.0.155577

              !ENTRY org.eclipse.update.core 4 0 2007-04-05 14:03:44.484
              !MESSAGE Duplicate conflicts