Forums de discussion
Installing liferay on JBoss
Roman Hoyenko, modifié il y a 7 années.
Installing liferay on JBoss
Liferay Master Publications: 878 Date d'inscription: 08/10/07 Publications récentes
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.
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.
Juan Gonzalez, modifié il y a 7 années.
RE: Installing liferay on JBoss
Liferay Legend Publications: 3089 Date d'inscription: 28/10/08 Publications récentes
Which Liferay version?
Roman Hoyenko, modifié il y a 7 années.
RE: Installing liferay on JBoss
Liferay Master Publications: 878 Date d'inscription: 08/10/07 Publications récentes
The latest. 7 ga3
Roman Hoyenko, modifié il y a 7 années.
RE: Installing liferay on JBoss
Liferay Master Publications: 878 Date d'inscription: 08/10/07 Publications récentes
Anyone?
Luiz Fernando Severnini, modifié il y a 6 années.
RE: Installing liferay on JBoss
New Member Publications: 2 Date d'inscription: 29/04/14 Publications récentes
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:
In file build-common.xml
Put these properties after line of
or
Put these properties in build.{user}.properties file
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
to
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 :-)
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 :-)