留言板

Sdk Location not valid

Lou Mali,修改在7 年前。

Sdk Location not valid

New Member 发布: 1 加入日期: 16-5-3 最近的帖子
Hi,

I'm trying to create a new plugin according to the beginner's tutorial but I got this message

" The app.server.deploy.dir(C:\liferay\tools\liferay-plugins-sdk-6.2/../bundles/tomcat-7.0.62/webapps) is not valid."

(Check the screenshot for more precision).

I don't know how to get rid of it.

I read that I must create a bundle.Username.properties but I don't know where to get the username of my computer.

Lou Mali
thumbnail
David H Nebinger,修改在7 年前。

RE: Sdk Location not valid

Liferay Legend 帖子: 14919 加入日期: 06-9-2 最近的帖子
So the app.server.deploy.dir should point to an actual tomcat deployed with Liferay. Usually we don't have to set this one directly, just pointing "app.server.dir" at a valid bundle with a tomcat is enough, the regular props should determine the rest of the vars appropriately.

You're pointing at your SDK dir, but you likely have a "build.<username>.properties" which is pointing at an invalid bundle.
thumbnail
David H Nebinger,修改在7 年前。

RE: Sdk Location not valid

Liferay Legend 帖子: 14919 加入日期: 06-9-2 最近的帖子
you don't use "//" syntax, the regular unix paths with a single / always work.

the only time you may have to double is if you use the windoze \ char since it is also the standard escape indicator (i.e. \n or \t), so you sometimes have to use \\.