cancel
Showing results for 
Search instead for 
Did you mean: 

Build Failed

yagumii
Champ in-the-making
Champ in-the-making
I copy alfresco source code in  c:\alfrescocode
and  follow Development Environment.
I  build the application for Tomcat  it build failed

BUILD FAILED
C:\alfrescocode\build.xml:43: The following error occurred while executing this
line:
C:\alfrescocode\build.xml:107: C:\alfrescocode\${env.TOMCAT_HOME}\common\lib not
found.

why?
2 REPLIES 2

rbramley
Champ in-the-making
Champ in-the-making
The build tries to copy the MySQL JDBC driver jar file to your app server (in your case Tomcat) lib folder.

Assuming that you already have JAVA_HOME and ANT_HOME set and their bin folders on your path, open a command prompt and type the following:

 set TOMCAT_HOME=c:\pathtoTomcat
cd \alfrescocode
ant build-tomcat  
‍‍‍‍

This will let Ant pick up the TOMCAT_HOME environment variable.

Hope this helps.

Robin

yagumii
Champ in-the-making
Champ in-the-making
Thak you very much  I'm build success.

But in folder alfresco in Tomcat after build success

has alfresco error note

error is

13:17:52,390 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
java.lang.ThreadDeath
…
13:17:52,390 ERROR [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/alfresco]] Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
java.lang.ThreadDeath
…
and other error
This error mean? and How I do

I'm use
Tomcat 5.5.12
Java 1.5.0
Ant 1.6.5
MySQL 5.0