Foros de discusión
Installing liferay on JBoss
Roman Hoyenko, modificado hace 7 años.
Installing liferay on JBoss
Liferay Master Mensajes: 878 Fecha de incorporación: 8/10/07 Mensajes recientes
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, modificado hace 7 años.
RE: Installing liferay on JBoss
Liferay Legend Mensajes: 3089 Fecha de incorporación: 28/10/08 Mensajes recientes
Which Liferay version?
Roman Hoyenko, modificado hace 7 años.
RE: Installing liferay on JBoss
Liferay Master Mensajes: 878 Fecha de incorporación: 8/10/07 Mensajes recientes
The latest. 7 ga3
Roman Hoyenko, modificado hace 7 años.
RE: Installing liferay on JBoss
Liferay Master Mensajes: 878 Fecha de incorporación: 8/10/07 Mensajes recientes
Anyone?
Luiz Fernando Severnini, modificado hace 6 años.
RE: Installing liferay on JBoss
New Member Mensajes: 2 Fecha de incorporación: 29/04/14 Mensajes recientes
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 :-)