AnsweredAssumed Answered

Problems while building activiti from source

Question asked by stanstarks on Dec 3, 2011
Latest reply on Dec 5, 2011 by stanstarks
I tried to build activiti from the source by following Activiti developers guide.
http://docs.codehaus.org/display/ACT/Developers+Guide
But when I run 'ant clean distro', it seems unable to find any packages.
After installing these jars manually,
aopalliance-1.0.jar
asm-commons-3.2.jar
cglib-2.2.jar
commons-codec-1.2.jar
doxia-modules-apt.1.1.2.jar
maven-common-artifacts-filters-1.3.jar
maven-surefire-common-2.7.1.jar
plexus-utils-2.0.5.jar
spring-jdbc-3.0.3.RELEASE.jar
spring-orm-3.0.3.RELEASE.jar
surefire-api-2.7.1.jar
surefire-booter-2.7.1.jar

There are errors when building activiti spring:
[exec] ——————————————————-
     [exec]  T E S T S
     [exec] ——————————————————-
     [exec] Running org.activiti.spring.test.expression.SpringLimitedExpressionsTest
     [exec] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.719 sec
     [exec] Running org.activiti.spring.test.taskassignment.CustomTaskAssignmentTest
     [exec] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.267 sec
     [exec] Running org.activiti.spring.test.jpa.JPASpringTest
     [exec] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.93 sec <<< FAILURE!
     [exec] Running org.activiti.spring.test.taskListener.TaskListenerSpringTest
     [exec] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.654 sec
     [exec] Running org.activiti.spring.test.junit4.SpringJunit4Test
     [exec] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.566 sec
     [exec] Running org.activiti.spring.test.servicetask.ServiceTaskSpringDelegationTest
     [exec] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.891 sec
     [exec] Running org.activiti.spring.test.components.scope.ScopingTest
     [exec] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.65 sec <<< FAILURE!
     [exec] Running org.activiti.spring.test.components.ProcessStartingBeanPostProcessorTest
     [exec] Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 1.198 sec <<< FAILURE!
     [exec] Running org.activiti.spring.test.transaction.SpringTransactionIntegrationTest
     [exec] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.524 sec <<< FAILURE!
     [exec] Running org.activiti.spring.test.autodeployment.SpringAutoDeployTest
     [exec] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.095 sec
     [exec]
     [exec] Results :
     [exec]
     [exec] Tests in error:
     [exec]   testJpaVariableHappyPath(org.activiti.spring.test.jpa.JPASpringTest)
     [exec]   testJpaVariableDisapprovalPath(org.activiti.spring.test.jpa.JPASpringTest)
     [exec]   testUsingAnInjectedScopedProxy(org.activiti.spring.test.components.scope.ScopingTest)
     [exec]   testStartingAProcessWithScopedBeans(org.activiti.spring.test.components.scope.ScopingTest)
     [exec]   testReturnedProcessInstance(org.activiti.spring.test.components.ProcessStartingBeanPostProcessorTest)
     [exec]   testReflectingSideEffects(org.activiti.spring.test.components.ProcessStartingBeanPostProcessorTest)
     [exec]   testUsingBusinessKey(org.activiti.spring.test.components.ProcessStartingBeanPostProcessorTest)
     [exec]   testLaunchingProcessInstance(org.activiti.spring.test.components.ProcessStartingBeanPostProcessorTest)
     [exec]   testBasicActivitiSpringIntegration(org.activiti.spring.test.transaction.SpringTransactionIntegrationTest)
     [exec]   testRollbackTransactionOnActivitiException(org.activiti.spring.test.transaction.SpringTransactionIntegrationTest)
What should I do?

Outcomes