You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Martin van den Bemt (JIRA)" <ji...@apache.org> on 2005/09/06 23:16:30 UTC

[jira] Created: (JCR-208) tck doesn't compile (use of enum keyword)

tck doesn't compile (use of enum keyword)
-----------------------------------------

         Key: JCR-208
         URL: http://issues.apache.org/jira/browse/JCR-208
     Project: Jackrabbit
        Type: Bug
  Components: TCK  
 Environment: java 1.4 or bigger.
    Reporter: Martin van den Bemt


Use if enum keyword in TestFinder (patch will be attached)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (JCR-208) tck doesn't compile (use of enum keyword)

Posted by "Martin van den Bemt (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/JCR-208?page=comments#action_12322781 ] 

Martin van den Bemt commented on JCR-208:
-----------------------------------------

Besides that the tests all fail out of the box, but that was noted already as far as I can see.

> tck doesn't compile (use of enum keyword)
> -----------------------------------------
>
>          Key: JCR-208
>          URL: http://issues.apache.org/jira/browse/JCR-208
>      Project: Jackrabbit
>         Type: Bug
>   Components: TCK
>  Environment: java 1.4 or bigger.
>     Reporter: Martin van den Bemt
>  Attachments: projectxmlpatch.txt, testfinderpatch.txt
>
> Use if enum keyword in TestFinder (patch will be attached)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (JCR-208) tck doesn't compile (use of enum keyword)

Posted by "Marcel Reutegger (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JCR-208?page=all ]
     
Marcel Reutegger resolved JCR-208:
----------------------------------

    Resolution: Fixed

Thanks for the patches Martin.

However I've only committed the TestFinder changes. The jcr.jar has intentionally been omitted, because it is assumed that the TCK war is deployed in an environment that already contains the jcr.jar. If we would add it to the war file, the classses would be visible twice, which results in ClassCastExceptions in most application servers or servlet engines.

Regarding the failing test cases: did you configure the TCK webapp, to tell it which repository to test?

> tck doesn't compile (use of enum keyword)
> -----------------------------------------
>
>          Key: JCR-208
>          URL: http://issues.apache.org/jira/browse/JCR-208
>      Project: Jackrabbit
>         Type: Bug
>   Components: TCK
>  Environment: java 1.4 or bigger.
>     Reporter: Martin van den Bemt
>  Attachments: projectxmlpatch.txt, testfinderpatch.txt
>
> Use if enum keyword in TestFinder (patch will be attached)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (JCR-208) tck doesn't compile (use of enum keyword)

Posted by "Martin van den Bemt (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JCR-208?page=all ]

Martin van den Bemt updated JCR-208:
------------------------------------

    Attachment: projectxmlpatch.txt

Another patch. The war is missing the jcr jar in the war. Added a property to the project.xml

> tck doesn't compile (use of enum keyword)
> -----------------------------------------
>
>          Key: JCR-208
>          URL: http://issues.apache.org/jira/browse/JCR-208
>      Project: Jackrabbit
>         Type: Bug
>   Components: TCK
>  Environment: java 1.4 or bigger.
>     Reporter: Martin van den Bemt
>  Attachments: projectxmlpatch.txt, testfinderpatch.txt
>
> Use if enum keyword in TestFinder (patch will be attached)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (JCR-208) tck doesn't compile (use of enum keyword)

Posted by "Martin van den Bemt (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JCR-208?page=all ]

Martin van den Bemt updated JCR-208:
------------------------------------

    Attachment: testfinderpatch.txt

Have fun..

> tck doesn't compile (use of enum keyword)
> -----------------------------------------
>
>          Key: JCR-208
>          URL: http://issues.apache.org/jira/browse/JCR-208
>      Project: Jackrabbit
>         Type: Bug
>   Components: TCK
>  Environment: java 1.4 or bigger.
>     Reporter: Martin van den Bemt
>  Attachments: testfinderpatch.txt
>
> Use if enum keyword in TestFinder (patch will be attached)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Closed: (JCR-208) tck doesn't compile (use of enum keyword)

Posted by "Marcel Reutegger (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JCR-208?page=all ]
     
Marcel Reutegger closed JCR-208:
--------------------------------


Fixed in revision: 280299

> tck doesn't compile (use of enum keyword)
> -----------------------------------------
>
>          Key: JCR-208
>          URL: http://issues.apache.org/jira/browse/JCR-208
>      Project: Jackrabbit
>         Type: Bug
>   Components: TCK
>  Environment: java 1.4 or bigger.
>     Reporter: Martin van den Bemt
>  Attachments: projectxmlpatch.txt, testfinderpatch.txt
>
> Use if enum keyword in TestFinder (patch will be attached)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira