Forums de discussion
Building the Social Office Trunk using the Liferay IDE
Lekan Omotayo, modifié il y a 13 années.
Building the Social Office Trunk using the Liferay IDE
New Member Publications: 11 Date d'inscription: 02/02/11 Publications récentes
Hi guys,
I can across a tutorial of the same title as above, which as you can imagine will help extend social office (http://www.liferay.com/community/wiki/-/wiki/Main/Building+the+Social+Office+Trunk+using+the+Liferay+IDE).
However, the part of the tutorial that recommends you build the "all" target in build.xml of the liferay portal source keeps failing. See trace of error displayed below:
Buildfile: D:\Systems Development\Programming\Enterprise Collaboration\Liferay\liferay-portal-trunk\build.xml
all:
clean:
clean:
clean:
clean:
[delete] Deleting directory D:\Systems Development\Programming\Enterprise Collaboration\Liferay\liferay-portal-trunk\portal-service\classes
clean:
clean:
clean:
clean:
build-common-java.clean:
build-common-web.clean:
clean:
clean-themes:
clean:
clean:
build-common-java.clean:
print-current-time:
[echo] February 27, 2011 at 09:27 AM
start:
compile:
compile:
[mkdir] Created dir: D:\Systems Development\Programming\Enterprise Collaboration\Liferay\liferay-portal-trunk\portal-service\classes
[copy] Copying 1 file to D:\Systems Development\Programming\Enterprise Collaboration\Liferay\liferay-portal-trunk\portal-service\classes
[copy] Copied 262 empty directories to 204 empty directories under D:\Systems Development\Programming\Enterprise Collaboration\Liferay\liferay-portal-trunk\portal-service\classes
[javac] Compiling 3434 source files to D:\Systems Development\Programming\Enterprise Collaboration\Liferay\liferay-portal-trunk\portal-service\classes
[javac] ----------
[javac] 1. ERROR in D:\Systems Development\Programming\Enterprise Collaboration\Liferay\liferay-portal-trunk\portal-service\src\com\liferay\portlet\social\service\persistence\SocialActivityFinderUtil.java (at line 0)
[javac] /**
[javac] ^
[javac] Internal compiler error: java.lang.OutOfMemoryError: Java heap space at org.eclipse.jdt.internal.compiler.util.Util.getInputStreamAsCharArray(Util.java:401)
[javac] ----------
BUILD FAILED
D:\Systems Development\Programming\Enterprise Collaboration\Liferay\liferay-portal-trunk\build.xml:10: The following error occurred while executing this line:
D:\Systems Development\Programming\Enterprise Collaboration\Liferay\liferay-portal-trunk\build.xml:885: The following error occurred while executing this line:
D:\Systems Development\Programming\Enterprise Collaboration\Liferay\liferay-portal-trunk\build.xml:129: The following error occurred while executing this line:
D:\Systems Development\Programming\Enterprise Collaboration\Liferay\liferay-portal-trunk\portal-service\build.xml:30: java.lang.reflect.InvocationTargetException
Total time: 39 seconds
I can across a tutorial of the same title as above, which as you can imagine will help extend social office (http://www.liferay.com/community/wiki/-/wiki/Main/Building+the+Social+Office+Trunk+using+the+Liferay+IDE).
However, the part of the tutorial that recommends you build the "all" target in build.xml of the liferay portal source keeps failing. See trace of error displayed below:
Buildfile: D:\Systems Development\Programming\Enterprise Collaboration\Liferay\liferay-portal-trunk\build.xml
all:
clean:
clean:
clean:
clean:
[delete] Deleting directory D:\Systems Development\Programming\Enterprise Collaboration\Liferay\liferay-portal-trunk\portal-service\classes
clean:
clean:
clean:
clean:
build-common-java.clean:
build-common-web.clean:
clean:
clean-themes:
clean:
clean:
build-common-java.clean:
print-current-time:
[echo] February 27, 2011 at 09:27 AM
start:
compile:
compile:
[mkdir] Created dir: D:\Systems Development\Programming\Enterprise Collaboration\Liferay\liferay-portal-trunk\portal-service\classes
[copy] Copying 1 file to D:\Systems Development\Programming\Enterprise Collaboration\Liferay\liferay-portal-trunk\portal-service\classes
[copy] Copied 262 empty directories to 204 empty directories under D:\Systems Development\Programming\Enterprise Collaboration\Liferay\liferay-portal-trunk\portal-service\classes
[javac] Compiling 3434 source files to D:\Systems Development\Programming\Enterprise Collaboration\Liferay\liferay-portal-trunk\portal-service\classes
[javac] ----------
[javac] 1. ERROR in D:\Systems Development\Programming\Enterprise Collaboration\Liferay\liferay-portal-trunk\portal-service\src\com\liferay\portlet\social\service\persistence\SocialActivityFinderUtil.java (at line 0)
[javac] /**
[javac] ^
[javac] Internal compiler error: java.lang.OutOfMemoryError: Java heap space at org.eclipse.jdt.internal.compiler.util.Util.getInputStreamAsCharArray(Util.java:401)
[javac] ----------
BUILD FAILED
D:\Systems Development\Programming\Enterprise Collaboration\Liferay\liferay-portal-trunk\build.xml:10: The following error occurred while executing this line:
D:\Systems Development\Programming\Enterprise Collaboration\Liferay\liferay-portal-trunk\build.xml:885: The following error occurred while executing this line:
D:\Systems Development\Programming\Enterprise Collaboration\Liferay\liferay-portal-trunk\build.xml:129: The following error occurred while executing this line:
D:\Systems Development\Programming\Enterprise Collaboration\Liferay\liferay-portal-trunk\portal-service\build.xml:30: java.lang.reflect.InvocationTargetException
Total time: 39 seconds
jelmer kuperus, modifié il y a 13 années.
RE: Building the Social Office Trunk using the Liferay IDE
Liferay Legend Publications: 1191 Date d'inscription: 10/03/10 Publications récentes
It's running out of memory
Before starting ant try to change your memory settings
eg. on linux / mac / bsd:
on windows :
Before starting ant try to change your memory settings
eg. on linux / mac / bsd:
export ANT_OPTS="-Xmx1024m"
on windows :
set ANT_OPTS="-Xmx1024m"