[ 
https://issues.apache.org/jira/browse/TUSCANY-1237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12512084
 ] 

Amita Vadhavkar commented on TUSCANY-1237:
------------------------------------------

When DAS compilation happens on JDK 5 and tests are run using JDK 1.4
(with JAVA_HOME set for 1.4 and pom changes as below for surefire plugin:-
        <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
                <configuration>
                    <includes>
                        <include>**/*TestCase.java</include>
                    </includes>
                    
<argLine>-Djava.endorsed.dirs=path_for_xerces-2_9_0</argLine>
                </configuration>
)
All DAS tests run with no errors.

Also, checked that, post DAS (SDO class generation), DAS classes (core+samples) 
can be compiled under JDK 1.4 and with the above setup , tests run with no 
failures. (This can "partially" serve the concern above from Paul )

For Samples:-
Tomcat 5 has JDK 1.4 Compatability Package:  under bin distro. But Tomcat 6 
does not have such one.
As we are stating our samples run on Tomcat 6, I am not sure, if we can go with 
JDK 1.4 as far as Samples
are considered.

Regards,
Amita

> DAS should support JDK 1.4 runtime
> ----------------------------------
>
>                 Key: TUSCANY-1237
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1237
>             Project: Tuscany
>          Issue Type: Improvement
>          Components: Java DAS RDB
>         Environment: Windows, Sun JDK 1.4.2_11
>            Reporter: Ron Gavlin
>             Fix For: Java-DAS-Next
>
>         Attachments: das-TUSCANY-1237.2.patch, das-TUSCANY-1237.patch
>
>
> Tuscany DAS should support JDK 1.4. Since Tuscany DAS leverages SDO, it would 
> seem to make sense for the DAS
> JDK requirements to be sync'd with the Tuscany SDO JDK requirements. Tuscany 
> SDO currently supports JDK 1.4+. After browsing the DAS source code, there 
> appear to be only a few places that leverage JDK 1.5 features. These could 
> easily be replaced with JDK 1.4 functions. Please consider supporting JDK 1.4 
> until SDO 3 is released at which time I presume SDO will require JDK 1.5.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to