Uploaded image for project: 'Aries'
  1. Aries
  2. ARIES-1370

JPA main README.md file not up-to-date

    XMLWordPrintableJSON

Details

    • Documentation
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • jpa-2.0.0
    • jpa-2.4.0
    • JPA, Samples
    • None
    • jdk1.8, mvn 3.3.3, karaf 3.0.4, ubuntu lts

    Description

      File README.md in org.apache.aries.jpa.main-2.0.0/examples is outdated.

      To make things work (using ubuntu lts, karaf 3.0.4) had to perform (simple) changes in features and bundle version as described in patch:

      "
      — README.md 2015-06-16 14:48:08.000000000 +0200
      +++ /home/john/LABS/ARIES-Samples/org.apache.aries.jpa.main-2.0.0/examples/README.md 2015-08-08 19:14:26.015376238 +0200
      @@ -3,7 +3,7 @@

      1. copy DataSource config
        cat https://svn.apache.org/repos/asf/aries/trunk/jpa/examples/org.ops4j.datasource-tasklist.cfg | tac -f etc/org.ops4j.datasource-tasklist.cfg

      -feature:repo-add mvn:org.ops4j.pax.jdbc/pax-jdbc-features/0.6.0-SNAPSHOT/xml/features
      +feature:repo-add mvn:org.ops4j.pax.jdbc/pax-jdbc-features/0.6.0/xml/features
      feature:install scr transaction pax-jdbc-config pax-jdbc-h2 pax-jdbc-pool-dbcp2 http-whiteboard

      install -s mvn:org.hibernate.javax.persistence/hibernate-jpa-2.1-api/1.0.0.Final
      @@ -35,18 +35,18 @@

      1. Our JPA service implementation
        -install -s mvn:org.apache.aries.jpa/org.apache.aries.jpa.api/2.0.0-SNAPSHOT
        -install -s mvn:org.apache.aries.jpa/org.apache.aries.jpa.container/2.0.0-SNAPSHOT
        -install -s mvn:org.apache.aries.jpa/org.apache.aries.jpa.support/2.0.0-SNAPSHOT
        +install -s mvn:org.apache.aries.jpa/org.apache.aries.jpa.api/2.0.0
        +install -s mvn:org.apache.aries.jpa/org.apache.aries.jpa.container/2.0.0
        +install -s mvn:org.apache.aries.jpa/org.apache.aries.jpa.support/2.0.0
      1. Closure based example. (Make sure to start karaf with JDK 8)
        -install -s mvn:org.apache.aries.jpa.example/org.apache.aries.jpa.example.tasklist.model/2.0.0-SNAPSHOT
        -install -s mvn:org.apache.aries.jpa.example/org.apache.aries.jpa.example.tasklist.ds/2.0.0-SNAPSHOT
        +install -s mvn:org.apache.aries.jpa.example/org.apache.aries.jpa.example.tasklist.model/2.0.0
        +install -s mvn:org.apache.aries.jpa.example/org.apache.aries.jpa.example.tasklist.ds/2.0.0
      1. Blueprint based example
        -install -s mvn:org.apache.aries.jpa/org.apache.aries.jpa.blueprint/2.0.0-SNAPSHOT
        -install -s mvn:org.apache.aries.jpa.example/org.apache.aries.jpa.example.tasklist.model/2.0.0-SNAPSHOT
        -install -s mvn:org.apache.aries.jpa.example/org.apache.aries.jpa.example.tasklist.blueprint/2.0.0-SNAPSHOT
        +install -s mvn:org.apache.aries.jpa/org.apache.aries.jpa.blueprint/2.0.0
        +install -s mvn:org.apache.aries.jpa.example/org.apache.aries.jpa.example.tasklist.model/2.0.0
        +install -s mvn:org.apache.aries.jpa.example/org.apache.aries.jpa.example.tasklist.blueprint/2.0.0

      After installing the examples you can check for the services.
      "

      Attachments

        Activity

          People

            cschneider Christian Schneider
            GLR Giovanni La Rocca
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 5m
                5m
                Remaining:
                Remaining Estimate - 5m
                5m
                Logged:
                Time Spent - Not Specified
                Not Specified