You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Kathey Marsden (JIRA)" <ji...@apache.org> on 2010/08/20 23:23:16 UTC

[jira] Created: (DERBY-4782) Add Xalan xml-apis.jar to tools/java for test runs with jvms that don't include its classes

Add Xalan xml-apis.jar to tools/java for test runs with jvms that don't include its classes
-------------------------------------------------------------------------------------------

                 Key: DERBY-4782
                 URL: https://issues.apache.org/jira/browse/DERBY-4782
             Project: Derby
          Issue Type: Sub-task
          Components: Test
    Affects Versions: 10.7.0.0
            Reporter: Kathey Marsden


In DERBY-3702 xml-apis.jar was removed from tools/java because it is no longer needed by the build but it does seem to be needed for test runs with weme  (DERBY-4781)  and perhaps other jvms.   Add it back in so it will be readily available for those runs.


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


[jira] Commented: (DERBY-4782) Add Xalan xml-apis.jar to tools/java for test runs with jvms that don't include its classes

Posted by "C.S. Nirmal J. Fernando (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DERBY-4782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12901399#action_12901399 ] 

C.S. Nirmal J. Fernando commented on DERBY-4782:
------------------------------------------------

Hi Knut,

The problem is XplainStatistics use some imports from those libraries, such as "import org.w3c.dom.Document;". Therefore though we checks for the XML requirements in the classpath, the build will fail. 

We didn't encounter a problem in our environments since Sun jdk's include those classes.

Thanks.

> Add Xalan xml-apis.jar to tools/java for test runs with jvms that don't include its classes
> -------------------------------------------------------------------------------------------
>
>                 Key: DERBY-4782
>                 URL: https://issues.apache.org/jira/browse/DERBY-4782
>             Project: Derby
>          Issue Type: Sub-task
>          Components: Test
>    Affects Versions: 10.7.0.0
>            Reporter: Kathey Marsden
>
> In DERBY-3702 xml-apis.jar was removed from tools/java because it is no longer needed by the build but it does seem to be needed for test runs with weme  (DERBY-4781)  and perhaps other jvms.   Add it back in so it will be readily available for those runs.

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


[jira] Resolved: (DERBY-4782) Add Xalan xml-apis.jar to tools/java for test runs with jvms that don't include its classes

Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-4782?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Knut Anders Hatlen resolved DERBY-4782.
---------------------------------------

    Resolution: Won't Fix

Resolving as won't fix since we found another solution for DERBY-4781.

> Add Xalan xml-apis.jar to tools/java for test runs with jvms that don't include its classes
> -------------------------------------------------------------------------------------------
>
>                 Key: DERBY-4782
>                 URL: https://issues.apache.org/jira/browse/DERBY-4782
>             Project: Derby
>          Issue Type: Sub-task
>          Components: Test
>    Affects Versions: 10.7.0.0
>            Reporter: Kathey Marsden
>
> In DERBY-3702 xml-apis.jar was removed from tools/java because it is no longer needed by the build but it does seem to be needed for test runs with weme  (DERBY-4781)  and perhaps other jvms.   Add it back in so it will be readily available for those runs.

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


[jira] Commented: (DERBY-4782) Add Xalan xml-apis.jar to tools/java for test runs with jvms that don't include its classes

Posted by "Kathey Marsden (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DERBY-4782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12901917#action_12901917 ] 

Kathey Marsden commented on DERBY-4782:
---------------------------------------

I think it would still be good to have it available to improve coverage when it is not built in to the jdk/jre distribution. Are their any objections to checking it in?


> Add Xalan xml-apis.jar to tools/java for test runs with jvms that don't include its classes
> -------------------------------------------------------------------------------------------
>
>                 Key: DERBY-4782
>                 URL: https://issues.apache.org/jira/browse/DERBY-4782
>             Project: Derby
>          Issue Type: Sub-task
>          Components: Test
>    Affects Versions: 10.7.0.0
>            Reporter: Kathey Marsden
>
> In DERBY-3702 xml-apis.jar was removed from tools/java because it is no longer needed by the build but it does seem to be needed for test runs with weme  (DERBY-4781)  and perhaps other jvms.   Add it back in so it will be readily available for those runs.

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


[jira] Commented: (DERBY-4782) Add Xalan xml-apis.jar to tools/java for test runs with jvms that don't include its classes

Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DERBY-4782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12901375#action_12901375 ] 

Knut Anders Hatlen commented on DERBY-4782:
-------------------------------------------

Other tests that require XML support are disabled (typically using XML.classpathHasXalanAndJAXP() or XML.classpathMeetsXMLReqs()) if those classes are missing. Would it be possible to handle XplainStatisticsTest the same way?

> Add Xalan xml-apis.jar to tools/java for test runs with jvms that don't include its classes
> -------------------------------------------------------------------------------------------
>
>                 Key: DERBY-4782
>                 URL: https://issues.apache.org/jira/browse/DERBY-4782
>             Project: Derby
>          Issue Type: Sub-task
>          Components: Test
>    Affects Versions: 10.7.0.0
>            Reporter: Kathey Marsden
>
> In DERBY-3702 xml-apis.jar was removed from tools/java because it is no longer needed by the build but it does seem to be needed for test runs with weme  (DERBY-4781)  and perhaps other jvms.   Add it back in so it will be readily available for those runs.

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


[jira] Commented: (DERBY-4782) Add Xalan xml-apis.jar to tools/java for test runs with jvms that don't include its classes

Posted by "Rick Hillegas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DERBY-4782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12901955#action_12901955 ] 

Rick Hillegas commented on DERBY-4782:
--------------------------------------

Hi Kathey,

What platforms are you concerned about? The contents of xml-apis.jar are in the JRE for all of the platforms which Derby supports (jdk 1.4 on up) except for CDC/FP 1.1. I can see that we might want to document more limitations of the small platform here: http://db.apache.org/derby/docs/10.6/ref/ref-single.html#rrefjdbcjsr169 However, that page does allude to the fact that XML is not supported on small platforms.

I can see that someone might want to test the combination of CDC/FP 1.1 + XML. Conversely, someone else might want to test small platforms as they exist in the wild, without being supplemented with capabilities which Derby does not claim to support.  I would rather place the burden on the first class of people. That is, I would prefer that testers have to manually add xml-apis.jar rather than manually remove it.

Thanks,
-Rick

> Add Xalan xml-apis.jar to tools/java for test runs with jvms that don't include its classes
> -------------------------------------------------------------------------------------------
>
>                 Key: DERBY-4782
>                 URL: https://issues.apache.org/jira/browse/DERBY-4782
>             Project: Derby
>          Issue Type: Sub-task
>          Components: Test
>    Affects Versions: 10.7.0.0
>            Reporter: Kathey Marsden
>
> In DERBY-3702 xml-apis.jar was removed from tools/java because it is no longer needed by the build but it does seem to be needed for test runs with weme  (DERBY-4781)  and perhaps other jvms.   Add it back in so it will be readily available for those runs.

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


[jira] Commented: (DERBY-4782) Add Xalan xml-apis.jar to tools/java for test runs with jvms that don't include its classes

Posted by "Kathey Marsden (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DERBY-4782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12902148#action_12902148 ] 

Kathey Marsden commented on DERBY-4782:
---------------------------------------

As a result of this issue , Myrna came to notice that xml  tests are not running with IBM 1.5 and 1.6. I am not sure if additional jars will be required for that or if it is some other issue.  I think it is fine to leave them out for the sake J2ME if we document there is no XML support.



> Add Xalan xml-apis.jar to tools/java for test runs with jvms that don't include its classes
> -------------------------------------------------------------------------------------------
>
>                 Key: DERBY-4782
>                 URL: https://issues.apache.org/jira/browse/DERBY-4782
>             Project: Derby
>          Issue Type: Sub-task
>          Components: Test
>    Affects Versions: 10.7.0.0
>            Reporter: Kathey Marsden
>
> In DERBY-3702 xml-apis.jar was removed from tools/java because it is no longer needed by the build but it does seem to be needed for test runs with weme  (DERBY-4781)  and perhaps other jvms.   Add it back in so it will be readily available for those runs.

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