[
https://issues.apache.org/jira/browse/TUSCANY-1237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12511763
]
Ron Gavlin commented on TUSCANY-1237:
-------------------------------------
Hi Amita,
Since Tuscany SDO relies on the EMF XSD library, the instructions in the
following note are relevant:
http://www.eclipse.org/modeling/emf/downloads/install.php. In a nutshell, bugs
in the Crimson parser included in the Sun JRE 1.4 require that you:
1. Download Apache Xerces 2.6.2+ (I recommend 2.8)
2. Include -Djava.endorsed.dirs=<path-to-your-xerces-jars-folder> on the java
command line when you invoke SDO applications.
To ensure that the Tuscany DAS and SDO classes are JRE 1.4 compatible, I run
both the SDO and DAS mvn tests using JAVA_HOME set to 1.4 version. The
maven-surefire-plugin has a jvm property to control which JVM is used to run
tests. Maybe the profile driving the automated Continuum build could set the
jvm property to ensure SDO and DAS tests are run using a 1.4 JRE. What do you
think?
- Ron
> 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]