Nicolas Raoul
Nicolas Raoul

Reputation: 60213

Can't set WorkspaceProject root folder as project directory

In Liferay Developer Studio I have created Liferay modules in the past, but now I can't seem to be able to create any:

enter image description here

Whatever the name I enter, I am told:

Can't set WorkspaceProject root folder as project directory.

What am I doing wrong?

Upvotes: 0

Views: 636

Answers (2)

Peter Petrekanics
Peter Petrekanics

Reputation: 181

I ran into the same problem with Liferay Developer Studio 3.1.2.
If you set your Liferay Workspace to be the same as the Eclipse workspace, you will face this issue.
I solved the problem by:
deleting the default "liferay-workspace" and then creating a "workspaces" folder for Eclipse and a "Workspace1" folder for liferay (within Studio).
Within Studio, the root folder is now called "Workspace1" and I can set up gradle.properties to specify where the plugins should be deployed.
Modules can be created without issues now.

Upvotes: 0

Hitesh
Hitesh

Reputation: 66

The project cannot be inside liferay-workspace, it is its base folder. It needs to be inside theme or modules folder.

Then it will a create project for you over there once you click finish.

Upvotes: 1

Related Questions