OpenJPA
  1. OpenJPA
  2. OPENJPA-1751

New openbooks and image-gallery samples are not in the binary assembly

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.0
    • Fix Version/s: 2.1.0
    • Component/s: build / infrastructure
    • Labels:
      None

      Description

      only openjpa-examples/src is getting included in the examples subdir in the binary assembly

        Activity

        Hide
        Donald Woods added a comment -

        Binary assembly now includes image-gallery and openbooks source.
        Existing examples were moved to openjpa-examples/simple and ANT files updated with new $

        {root}

        path.

        Show
        Donald Woods added a comment - Binary assembly now includes image-gallery and openbooks source. Existing examples were moved to openjpa-examples/simple and ANT files updated with new $ {root} path.
        Hide
        Donald Woods added a comment -

        OK, looks like the OpenBooks ANT build is causing failures on Linux....
        [INFO] ------------------------------------------------------------------------
        [ERROR] BUILD ERROR
        [INFO] ------------------------------------------------------------------------
        [INFO] An Ant BuildException has occured: The following error occurred while executing this line:
        <http://hudson.zones.apache.org/hudson/job/OpenJPA-trunk/org.apache.openjpa.openjpa-examples$openbooks/ws/build.xml>:151: Unable to find a javac compiler;
        com.sun.tools.javac.Main is not on the classpath.
        Perhaps JAVA_HOME does not point to the JDK.
        It is currently set to "/home/hudson/tools/java/jdk1.6.0_20-32/jre"

        Show
        Donald Woods added a comment - OK, looks like the OpenBooks ANT build is causing failures on Linux.... [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] An Ant BuildException has occured: The following error occurred while executing this line: < http://hudson.zones.apache.org/hudson/job/OpenJPA-trunk/org.apache.openjpa.openjpa-examples$openbooks/ws/build.xml >:151: Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK. It is currently set to "/home/hudson/tools/java/jdk1.6.0_20-32/jre"
        Hide
        Donald Woods added a comment -

        Had to update build.xml with
        <javac fork="true"
        as workaround to Maven overriding JAVA_HOME to point to JRE.
        Also, we can't upgrade to maven-antrun-plugin-1.4, as there are known problems with $

        {settings.localRepository}

        not working, but will be fixed in 1.5.

        Show
        Donald Woods added a comment - Had to update build.xml with <javac fork="true" as workaround to Maven overriding JAVA_HOME to point to JRE. Also, we can't upgrade to maven-antrun-plugin-1.4, as there are known problems with $ {settings.localRepository} not working, but will be fixed in 1.5.
        Hide
        Michael Dick added a comment -

        Closing issues which have been resolved for some time. If the problem persists, please reopen.

        Show
        Michael Dick added a comment - Closing issues which have been resolved for some time. If the problem persists, please reopen.

          People

          • Assignee:
            Donald Woods
            Reporter:
            Donald Woods
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development