You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Ron Gavlin (JIRA)" <tu...@ws.apache.org> on 2007/04/30 19:20:15 UTC

[jira] Created: (TUSCANY-1237) DAS should support JDK 1.4

DAS should support JDK 1.4
--------------------------

                 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


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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-1237) DAS should support JDK 1.4

Posted by "Ron Gavlin (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ron Gavlin updated TUSCANY-1237:
--------------------------------

    Attachment: das-TUSCANY-1237.patch

> DAS should support JDK 1.4
> --------------------------
>
>                 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.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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Commented: (TUSCANY-1237) DAS should support JDK 1.4

Posted by "Ron Gavlin (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12511391 ] 

Ron Gavlin commented on TUSCANY-1237:
-------------------------------------

Hi Amita,

Yes, the ConnectionImpl.java change is the only "real" change in this patch from the first. Thanks for reviewing and applying this patch for me.

- Ron

> DAS should support JDK 1.4
> --------------------------
>
>                 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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Commented: (TUSCANY-1237) DAS should support JDK 1.4 runtime

Posted by "Paul Golick (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12511813 ] 

Paul Golick commented on TUSCANY-1237:
--------------------------------------

When you compile with the JDK 5 compiler, even though you specify that the class files use the 1.4 format, your users can get runtime errors with a 1.4.2 compiler because a class file can refer to methods or classes that are not available in a 1.4.2 class library.
At least occasional compilation with a 1.4.2 compiler is necessary to ensure that only features available in a 1.4.2 class library are referenced in the generated class files.

> 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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Assigned: (TUSCANY-1237) DAS should support JDK 1.4 runtime

Posted by "Luciano Resende (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Luciano Resende reassigned TUSCANY-1237:
----------------------------------------

    Assignee: Luciano Resende

> 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
>            Assignee: Luciano Resende
>             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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-1237) DAS should support JDK 1.4 runtime

Posted by "Ron Gavlin (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ron Gavlin updated TUSCANY-1237:
--------------------------------

    Summary: DAS should support JDK 1.4 runtime  (was: DAS should support JDK 1.4)

> 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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Commented: (TUSCANY-1237) DAS should support JDK 1.4 runtime

Posted by "Amita Vadhavkar (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12511716 ] 

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

Thank you very much Ron. Will you please let me know what are the exact steps you took to check that these changes support Java 1.4 Runtime. i.e. after applying patch to the latest from trunk, what exact steps do I need to take to say conclusively about RDB DAS's JRE 1.4 compliance.

This is because,  at present due to SDO issues, mvn test can not run with JAVA_HOME set to 1.4 version,
as it  get exceptions. And mvn compile anyway uses 1.5 compiler (as you said, The pom.xml in this patch still uses the JDK 5 compiler however it is now configured to generate JDK 1.4-compatible class files.) How do we
ensure that these classes are JRE 1.4 compatible?

> 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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Commented: (TUSCANY-1237) DAS should support JDK 1.4

Posted by "Amita Vadhavkar (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12511338 ] 

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

Hi Ron,
I am trying to take a look at the patch you have submitted. Please let me know what is the difference
in latest patch over the previous patch? is it just in ConnectionImpl.java , or any other places too?

Regards,
Amita

> DAS should support JDK 1.4
> --------------------------
>
>                 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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-1237) DAS should support JDK 1.4

Posted by "Ron Gavlin (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ron Gavlin updated TUSCANY-1237:
--------------------------------

    Attachment: das-TUSCANY-1237.2.patch

I have attached an updated patch for the current DAS trunk. Let me know if you have questions.

- Ron

> DAS should support JDK 1.4
> --------------------------
>
>                 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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Commented: (TUSCANY-1237) DAS should support JDK 1.4

Posted by "Ron Gavlin (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12511627 ] 

Ron Gavlin commented on TUSCANY-1237:
-------------------------------------

Amita,

The intention of this patch is to support JDK 1.4+ as a RUNTIME and not to support the JDK 1.4+ compiler itself. The pom.xml in this patch still uses the JDK 5 compiler however it is now configured to generate JDK 1.4-compatible class files. The SDO build is configured identically. This patch just brings the DAS build into alignment with the current SDO build which is sufficient for my purposes.

It would be pretty straightforward to take the DAS build a step further and support the JDK 1.4 compiler. The SDO build would require more work since one or two non-runtime classes have real dependencies on JDK 5 features. 

A potential enhancement to both the SDO and DAS builds would be to configure their tests to run using a JDK 1.4+ runtime. It might make sense to open another JIRA to track that enhancement if you think it makes sense.

Let me know if you have add'l questions.

- Ron


> DAS should support JDK 1.4
> --------------------------
>
>                 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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Commented: (TUSCANY-1237) DAS should support JDK 1.4

Posted by "Ron Gavlin (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12508866 ] 

Ron Gavlin commented on TUSCANY-1237:
-------------------------------------

I am preparing a patch for this issue. The changes are fairly benign. Is it too late for the patch to be included in the next release? If not, when would you need the patch submitted in order to include it?

Thanks,

- Ron

> DAS should support JDK 1.4
> --------------------------
>
>                 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
>
>
> 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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Commented: (TUSCANY-1237) DAS should support JDK 1.4 runtime

Posted by "Ron Gavlin (JIRA)" <tu...@ws.apache.org>.
    [ 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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Commented: (TUSCANY-1237) DAS should support JDK 1.4

Posted by "Luciano Resende (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12511341 ] 

Luciano Resende commented on TUSCANY-1237:
------------------------------------------

Thanks Amita for helping, Ron's first patch was based on an old revision of DAS and I was having problems applying it, so I asked him to update it to the latest revision, so it shouldn't  have much changes, unless any changes that went into the code like the one you mentioned in ConnectionImpl.java. But I'll leave to Ron to see if there are any other changes between the two patches.

> DAS should support JDK 1.4
> --------------------------
>
>                 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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-1237) DAS should support JDK 1.4

Posted by "Ron Gavlin (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ron Gavlin updated TUSCANY-1237:
--------------------------------

    Patch Info: [Patch Available]

> DAS should support JDK 1.4
> --------------------------
>
>                 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.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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Commented: (TUSCANY-1237) DAS should support JDK 1.4

Posted by "Ron Gavlin (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12508907 ] 

Ron Gavlin commented on TUSCANY-1237:
-------------------------------------

My proposal is to modify the DAS pom maven-compiler-plugin configuration to specify 1.4 for both the source and target. This is similar to the approach taken by the SDO sub-project. A few of the sample modules (companyweb & ajax)currently use meaningful JDK 5 features. Should I leave these as JDK 5 samples or downgrade them also to use only 1.4 features. Let me know.

- Ron

> DAS should support JDK 1.4
> --------------------------
>
>                 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
>
>
> 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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Commented: (TUSCANY-1237) DAS should support JDK 1.4 runtime

Posted by "Amita Vadhavkar (JIRA)" <tu...@ws.apache.org>.
    [ 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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Resolved: (TUSCANY-1237) DAS should support JDK 1.4 runtime

Posted by "Luciano Resende (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Luciano Resende resolved TUSCANY-1237.
--------------------------------------

    Resolution: Fixed

Patch applied under revision #557695. Thanks 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
>            Assignee: Luciano Resende
>             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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org