Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.0 M1
-
None
Description
- open IDE2.x using workspace1
- setup sdk and open in eclipse, which don't have build.${username}.properties file. In testing env sdk is "D:\portal\ce\612\sdk612\liferay-plugins-sdk-6.1.2"
- setup server
- file > exit
- open IDE3.0 and point to workspace1
- new liferay portlet project > next > next
- notice now comes to the wizard to setup sdk
- browse a valid sdk which already set build.${username}.properties, but not the one that already opened in eclipse
- finish
error stack:
Error creating Liferay plugin project.
org.eclipse.core.runtime.CoreException:
at com.liferay.ide.project.core.PluginsSDKProjectProvider.createNewProject(PluginsSDKProjectProvider.java:272)
at com.liferay.ide.project.core.PluginsSDKProjectProvider.createNewProject(PluginsSDKProjectProvider.java:1)
at com.liferay.ide.project.core.model.NewLiferayPluginProjectOpMethods.execute(NewLiferayPluginProjectOpMethods.java:93)
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:119)
Contains: The app.server.dir(D:\portal\ce\612\sdk612\liferay-plugins-sdk-6.1.2/../bundles/tomcat-7.0.40) is not valid.