Activiti

make activiti compatible with jdk 5

Details

  • Type: Task Task
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 5.0.beta2
  • Component/s: None
  • Labels:
    None
  • Number of attachments :
    0

Description

also update this warning in the userguide:

Required software
JVM 5+ (Known Limitation: Currently Activiti only runs on JDK 6! Also see ACT-49: make activiti compatible with jdk 5 )
Ant 1.7.1+

Issue Links

Activity

Hide
Tom Baeyens added a comment -
Show
Tom Baeyens added a comment - related forum thread http://forums.activiti.org/en/viewtopic.php?f=4&t=15
Hide
Falko Menge added a comment -

One of our customers tried to build Activiti with JDK 5 and found out that the JSR-223 Scripting API while being part of the JDK 6 libraries is not included in JDK 5. I just commited a fix (http://fisheye.codehaus.org/changelog/activiti/?cs=606), which adds the following Maven dependency:
<dependency>
<groupId>org.livetribe</groupId>
<artifactId>livetribe-jsr223</artifactId>
<version>2.0.6</version>
<type>jar</type>
<scope>compile</scope>
</dependency>

Show
Falko Menge added a comment - One of our customers tried to build Activiti with JDK 5 and found out that the JSR-223 Scripting API while being part of the JDK 6 libraries is not included in JDK 5. I just commited a fix (http://fisheye.codehaus.org/changelog/activiti/?cs=606), which adds the following Maven dependency: <dependency> <groupId>org.livetribe</groupId> <artifactId>livetribe-jsr223</artifactId> <version>2.0.6</version> <type>jar</type> <scope>compile</scope> </dependency>
Hide
Falko Menge added a comment -

While testing the JSR-223 fix, I stumbled upon org.activiti.engine.impl.ant.LaunchTask calling the method canExecute() of java.io.File, which doesn't exist in Java 5.

Show
Falko Menge added a comment - While testing the JSR-223 fix, I stumbled upon org.activiti.engine.impl.ant.LaunchTask calling the method canExecute() of java.io.File, which doesn't exist in Java 5.
Hide
Falko Menge added a comment -

I guess, it would be helpful to have a continuous integration system building Activiti with JDK 5, if all developers are using JDK 6 on their machines.

Show
Falko Menge added a comment - I guess, it would be helpful to have a continuous integration system building Activiti with JDK 5, if all developers are using JDK 6 on their machines.
Hide
Frederik Heremans added a comment -

Maven compiler plugin set to sourcelevel 1.5 and fixed all violations is codebase.
Bamboo builds the 'Activiti - Check' using JDK 5 from now on.

Show
Frederik Heremans added a comment - Maven compiler plugin set to sourcelevel 1.5 and fixed all violations is codebase. Bamboo builds the 'Activiti - Check' using JDK 5 from now on.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: