Liferay Portal Packaging for Ubuntu

2 Comments

Hi,

I’m looking for someone can mentoring me doing the packaging for Liferay. Btw, some intro about Liferay can be found here . I’ve found PPA package by Alberto Montero Asenjo but seem not up2date with the current stable version. I already try contact him and waiting for him to respond. While waiting for him, I’m asking other people who has knowledge of packaging Liferay come to make a team for liferay. I’ve try but gaining this error even i already specify ANT_OPTS in my .bashrc , here is the output :

$ debuild -S
dpkg-buildpackage -rfakeroot -d -us -uc -S
dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor):
dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): -Wl,-Bsymbolic-functions
dpkg-buildpackage: source package liferayportal6.0-tomcat6
dpkg-buildpackage: source version 6.0.6ppa1ubuntu1
dpkg-buildpackage: source changed by Khairul Aizat Kamarudzzaman <fenris@ubuntu.com>
dpkg-source –before-build liferay-portal-src-6.0.6
fakeroot debian/rules clean
if [ ! -d "" ]; then \
JDK_DIRS=”/usr/lib/jvm/java-6-openjdk /usr/lib/jvm/java-6-sun /usr/lib/jvm/java-1.5.0-sun /usr/lib/j2sdk1.5-sun /usr/lib/j2sdk1.5-ibm”;\
for jdir in $JDK_DIRS; do \
if [ -r "$jdir/bin/javac" -a -z "" ]; then \
echo “export JAVA_HOME=\”$jdir\”" > “/tmp/java-homeXXSKJJKJIOU”; \
fi;\
done;\
if [ ! -e "/tmp/java-homeXXSKJJKJIOU" ]; then \
echo “No JDK was found”;\
exit;\
fi;\
fi
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
# Add here commands to clean up after the build process.
. “/tmp/java-homeXXSKJJKJIOU” && ant clean
Buildfile: /home/fenris/workspace/packaging/liferay/PPA/liferay-portal-src-6.0.6/build.xml

BUILD FAILED
/home/fenris/workspace/packaging/liferay/PPA/liferay-portal-src-6.0.6/build.xml:6: The following error occurred while executing this line:
/home/fenris/workspace/packaging/liferay/PPA/liferay-portal-src-6.0.6/build-common.xml:245: .

Please set the environment variable ANT_OPTS to the recommended value of
“-Xmx1024m -XX:MaxPermSize=256m”.

Total time: 1 second
make: *** [clean] Error 1
dpkg-buildpackage: error: fakeroot debian/rules clean gave error exit status 2
debuild: fatal error at line 1348:
dpkg-buildpackage -rfakeroot -d -us -uc -S failed

Im also looking at Liferay packaging status in debian (http://wiki.debian.org/Java/LiferayPackaging) looks like some job need to be completed. My goals for this liferay portal is it can be inside of Ubuntu Repo soon ……

2 Comments (+add yours?)

  1. ludovicc
    Jan 15, 2012 @ 23:31:57

    Contact the Debian Java team, you will find some help there. It would be nice if you could pick up the packaging work from Damien.
    Ludovic.

  2. fenris
    Jan 16, 2012 @ 20:09:28

    thanks ludovic for your comment .. yes for sure ill try to contact Damien

Leave a Reply

You must be logged in to post a comment.

Get Adobe Flash playerPlugin by wpburn.com wordpress themes
This blog is protected by Dave\\\\\\\'s Spam Karma 2: 64635 Spams eaten and counting...