You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by dee factorial <de...@gmail.com> on 2006/11/25 22:39:19 UTC

Build errors

I'm having trouble compiling Jetspeed 2 using the tutorial found here
http://wiki.apache.org/portals/Jetspeed2/ThirdPartyDatabaseBuild?highlight=%28mvn%29

When I call mvn
I get this error

hot-deploy-jar:
[INFO] Executed tasks
[INFO]
----------------------------------------------------------------------------
[INFO] Building Jetspeed-2 Deploy Tools
[INFO]    task-segment: [install]
[INFO]
----------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [antrun:run {execution: page-manager-testdata}]
[INFO] Executing tasks

resources:
     [copy] Copying 1 file to
/home/deefactorial/J2/components/deploy-tool/target/classes/org/apache/jetspeed/tools/deploy
[INFO] Executed tasks
[INFO] [compiler:compile]
Compiling 7 source files to
/home/deefactorial/J2/components/deploy-tool/target/classes
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure

/home/deefactorial/J2/components/deploy-tool/src/java/org/apache/jetspeed/tools/deploy/JetspeedWebApplicationRewriter.java:[21,31]
package org.apache.commons.lang does not exist

/home/deefactorial/J2/components/deploy-tool/src/java/org/apache/jetspeed/tools/deploy/JetspeedWebApplicationRewriter.java:[228,15]
cannot find symbol
symbol  : variable StringUtils
location: class
org.apache.jetspeed.tools.deploy.JetspeedWebApplicationRewriter


it seems as though the commons-lang.jar isn't being added to the classpath.
I checked the maven repository and it downloaded two commons-lang jars. 2.0and
2.1

is there any way to find out how the jars are added to the classpath I'm
guessing its an ant thing.