掲示板

Installing liferay on JBoss

thumbnail
7年前 に Roman Hoyenko によって更新されました。

Installing liferay on JBoss

Liferay Master 投稿: 878 参加年月日: 07/10/08 最新の投稿
I want to install liferay on JBoss, what is the preferred way to do it? I don't see a JBoss bundle there. Is it supported? Should I get the tomcat one and then put the required jars in? Maybe there is a manual somewhere.

I am trying to get the latest version.

I tried compiling from source, but that didn't work - it couldn't download some of the classes. I am behind proxy and updated that in the build.properties but it didn't help.

I also tried the Maven version that is supposed to download everything, but it also doesn't seem to be able to download even though I added this:
<target if="setproxy.proxy.host" name="setproxy">
<setproxy proxyhost="${setproxy.proxy.host}" proxyport="${setproxy.proxy.port}" />
</target>
to build.xml

and set variables up in build.properties.
thumbnail
7年前 に Juan Gonzalez によって更新されました。

RE: Installing liferay on JBoss

Liferay Legend 投稿: 3089 参加年月日: 08/10/28 最新の投稿
Which Liferay version?
thumbnail
7年前 に Roman Hoyenko によって更新されました。

RE: Installing liferay on JBoss

Liferay Master 投稿: 878 参加年月日: 07/10/08 最新の投稿
The latest. 7 ga3
thumbnail
7年前 に Roman Hoyenko によって更新されました。

RE: Installing liferay on JBoss

Liferay Master 投稿: 878 参加年月日: 07/10/08 最新の投稿
Anyone?
thumbnail
6年前 に Luiz Fernando Severnini によって更新されました。

RE: Installing liferay on JBoss

New Member 投稿: 2 参加年月日: 14/04/29 最新の投稿
Despite this is a little old post, but here is how I compiled Liferay 7.0x from source code behind an authenticated proxy.

I downloaded source code:
git clone -b 7.0.x https://github.com/liferay/liferay-portal.git --depth 1 liferay-portal-7-ce


In file build-common.xml

Put these properties after line of
<property environment="env" />

	<property name="setproxy.proxy.host" value="proxyserver" />
	<property name="setproxy.proxy.port" value="portnumber" />
	<property name="setproxy.proxy.user" value="username" />
	<property name="setproxy.proxy.pass" value="password" />


or

Put these properties in build.{user}.properties file
setproxy.proxy.host=proxyserver
setproxy.proxy.port=portnumber
setproxy.proxy.user=username
setproxy.proxy.pass=password


Configure Gradle and Maven as stated here
https://dev.liferay.com/pt/develop/tutorials/-/knowledge_base/7-0/setting-proxy-requirements-for-liferay-workspace

In file build-common.xml modify the setproxy ant task
from

	<target if="setproxy.proxy.host" name="setproxy">
		<setproxy proxyhost="${setproxy.proxy.host}" proxyport="${setproxy.proxy.port}" />
	</target>

to

	<target if="setproxy.proxy.host" name="setproxy">
		<setproxy proxyhost="${setproxy.proxy.host}" proxyport="${setproxy.proxy.port}" proxyuser="${setproxy.proxy.user}" proxypassword="${setproxy.proxy.pass}" />
	</target>


In file build-dist.xml
For every <target/> that contains <mirror-get/> add attribute "depends" as <target depends="setproxy">
Or change only for your choosed server, as in my case <target name="unzip-tomcat" depends="setproxy">

Maybe there is a simpler way but doing that worked for me and is ok for now :-)