留言板

Liferay Plugin SDK 7.0 with Wildly on Mac OS X

Andrew Knight,修改在7 年前。

Liferay Plugin SDK 7.0 with Wildly on Mac OS X

New Member 帖子: 5 加入日期: 16-6-26 最近的帖子
Hello All,

I am running Liferay 7.0 on a Mac and using IDE 3.0.1. During the final step of creating a Liferay Portlet, I am asked to provide the location of the Liferay SDK. For me the location is /Users/[username]/com.liferay.portal.plugins.sdk-7.0. In this directory I have modified the build.liferay.properties to reflect a wildly app server. I did not install Liferay manually. I downloaded the Wildly bundle from the developer site.

When I provide the above directory as the home for the SDK, I get the following error:

The app.server.type(wildfly) server is not supported by Liferay IDE.

Here are the lines I changed in build.liferay.properties:

Commented out tomcat
#app.server.type=tomcat
Uncommented wildly
app.server.type=wildfly

Changed the parent dir to point to the Liferay Portal bundle that includes Wildly
app.server.parent.dir=/Users/liferay/liferay-portal-7.0

Included appropriate paths for the following Wildly entries
app.server.wildfly.dir=/Users/liferay/liferay-portal-7.0/wildfly-10.0.0
app.server.wildfly.deploy.dir=/Users/liferay/liferay-portal-7.0/wildfly-10.0.0/standalone/deployments
app.server.wildfly.lib.global.dir=/Users/liferay/liferay-portal-7.0/wildfly-10.0.0/modules/com/liferay/portal/main
app.server.wildfly.portal.dir=/Users/liferay/liferay-portal-7.0/wildfly-10.0.0/standalone/deployments/ROOT.war

Other than removing a few comment lines, I have made no other alterations to this file; however, I did try a version of the file with all other app server entries like Tomcat, Web Logic, and Web Sphere, etc. removed from the file. I had the same results with the smaller file.

I searched for a while to sort this, but I have not found any similar questions that address this error. I have looked closely at the documentation, but I don't seem to be able to find the right combination. Any help would be greatly appreciated.

Once I have this up and running I will provide a full final solution here for other Mac users.

Thanks,
Andrew
thumbnail
Andy Wu,修改在7 年前。

RE: Liferay Plugin SDK 7.0 with Wildly on Mac OS X

Regular Member 帖子: 195 加入日期: 15-5-5 最近的帖子
Hi Andrew .
I am searching this issue but I would like to recommend you a module way to develop liferay 7 projects via "New Liferay Module Project" wizard.emoticon
Jeffrey Saler,修改在7 年前。

RE: Liferay Plugin SDK 7.0 with Wildly on Mac OS X

New Member 帖子: 4 加入日期: 16-6-21 最近的帖子
I get the same error message trying to create a portlet with the plugin SDK running on Windows.
Jeffrey Saler,修改在7 年前。

RE: Liferay Plugin SDK 7.0 with Wildly on Mac OS X

New Member 帖子: 4 加入日期: 16-6-21 最近的帖子
I tried the Module Project wizard (choosing Ant) and got the same error message "The app.server.type(wildfly) is not supported by Liferay IDE. I am trying to create a simple portlet that will show up in the Applications list, so that I can drag and drop it into my site. So far I have created an "Independent Module" which appears to have no components or portlets associated with it. I think I am missing some .xml files. I was hoping to use the Liferay IDE wizard to create a portlet which would have all the necessary configuration files created for me.
thumbnail
Andy Wu,修改在7 年前。

RE: Liferay Plugin SDK 7.0 with Wildly on Mac OS X

Regular Member 帖子: 195 加入日期: 15-5-5 最近的帖子
hey Jeffrey , we remove the xml configuration file in liferay 7 module(osgi) project , and you can see the configuration is in the java file in component annotation.
thumbnail
Andy Wu,修改在7 年前。

RE: Liferay Plugin SDK 7.0 with Wildly on Mac OS X

Regular Member 帖子: 195 加入日期: 15-5-5 最近的帖子
hey Andrew , thanks for your report , we can say now it is a bug , and we are fixing it. So in our next release ide3.1 , it will be fine . emoticon
Andrew Knight,修改在7 年前。

RE: Liferay Plugin SDK 7.0 with Wildly on Mac OS X

New Member 帖子: 5 加入日期: 16-6-26 最近的帖子
Hey Andy,

Thanks for chasing this down. I will keep working as you suggested until 3.1. I look forward to the update.