Uploaded image for project: 'PUBLIC - Liferay IDE'
  1. PUBLIC - Liferay IDE
  2. IDE-1963

Error creating plugin project with 6.2 GA4 SDK

Details

    Description

      I just installed 6.2 GA4 SDK and a new Eclipse kepler with the Current stable Liferay IDE. When I try to create a new plugin project I get this (see attached file). It looks like the project gets created in the file system but fails to be loaded into Eclipse. I can import the project into the IDE after the fact so at least there is a workaround. Here's the exception message in the Eclipse log:
      !ENTRY com.liferay.ide.project.core 4 0 2015-04-27 07:46:06.561
      !MESSAGE Error creating Liferay plugin project.
      !STACK 1
      org.eclipse.core.runtime.CoreException: Source 'C:\Dev\Liferay\workspace\.metadata\.plugins\com.liferay.ide.sdk.core\create\1430135160186' does not exist
      at com.liferay.ide.project.core.PluginsSDKProjectProvider.doCreateNewProject(PluginsSDKProjectProvider.java:182)
      at com.liferay.ide.project.core.NewLiferayProjectProvider.createNewProject(NewLiferayProjectProvider.java:45)
      at com.liferay.ide.project.core.model.NewLiferayPluginProjectOpMethods.execute(NewLiferayPluginProjectOpMethods.java:109)
      at com.liferay.ide.project.core.model.NewLiferayPluginProjectOp$Impl.execute(Unknown Source)
      at org.eclipse.sapphire.ui.forms.swt.SapphireWizard.performFinish(SapphireWizard.java:370)
      at org.eclipse.sapphire.ui.forms.swt.SapphireWizard$3.run(SapphireWizard.java:334)
      at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
      Caused by: java.io.FileNotFoundException: Source 'C:\Dev\Liferay\workspace\.metadata\.plugins\com.liferay.ide.sdk.core\create\1430135160186' does not exist
      at org.apache.commons.io.FileUtils.copyDirectory(FileUtils.java:1298)
      at org.apache.commons.io.FileUtils.copyDirectory(FileUtils.java:1191)
      at org.apache.commons.io.FileUtils.copyDirectory(FileUtils.java:1160)
      at com.liferay.ide.project.core.PluginsSDKProjectProvider.doCreateNewProject(PluginsSDKProjectProvider.java:176)
      ... 6 more
      !SUBENTRY 1 com.liferay.ide.project.core 4 0 2015-04-27 07:46:06.562
      !MESSAGE Source 'C:\Dev\Liferay\workspace\.metadata\.plugins\com.liferay.ide.sdk.core\create\1430135160186' does not exist
      !STACK 0
      java.io.FileNotFoundException: Source 'C:\Dev\Liferay\workspace\.metadata\.plugins\com.liferay.ide.sdk.core\create\1430135160186' does not exist
      at org.apache.commons.io.FileUtils.copyDirectory(FileUtils.java:1298)
      at org.apache.commons.io.FileUtils.copyDirectory(FileUtils.java:1191)
      at org.apache.commons.io.FileUtils.copyDirectory(FileUtils.java:1160)
      at com.liferay.ide.project.core.PluginsSDKProjectProvider.doCreateNewProject(PluginsSDKProjectProvider.java:176)
      at com.liferay.ide.project.core.NewLiferayProjectProvider.createNewProject(NewLiferayProjectProvider.java:45)
      at com.liferay.ide.project.core.model.NewLiferayPluginProjectOpMethods.execute(NewLiferayPluginProjectOpMethods.java:109)
      at com.liferay.ide.project.core.model.NewLiferayPluginProjectOp$Impl.execute(Unknown Source)
      at org.eclipse.sapphire.ui.forms.swt.SapphireWizard.performFinish(SapphireWizard.java:370)
      at org.eclipse.sapphire.ui.forms.swt.SapphireWizard$3.run(SapphireWizard.java:334)
      at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

      Attachments

        Activity

          People

            terry.jia Terry Jia (Inactive)
            william_gosse William Gosse
            Votes:
            6 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              7 years, 6 weeks, 5 days ago

              Packages

                Version Package
                2.2.3