Although Tuscany as a whole is dependent on JDK 1.5, the RDB DAS is not. With Maven 1 you can build a 1.4 compatible JAR by dropping the following project.properties file into ... java/das/rdb:

   maven.compile.target=javac1.4
   maven.compile.fork=true
   maven.compile.source=1.4
   maven.compile.target=1.4

I'll determine the maven 2 equivalent and post it here later today.

--Kevin



Jeremy Boynes wrote:

Kevin Bauer wrote:
Everyone,

How can I build DAS with a JDK 1.4 runtime. I am trying to build DAS from the Tuscany site. I was able to run maven and compile the jar with a 1.5 JDK (but this jar will not work with a 1.4 JRE). When I tried to compile with a 1.4 runtime I got the following output...


<snip/>

java.lang.UnsupportedClassVersionError: org/apache/tuscany/das/rdb/test/suites/A
llTestsDerby (Unsupported major.minor version 49.0)

Tuscany requires JDK1.5 to build and run.

--
Jeremy





Reply via email to