掲示板

Sdk Location not valid

7年前 に Lou Mali によって更新されました。

Sdk Location not valid

New Member 投稿: 1 参加年月日: 16/05/03 最新の投稿
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
7年前 に David H Nebinger によって更新されました。

RE: Sdk Location not valid

Liferay Legend 投稿: 14919 参加年月日: 06/09/02 最新の投稿
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
7年前 に David H Nebinger によって更新されました。

RE: Sdk Location not valid

Liferay Legend 投稿: 14919 参加年月日: 06/09/02 最新の投稿
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 \\.