You are viewing a plain text version of this content. The canonical link for it is here.
Posted to builds@apache.org by Jody Grassel <fy...@gmail.com> on 2016/06/23 20:59:41 UTC

OpenJPA 2.2.x snapshot doc build failure.

Regarding https://ci.apache.org/builders/openjpa-2.2.x-docs/builds/326

Looks like it might have pulled in my changes after all, but looking at the
errors:

javadoc: warning - Error fetching URL:
http://commons.apache.org/collections/api-release/

/Users/jgrassel/Documents/Development/JPA/OpenJPA/2.2.x/openjpa-lib/src/main/java/org/apache/openjpa/lib/ant/AbstractTask.java:75:
warning: no @param for haltOnError

    public void setHaltOnError(boolean haltOnError) {


I did notice that 2.2.x is running with java 8:

 Command line was: /usr/lib/jvm/java-8-oracle/jre/../bin/javadoc
-J-Xmx1024m @options

While openjpa trunk appears to be running with java 7 (
https://ci.apache.org/builders/openjpa-trunk-docs/builds/338/steps/compile/logs/stdio
):

JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-amd64

After a bit of searching, it sounds like Java 8 made checking more
stricter, which the 2.2.x build is running afoul of.  Is there any chance
of getting the 2.2.x doc build to run with java 7 (which is what I used to
pass my local sandbox, switching to Java 8 my sandbox fails the same way as
the nightly build.)

Re: OpenJPA 2.2.x snapshot doc build failure.

Posted by Chris Lambertus <cm...@apache.org>.
> On Jun 23, 2016, at 1:59 PM, Jody Grassel <fy...@gmail.com> wrote:

> I did notice that 2.2.x is running with java 8:
> 
> Command line was: /usr/lib/jvm/java-8-oracle/jre/../bin/javadoc
> -J-Xmx1024m @options
> 
> While openjpa trunk appears to be running with java 7 (
> https://ci.apache.org/builders/openjpa-trunk-docs/builds/338/steps/compile/logs/stdio
> ):
> 
> JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-amd64

This is defined in your build config https://svn.apache.org/repos/infra/infrastructure/buildbot/aegis/buildmaster/master1/projects/openjpa.conf <https://svn.apache.org/repos/infra/infrastructure/buildbot/aegis/buildmaster/master1/projects/openjpa.conf> — there is logic in there to assign a java version based on the version specified (java 1.5 for 1.* and java 1.7 for trunk.) Since you’re building against 2.*, there’s no override, so it picks up the system JAVA_HOME which is 1.8. I imagine you’ll have to update the project build config to specify 1.7 for version 2.* as well.


-Chris