Thanks,
From initial tests that seems to work.
Kevin Bauer
| "Kevin Williams"
<[EMAIL PROTECTED]>
01/25/2006 01:04 PM
|
|
I believe that this addition to the das/rdb pom.xml will produce a 1.4
compatible jar.
<build>
<plugins>
<!-- Produce a 1.4 compatible jar -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.4</source>
<target>1.4</target>
</configuration>
</plugin>
Please let me know if this works.
--Kevin
Kevin Williams wrote:
> 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
>>
>>
>>
>>
>>
>
>
>
>
>
