You are viewing a plain text version of this content. The canonical link for it is here.
Posted to infrastructure-issues@apache.org by "Francesco Chicchiriccò (JIRA)" <ji...@apache.org> on 2016/06/27 07:25:52 UTC

[jira] [Commented] (INFRA-12170) JDK used to build openjpa docs is wrong

    [ https://issues.apache.org/jira/browse/INFRA-12170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15350512#comment-15350512 ] 

Francesco Chicchiriccò commented on INFRA-12170:
------------------------------------------------

I would apply this patch to the file reported above, please review:

{code}
Index: openjpa.conf
===================================================================
--- openjpa.conf        (revisione 991499)
+++ openjpa.conf        (copia locale)
@@ -80,10 +80,10 @@
         'factory': mkojpabuilder("%s" % (b_ojpa_b)),
         'category': "openjpa-%s-docs" % (b_ojpa_b),
         }
+    # use JDK 1.7 by default, or JDK 1.5 for OpenJPA 1.x
+    ojpa_builder['env'] = {'JAVA_HOME': '/usr/lib/jvm/java-1.7.0-openjdk-amd64'}
     if b_ojpa_b.startswith('1.'):
         ojpa_builder['env'] = {'JAVA_HOME': '${HOME}/slave18/tools/java/latest1.5/'}
-    if b_ojpa_b.startswith('trunk'):
-        ojpa_builder['env'] = {'JAVA_HOME': '/usr/lib/jvm/java-1.7.0-openjdk-amd64'}
     c['builders'].append(ojpa_builder)
 
 #mail status
{code}

> JDK used to build openjpa docs is wrong
> ---------------------------------------
>
>                 Key: INFRA-12170
>                 URL: https://issues.apache.org/jira/browse/INFRA-12170
>             Project: Infrastructure
>          Issue Type: Task
>          Components: Buildbot
>            Reporter: Jody Grassel
>            Assignee: Gavin
>
> The following builders appear to be using Java 8:
> https://ci.apache.org/builders/openjpa-2.0.x-docs
> https://ci.apache.org/builders/openjpa-2.1.x-docs
> https://ci.apache.org/builders/openjpa-2.2.x-docs
> https://ci.apache.org/builders/openjpa-2.3.x-docs
> Those levels of openjpa do not support being build using Java 8, requesting for Java 6 or Java 7 to be used for the build process instead (appears openjpa trunk uses java 7 -- not sure the reason for the discrepancy there.)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)