cancel
Showing results for 
Search instead for 
Did you mean: 

Compile and deploy Alfresco

zengqingyi12
Champ in-the-making
Champ in-the-making
Hi, I want to compile alfresco and deploy it.
But when I try to run the alfresco from Build.xml,
I encounter such a problem :

Buildfile: C:\share\AlfrescoSourceCode\root\build.xml
init:
     [echo] user.home = C:\Documents and Settings\dennis
compile-core:
package-core:
incremental-core:
compile-webscriptframework:
package-webscriptframework-jar:
compile-jlan:
package-jlan:
incremental-jlan:
compile-mbeans:
package-mbeans:
incremental-mbeans:
compile-deployment:
package-deployment-jar:
assemble-deployment:
package-deployment-zip:
package-deployment:
incremental-deployment:
compile-repository-java:
    [javac] Compiling 2235 source files to C:\share\AlfrescoSourceCode\root\projects\repository\build\classes

The ant will stop at
"[javac] Compiling 2235 source files to C:\share\AlfrescoSourceCode\root\projects\repository\build\classes"
And never continue, I tried run at build-tomcat or other method, but it doesn't work, It always stop at the first compile.

Any help will be appreciated,,,,Thanks
5 REPLIES 5

derek
Star Contributor
Star Contributor
What version of ANT and the JDK are you using?  (ANT_HOME and JAVA_HOME)
There should be nothing wrong with what you've done; does your machine have enough disk space, memory, etc?

zengqingyi12
Champ in-the-making
Champ in-the-making
I have used eclipse and netbeans to compile, I just do as the alfresco wiki told.
I use JDK 1.5.
And I retrieve the source code from SVN.
Do I need to offer any more information for you to help me compile the source file ?

derek
Star Contributor
Star Contributor
Sure.  Compile using ant from the command line if you want to package things up.
What build target are you using?

alfrescouser
Champ in-the-making
Champ in-the-making
Hello friend,
Did you compiled it successfully?

I am also getting problem in building it through command line using ant.
I am using apache ant 1.7.1.
Tomcat 6.0
JDK 1.6

Please tell me the steps to build it successfully.

Thanks in advance,

derek
Star Contributor
Star Contributor
I am also getting problem in building it through command line using ant.
I am using apache ant 1.7.1.
Tomcat 6.0
JDK 1.6
I'm curious, did you try to compile it with JDK 1.5 as well?