03-18-2009 07:52 PM
BUILD FAILED
/home/yguilloux/Documents/Dev/Alfresco/HEAD/root/continuous.xml:270: Error while expanding /home/yguilloux/Documents/Dev/Alfresco/ALF-BINARIES/tomcat/apache-tomcat-5.5.25-virtserver-alfresco-1.1.zip
java.io.FileNotFoundException: /home/yguilloux/Documents/Dev/Alfresco/ALF-BINARIES/tomcat/apache-tomcat-5.5.25-virtserver-alfresco-1.1.zip (No such file or directory)
03-21-2009 02:21 AM
03-31-2009 04:57 AM
ant -f continuous.xml distribute
compile:
[javac] Compiling 113 source files to C:\Documents and Settings\user\Desktop
\Alfresco Last\HEAD\root\modules\sharepoint\amp\build\classes
[javac]
[javac]
[javac] The system is out of resources.
[javac] Consult the following stack trace for details.
[javac] java.lang.OutOfMemoryError: Java heap space
[javac] at com.sun.tools.javac.tree.TreeMaker.Modifiers(TreeMaker.java:4
43)
[javac] at com.sun.tools.javac.tree.TreeMaker.Modifiers(TreeMaker.java:4
50)
[javac] at com.sun.tools.javac.parser.Parser.blockStatements(Parser.java
:1555)
[javac] at com.sun.tools.javac.parser.Parser.block(Parser.java:1462)
[javac] at com.sun.tools.javac.parser.Parser.block(Parser.java:1476)
[javac] at com.sun.tools.javac.parser.Parser.methodDeclaratorRest(Parser
.java:2532)
[javac] at com.sun.tools.javac.parser.Parser.classOrInterfaceBodyDeclara
tion(Parser.java:2481)
[javac] at com.sun.tools.javac.parser.Parser.classOrInterfaceBody(Parser
.java:2408)
[javac] at com.sun.tools.javac.parser.Parser.classDeclaration(Parser.jav
a:2253)
[javac] at com.sun.tools.javac.parser.Parser.classOrInterfaceOrEnumDecla
ration(Parser.java:2191)
[javac] at com.sun.tools.javac.parser.Parser.typeDeclaration(Parser.java
:2180)
[javac] at com.sun.tools.javac.parser.Parser.compilationUnit(Parser.java
:2126)
[javac] at com.sun.tools.javac.main.JavaCompiler.parse(JavaCompiler.java
:509)
[javac] at com.sun.tools.javac.main.JavaCompiler.parse(JavaCompiler.java
:550)
[javac] at com.sun.tools.javac.main.JavaCompiler.parseFiles(JavaCompiler
.java:801)
[javac] at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.ja
va:727)
[javac] at com.sun.tools.javac.main.Main.compile(Main.java:353)
[javac] at com.sun.tools.javac.main.Main.compile(Main.java:279)
[javac] at com.sun.tools.javac.main.Main.compile(Main.java:270)
[javac] at com.sun.tools.javac.Main.compile(Main.java:69)
[javac] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[javac] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
[javac] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
[javac] at java.lang.reflect.Method.invoke(Method.java:597)
[javac] at org.apache.tools.ant.taskdefs.compilers.Javac13.execute(Javac
13.java:56)
[javac] at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:1065)
[javac] at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:882)
[javac] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
va:288)
[javac] at sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source)
[javac] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
[javac] at java.lang.reflect.Method.invoke(Method.java:597)
[javac] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchU
tils.java:106)
BUILD FAILED
C:\Documents and Settings\user\Desktop\Alfresco Last\HEAD\root\continuous.xml:97
0: The following error occurred while executing this line:
C:\Documents and Settings\user\Desktop\Alfresco Last\HEAD\root\modules\sharepoin
t\amp\build.xml:37: Compile failed; see the compiler error output for details.
Total time: 7 minutes 8 seconds
C:\Documents and Settings\user\Desktop\Alfresco Last\HEAD\root>
04-02-2009 06:02 AM
I have problems like you on the command:ant -f continuous.xml distribute
I have succesfully build the projects by running ant but when i try to run the above comment i get the following error,
I copied the part that fails the command:compile:
[javac] Compiling 113 source files to C:\Documents and Settings\user\Desktop
\Alfresco Last\HEAD\root\modules\sharepoint\amp\build\classes
[javac]
[javac]
[javac] The system is out of resources.
[javac] Consult the following stack trace for details.
[javac] java.lang.OutOfMemoryError: Java heap space
[javac] at com.sun.tools.javac.tree.TreeMaker.Modifiers(TreeMaker.java:4
43)
[javac] at com.sun.tools.javac.tree.TreeMaker.Modifiers(TreeMaker.java:4
50)
[javac] at com.sun.tools.javac.parser.Parser.blockStatements(Parser.java
:1555)
[javac] at com.sun.tools.javac.parser.Parser.block(Parser.java:1462)
[javac] at com.sun.tools.javac.parser.Parser.block(Parser.java:1476)
[javac] at com.sun.tools.javac.parser.Parser.methodDeclaratorRest(Parser
.java:2532)
[javac] at com.sun.tools.javac.parser.Parser.classOrInterfaceBodyDeclara
tion(Parser.java:2481)
[javac] at com.sun.tools.javac.parser.Parser.classOrInterfaceBody(Parser
.java:2408)
[javac] at com.sun.tools.javac.parser.Parser.classDeclaration(Parser.jav
a:2253)
[javac] at com.sun.tools.javac.parser.Parser.classOrInterfaceOrEnumDecla
ration(Parser.java:2191)
[javac] at com.sun.tools.javac.parser.Parser.typeDeclaration(Parser.java
:2180)
[javac] at com.sun.tools.javac.parser.Parser.compilationUnit(Parser.java
:2126)
[javac] at com.sun.tools.javac.main.JavaCompiler.parse(JavaCompiler.java
:509)
[javac] at com.sun.tools.javac.main.JavaCompiler.parse(JavaCompiler.java
:550)
[javac] at com.sun.tools.javac.main.JavaCompiler.parseFiles(JavaCompiler
.java:801)
[javac] at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.ja
va:727)
[javac] at com.sun.tools.javac.main.Main.compile(Main.java:353)
[javac] at com.sun.tools.javac.main.Main.compile(Main.java:279)
[javac] at com.sun.tools.javac.main.Main.compile(Main.java:270)
[javac] at com.sun.tools.javac.Main.compile(Main.java:69)
[javac] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[javac] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
[javac] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
[javac] at java.lang.reflect.Method.invoke(Method.java:597)
[javac] at org.apache.tools.ant.taskdefs.compilers.Javac13.execute(Javac
13.java:56)
[javac] at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:1065)
[javac] at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:882)
[javac] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
va:288)
[javac] at sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source)
[javac] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
[javac] at java.lang.reflect.Method.invoke(Method.java:597)
[javac] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchU
tils.java:106)
BUILD FAILED
C:\Documents and Settings\user\Desktop\Alfresco Last\HEAD\root\continuous.xml:97
0: The following error occurred while executing this line:
C:\Documents and Settings\user\Desktop\Alfresco Last\HEAD\root\modules\sharepoin
t\amp\build.xml:37: Compile failed; see the compiler error output for details.
Total time: 7 minutes 8 seconds
C:\Documents and Settings\user\Desktop\Alfresco Last\HEAD\root>
It seems that there is a problem with the java heap space. I increased the heap space to 1024m but i am getting the same error again.
Is there anybody that solves that problem.
Thanks,
Oral
04-07-2009 03:33 AM
04-25-2009 02:00 AM
Hello friend,
I am also getting the problem while running ant -f continuous.xml distribute command through command line .
If u get the solution ,could you Please post that..
Thanks,
Madhura
zip -r apache-tomcat-5.5.25-virtserver-alfresco-1.1.zip apache-tomcat-5.5.25-virtserver-alfresco-1.1
6.) move this new "apache-tomcat-5.5.25-virtserver-alfresco-1.1.zip" to ALF-BINARIES/tomcat folder.
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.