Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.0
    • Fix Version/s: 1.1
    • Component/s: Jackrabbit
    • Labels:
      None

      Activity

      Hide
      Joerg Bellmann added a comment -

      Hi,

      I have no idea, if this is the right way to do it, so please don't kill me, if it's not.

      SEJCR seems not very active the last months and JCR 2.0 Support is requested by some users. Maybe I can support you to 'reactivate' this extension project. I invested some hours to put the current state of the sejcr-code into a git repository, wich will be attached as a zip to this comment.

      It contains the state of trunk when imported to the git repository (some days ago) in the master branch and a branch called 1.0.x (1.0.0.RELEASE does not exist, maybe this branch can be used for 1.0.x development). The tag 0.9 from 'tags/releases/' of svn repository. Further it contains a branch called 'develop'. This branch is an updated version of se-jcr. All dependencies are updated to their latest releases. JackRabbit (2.3.4), Spring (3.1.0.RCx), javax.jcr (2.0), SLF4J (1.6.4), JTA (1.1). Unused dependencies are removed. I replaced many deprecated api-usages with the recommended. I added some additional Testcases to reflect and test updated JCR-API such as using 'LockManager' instead of 'Session.lock(...)'. FactoryBeans are updated to use generics. And many minor cleaning. All Tests are 'green'.

      It would be good for this extension if it would be moved to Git (GitHub, where all other SpringSource-projects are based now, of if it is not 'cool enough' for GitHub to Gitorious (git.springsource.org).

      I will invest more time in se-jcr and jcr in general if this could be made possible and there will be some guidance from SpringSource.

      Thank you.
      Jörg

      (Sorry for my english)

      Show
      Joerg Bellmann added a comment - Hi, I have no idea, if this is the right way to do it, so please don't kill me, if it's not. SEJCR seems not very active the last months and JCR 2.0 Support is requested by some users. Maybe I can support you to 'reactivate' this extension project. I invested some hours to put the current state of the sejcr-code into a git repository, wich will be attached as a zip to this comment. It contains the state of trunk when imported to the git repository (some days ago) in the master branch and a branch called 1.0.x (1.0.0.RELEASE does not exist, maybe this branch can be used for 1.0.x development). The tag 0.9 from 'tags/releases/' of svn repository. Further it contains a branch called 'develop'. This branch is an updated version of se-jcr. All dependencies are updated to their latest releases. JackRabbit (2.3.4), Spring (3.1.0.RCx), javax.jcr (2.0), SLF4J (1.6.4), JTA (1.1). Unused dependencies are removed. I replaced many deprecated api-usages with the recommended. I added some additional Testcases to reflect and test updated JCR-API such as using 'LockManager' instead of 'Session.lock(...)'. FactoryBeans are updated to use generics. And many minor cleaning. All Tests are 'green'. It would be good for this extension if it would be moved to Git (GitHub, where all other SpringSource-projects are based now, of if it is not 'cool enough' for GitHub to Gitorious (git.springsource.org). I will invest more time in se-jcr and jcr in general if this could be made possible and there will be some guidance from SpringSource. Thank you. Jörg (Sorry for my english)
      Hide
      Joerg Bellmann added a comment -

      latest state of se-jcr from svn and updated version in an git repository.

      Show
      Joerg Bellmann added a comment - latest state of se-jcr from svn and updated version in an git repository.
      Hide
      Nicolas Dos Santos added a comment -

      I cannot find your git repository, and I am interested by the branch 'develop'
      Could you please attach it as a zip ?

      Show
      Nicolas Dos Santos added a comment - I cannot find your git repository, and I am interested by the branch 'develop' Could you please attach it as a zip ?
      Hide
      Joerg Bellmann added a comment -

      Hi Nicolas,

      sorry for the late response. Seems to me I got no messages when someone comment the issues.

      The zip is always there. See the Attachment-Section of this issue. Here is the direct link:

      https://jira.springsource.org/secure/attachment/19214/se_jcr.zip

      Cheers
      Jörg

      Show
      Joerg Bellmann added a comment - Hi Nicolas, sorry for the late response. Seems to me I got no messages when someone comment the issues. The zip is always there. See the Attachment-Section of this issue. Here is the direct link: https://jira.springsource.org/secure/attachment/19214/se_jcr.zip Cheers Jörg
      Hide
      Joerg Bellmann added a comment -

      Hi Nicolas,

      I created an git-repo on github too :

      https://github.com/jbellmann/jcr-springextension

      Hope you find it useful.

      Jörg

      Show
      Joerg Bellmann added a comment - Hi Nicolas, I created an git-repo on github too : https://github.com/jbellmann/jcr-springextension Hope you find it useful. Jörg
      Hide
      Nicolas Dos Santos added a comment -

      Thanks a lot!

      I just saw your comments. Me too I did not receive a message.

      I also made other little changes to se-jcr.
      If you're interested, here are the changes:

      • in the pom.xml file:
        <easymock.version> 3.1 </ easymock.version>
        <easymockclassextension.version> 3.1 </ easymockclassextension.version>
        
      • In the JcrModel1Operations interface:
        replace
        public Map query (final List list);

        by

        public Map <String, QueryResult> query (final List <String> list);
      • In the JcrTemplate class :
        replace
        public Map query (final List list) {
            return query (list, null, false);
        }
        

        by

        public Map <String, QueryResult> query (final <String> List list) {
            return query (list, null, false);
        }
        
      • In the JcrSessionFactory class, I removed a warning on Map.Entry:
        // Do the registration
        for (Map.Entry<?,?> entry: namespaces.entrySet ()) {
            String prefix = (String) entry.getKey ();
            String Ns = (String) entry.getValue ();
            ...
        }
        

      Cheers
      Nicolas

      Show
      Nicolas Dos Santos added a comment - Thanks a lot! I just saw your comments. Me too I did not receive a message. I also made other little changes to se-jcr. If you're interested, here are the changes: in the pom.xml file: <easymock.version> 3.1 </ easymock.version> <easymockclassextension.version> 3.1 </ easymockclassextension.version> In the JcrModel1Operations interface: replace public Map query ( final List list); by public Map < String , QueryResult> query ( final List < String > list); In the JcrTemplate class : replace public Map query ( final List list) { return query (list, null , false ); } by public Map < String , QueryResult> query ( final < String > List list) { return query (list, null , false ); } In the JcrSessionFactory class, I removed a warning on Map.Entry: // Do the registration for (Map.Entry<?,?> entry: namespaces.entrySet ()) { String prefix = ( String ) entry.getKey (); String Ns = ( String ) entry.getValue (); ... } Cheers Nicolas
      Hide
      Savvas Triantafyllou added a comment -

      Hi Joerg,

      congratulations for your work in https://github.com/jbellmann/jcr-springextension .

      Do you have any plans on when a release will be available from a public maven repository?

      Currently, we have been able to build and install a snapshot in our
      maven repository but we would like to release our open source project
      and to do so we must have a release of this module.

      However, it is not a good idea to deploy a release of this module in our maven repository.

      Regards,
      Savvas

      Show
      Savvas Triantafyllou added a comment - Hi Joerg, congratulations for your work in https://github.com/jbellmann/jcr-springextension . Do you have any plans on when a release will be available from a public maven repository? Currently, we have been able to build and install a snapshot in our maven repository but we would like to release our open source project and to do so we must have a release of this module. However, it is not a good idea to deploy a release of this module in our maven repository. Regards, Savvas
      Hide
      Joerg Bellmann added a comment -

      Hi all,

      sorry, as mentioned above, no messages arrived me that you comment to this issue. So sorry again for the late response.

      @Nicolas
      If your snippets work I will integrate them. No question.

      @Savvas
      That could be problematic. The groupId for this project is 'org.springframework' and I won't get permission to publish any artifact with this groupId. But we can use github as Maven-Repository for this artifacts. So you have to declare it in your pom-files. Is this possible for you?

      But I think I will trying to contact the spring-team again to get a regular repository at springsource.github.com.

      Cheers,
      Jörg

      Show
      Joerg Bellmann added a comment - Hi all, sorry, as mentioned above, no messages arrived me that you comment to this issue. So sorry again for the late response. @Nicolas If your snippets work I will integrate them. No question. @Savvas That could be problematic. The groupId for this project is 'org.springframework' and I won't get permission to publish any artifact with this groupId. But we can use github as Maven-Repository for this artifacts. So you have to declare it in your pom-files. Is this possible for you? But I think I will trying to contact the spring-team again to get a regular repository at springsource.github.com. Cheers, Jörg

        People

        • Assignee:
          Paul Chapman
          Reporter:
          Salvatore Incandela
        • Votes:
          6 Vote for this issue
          Watchers:
          7 Start watching this issue

          Dates

          • Created:
            Updated: