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

Failed to import the war file of liferay web plugin

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.1
    • Fix Version/s: 2.1.0
    • Component/s: Wizards, Wizards > Import
    • Labels:
      None
    • Environment:
      Liferay IDE 2.1.0.201402251716-m1 installed on eclipse-kepler

      Description

      Steps to reproduce:

      • new liferay Ant web plugin
      • ant war to generate the war file
      • delete from the 'package Explorer'
      • Import > Liferay Binary Plugin > Next
      • Browse the valid war file and select a sdk 6.2.0
      • Finish
      • notice error occurs

      (related wizards: Import > Liferay Binary Plugins )

      error stacks:

      org.eclipse.core.commands.ExecutionException: Error while importing Binary:AntWebTest-web-7.0.0.1.war
      at com.liferay.ide.project.core.BinaryProjectImportOperation.execute(BinaryProjectImportOperation.java:79)
      at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl$1.run(DataModelPausibleOperationImpl.java:385)
      at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2345)
      at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.runOperation(DataModelPausibleOperationImpl.java:410)
      at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.runOperation(DataModelPausibleOperationImpl.java:360)
      at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.doExecute(DataModelPausibleOperationImpl.java:247)
      at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.executeImpl(DataModelPausibleOperationImpl.java:219)
      at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.cacheThreadAndContinue(DataModelPausibleOperationImpl.java:89)
      at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.execute(DataModelPausibleOperationImpl.java:207)
      at org.eclipse.wst.common.frameworks.internal.datamodel.ui.DataModelWizard$1CatchThrowableRunnableWithProgress.run(DataModelWizard.java:220)
      at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
      Caused by: java.io.FileNotFoundException: Source 'D:\QA\0210latest-ext\eclipse\workspace\.metadata\.plugins\com.liferay.ide.sdk.core\create\1393397470041\AntWebTest-web' does not exist
      at org.apache.commons.io.FileUtils.copyDirectory(FileUtils.java:1034)
      at org.apache.commons.io.FileUtils.copyDirectory(FileUtils.java:927)
      at org.apache.commons.io.FileUtils.copyDirectory(FileUtils.java:896)
      at com.liferay.ide.project.core.util.ProjectImportUtil.createSDKPluginProject(ProjectImportUtil.java:211)
      at com.liferay.ide.project.core.BinaryProjectImportOperation.execute(BinaryProjectImportOperation.java:75)

        Attachments

          Activity

            People

            Assignee:
            terry.jia Terry Jia (Inactive)
            Reporter:
            yanan.yuan Yanan Yuan(Ashley Yuan)
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              7 years, 33 weeks, 5 days ago

                Packages

                Version Package
                2.1.0