cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot compile trunk nor alpha4

rrusin
Champ in-the-making
Champ in-the-making
Hello,

I tried simple mvn install on trunk and alpha4, but I get those errors: (I tried JDK 1.5 and 1.6) and Maven 2.2.1

[INFO] ————————————————————————
[INFO] Building Activiti - Engine
[INFO]    task-segment: [clean, install]
[INFO] ————————————————————————
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory /media/joker/dev/bpmn2/activiti/modules/activiti-engine/target
[INFO] [resources:resources {execution: default-resources}]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 25 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 293 source files to /media/joker/dev/bpmn2/activiti/modules/activiti-engine/target/classes
[INFO] ————————————————————————
[ERROR] BUILD FAILURE
[INFO] ————————————————————————
[INFO] Compilation failure

/media/joker/dev/bpmn2/activiti/modules/activiti-engine/src/main/java/org/activiti/engine/impl/cfg/spring/ProcessEngineFactoryBean.java:[38,40] package org.springframe
work.beans.factory does not exist

/media/joker/dev/bpmn2/activiti/modules/activiti-engine/src/main/java/org/activiti/engine/impl/cfg/spring/ProcessEngineFactoryBean.java:[39,40] package org.springframework.beans.factory does not exist

/media/joker/dev/bpmn2/activiti/modules/activiti-engine/src/main/java/org/activiti/engine/impl/cfg/spring/ProcessEngineFactoryBean.java:[40,34] package org.springframework.core.io does not exist

/media/joker/dev/bpmn2/activiti/modules/activiti-engine/src/main/java/org/activiti/engine/impl/cfg/spring/ProcessEngineFactoryBean.java:[41,34] package org.springframework.core.io does not exist

/media/joker/dev/bpmn2/activiti/modules/activiti-engine/src/main/java/org/activiti/engine/impl/cfg/spring/ProcessEngineFactoryBean.java:[42,34] package org.springframework.core.io does not exist

/media/joker/dev/bpmn2/activiti/modules/activiti-engine/src/main/java/org/activiti/engine/impl/cfg/spring/ProcessEngineFactoryBean.java:[53,49] cannot find symbol
symbol: class FactoryBean
public class ProcessEngineFactoryBean implements FactoryBean<ProcessEngine>, DisposableBean {


How can I compile Activiti?

Regards
2 REPLIES 2

tombaeyens
Champ in-the-making
Champ in-the-making
alpha 4 should be compilable
trunk is currently broken.  should be fixed by the end of the week.

rrusin
Champ in-the-making
Champ in-the-making
Cool.

I compiled successfully alpha4 after adding those deps:

Index: modules/activiti-engine/pom.xml
===================================================================
— modules/activiti-engine/pom.xml (wersja 327)
+++ modules/activiti-engine/pom.xml (kopia robocza)
@@ -47,6 +47,16 @@
   </dependency>
   <dependency>
    <groupId>org.springframework</groupId>
+   <artifactId>spring-beans</artifactId>
+   <optional>true</optional>
+  </dependency>
+  <dependency>
+   <groupId>org.springframework</groupId>
+   <artifactId>spring-core</artifactId>
+   <optional>true</optional>
+  </dependency>
+  <dependency>
+   <groupId>org.springframework</groupId>
    <artifactId>spring-tx</artifactId>
    <optional>true</optional>
   </dependency>
Index: pom.xml
===================================================================
— pom.xml (wersja 327)
+++ pom.xml (kopia robocza)
@@ -93,6 +93,16 @@
     <version>${spring.framework.version}</version>
    </dependency>
    <dependency>
+    <groupId>org.springframework</groupId>
+    <artifactId>spring-beans</artifactId>
+    <version>${spring.framework.version}</version>
+   </dependency>
+   <dependency>
+    <groupId>org.springframework</groupId>
+    <artifactId>spring-core</artifactId>
+    <version>${spring.framework.version}</version>
+   </dependency>
+   <dependency>
     <groupId>org.mybatis</groupId>
     <artifactId>mybatis</artifactId>
     <version>3.0.1</version>

Regards