Problem build alfresco from SVN

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-25-2010 12:12 PM
Hi,
I do:
1. download from svn the latest revision: svn co http://svn.alfresco.com/repos/alfresco-open-mirror/alfresco
2. dowload tomcat 6 from apache servers and untar in /opt, so i've the directory /opt/tomcat6
3. Copy /opt/tomcat6 to /opt/tomcat6-virtual
4. Add the environment variable: JAVA_HOME=/usr/lib/jvm/java-6-sun (It's correct in Debian)
5. Add the environment:
export TOMCAT_HOME=/opt/tomcat6
export APP_TOMCAT_HOME=/opt/tomcat6
export VIRTUAL_TOMCAT_HOME=/opt/tomcat6-virtual
6. I'm go the directory from SVN in my system for example: /home/donpimpom/SVN/alfresco/HEAD/root and wirte in console: ant build-tomcat
But i get this error:
Buildfile: /home/donpimpom/SVN/alfresco/HEAD/root/build.xml
BUILD FAILED
Target "continuous-init" does not exist in the project "alfresco". It is used from target "distribute-command-jars".
Total time: 0 seconds
What append??
I follow the wiki guide: http://wiki.alfresco.com/wiki/Development_Environment
Thanks.
I do:
1. download from svn the latest revision: svn co http://svn.alfresco.com/repos/alfresco-open-mirror/alfresco
2. dowload tomcat 6 from apache servers and untar in /opt, so i've the directory /opt/tomcat6
3. Copy /opt/tomcat6 to /opt/tomcat6-virtual
4. Add the environment variable: JAVA_HOME=/usr/lib/jvm/java-6-sun (It's correct in Debian)
5. Add the environment:
export TOMCAT_HOME=/opt/tomcat6
export APP_TOMCAT_HOME=/opt/tomcat6
export VIRTUAL_TOMCAT_HOME=/opt/tomcat6-virtual
6. I'm go the directory from SVN in my system for example: /home/donpimpom/SVN/alfresco/HEAD/root and wirte in console: ant build-tomcat
But i get this error:
Buildfile: /home/donpimpom/SVN/alfresco/HEAD/root/build.xml
BUILD FAILED
Target "continuous-init" does not exist in the project "alfresco". It is used from target "distribute-command-jars".
Total time: 0 seconds
What append??
I follow the wiki guide: http://wiki.alfresco.com/wiki/Development_Environment
Thanks.
Labels:
- Labels:
-
Archive
7 REPLIES 7
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-25-2010 01:32 PM
You've done nothing wrong - it's a problem with our build files in HEAD.
For now, remove the "distribute-command-jars" target from build.xml.
Thanks,
Mike
For now, remove the "distribute-command-jars" target from build.xml.
Thanks,
Mike

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-25-2010 04:58 PM
Perfect!
But….now, when it build it, the console log say that directory …..HEAD/root/${env.TOMCAT_HOME}/lib not exit.
In my Eclipse, I've configured env.TOMCAT_HOME variable equals to /opt/tomcat6 where i've got tomcat6.
What happend now?
Thank's
But….now, when it build it, the console log say that directory …..HEAD/root/${env.TOMCAT_HOME}/lib not exit.
In my Eclipse, I've configured env.TOMCAT_HOME variable equals to /opt/tomcat6 where i've got tomcat6.
What happend now?
Thank's
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-26-2010 04:41 AM
Not sure what your other problem is (what's the build.xml line it's failing on?) but the original issue is now fixed in r19981
Thanks,
Mike
Thanks,
Mike

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-07-2010 02:56 PM
Not sure what your other problem is (what's the build.xml line it's failing on?) but the original issue is now fixed in r19981
I just ran into this myself. It's line 566 of build.xml for me…
/home/scott/source/Alfresco/HEAD/root/build.xml:566: Directory does not exist:/home/scott/source/Alfresco/HEAD/root/${env.TOMCAT_HOME}/lib
TOMCAT_HOME is set to /opt/tomcat/apache-tomcat-6.0.29 and "lib" exists under that. This is SVN revision 22282 checked out last night. Any ideas? Thanks!
Scott

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-08-2010 09:52 AM
Nevermind. Sleep is a good thing. So is the 'export' keyword in bash.
Scott
Scott

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-05-2010 07:14 AM
@ scott,
I am also getting the same error . Did u get rid of this error ?? "Directory does not exist .. /HEAD/root/${env.TOMCAT_HOME}/lib" ?? pls respond
thanks ,
thomas
I am also getting the same error . Did u get rid of this error ?? "Directory does not exist .. /HEAD/root/${env.TOMCAT_HOME}/lib" ?? pls respond
thanks ,
thomas
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-17-2011 02:28 AM
hi
You can see from the error that ${env.TOMCAT_HOME} is not replaced with the path which you specified. I came across this error and its probably due to setting up the path with normal user. Set the path switching to root if you are in linux and then build with sudo will solve your issue.
You can see from the error that ${env.TOMCAT_HOME} is not replaced with the path which you specified. I came across this error and its probably due to setting up the path with normal user. Set the path switching to root if you are in linux and then build with sudo will solve your issue.
