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

Francesco Chicchiriccò edited comment on OPENJPA-2645 at 6/20/16 6:47 AM:
--------------------------------------------------------------------------

On Linux, I was able to successfully apply it on 2.2.x, but build via {{mvn -U 
clean site install -DskipTests -Pjavadoc-profile,docbook-profile}} failed with 
several Javadoc errors with Oracle JDK 8; Oracle JDK 6 reported tons of warning 
messages but succeeded anyway.

I had some troubles with 2.3.x, though:

{code}
ilgrosso@sequoia:~/work/openjpa-2.3.x$ patch -p0 < 
~/Downloads/openjpa-2646.patch 
patching file openjpa-integration/daytrader/pom.xml
patching file openjpa-integration/examples/pom.xml
patching file openjpa-integration/slf4j/pom.xml
patching file openjpa-integration/tck/pom.xml
Hunk #1 FAILED at 85.
1 out of 1 hunk FAILED -- saving rejects to file 
openjpa-integration/tck/pom.xml.rej
patching file openjpa-integration/validation/pom.xml
patching file openjpa-lib/pom.xml
patching file openjpa-project/pom.xml
Hunk #3 FAILED at 145.
Hunk #4 succeeded at 177 (offset -10 lines).
Hunk #5 succeeded at 273 (offset -3 lines).
Hunk #6 succeeded at 298 (offset -3 lines).
Hunk #7 succeeded at 341 (offset -3 lines).
Hunk #8 succeeded at 354 (offset -3 lines).
Hunk #9 succeeded at 365 (offset -3 lines).
Hunk #10 succeeded at 385 (offset -3 lines).
1 out of 10 hunks FAILED -- saving rejects to file openjpa-project/pom.xml.rej
patching file openjpa-project/src/doc/manual/ref_guide_dbsetup.xml
Hunk #1 FAILED at 3035.
1 out of 1 hunk FAILED -- saving rejects to file 
openjpa-project/src/doc/manual/ref_guide_dbsetup.xml.rej
patching file pom.xml
Reversed (or previously applied) patch detected!  Assume -R? [n] 
Apply anyway? [n] y
Hunk #1 FAILED at 42.
Hunk #2 FAILED at 79.
Hunk #3 succeeded at 249 (offset 7 lines).
Hunk #4 succeeded at 293 (offset 7 lines).
Hunk #5 succeeded at 374 (offset 7 lines).
Hunk #6 succeeded at 659 (offset 7 lines).
Hunk #7 succeeded at 668 (offset 7 lines).
Hunk #8 succeeded at 746 (offset 7 lines).
Hunk #9 FAILED at 768.
Hunk #10 succeeded at 842 (offset 7 lines).
Hunk #11 succeeded at 859 (offset 7 lines).
Hunk #12 succeeded at 889 (offset 7 lines).
Hunk #13 FAILED at 899.
Hunk #14 FAILED at 1207.
5 out of 14 hunks FAILED -- saving rejects to file pom.xml.rej
{code}


was (Author: ilgrosso):
On Linux, I was able to successfully apply it on 2.2.x, but build via {{mvn -U 
clean site install -DskipTests -Pjavadoc-profile,docbook-profile}} failed with 
several Javadoc errors with Oracle JDK 8; OpenJDK 7 reported tons of warning 
messages but succeeded anyway.

I had some troubles with 2.3.x, though:

{code}
ilgrosso@sequoia:~/work/openjpa-2.3.x$ patch -p0 < 
~/Downloads/openjpa-2646.patch 
patching file openjpa-integration/daytrader/pom.xml
patching file openjpa-integration/examples/pom.xml
patching file openjpa-integration/slf4j/pom.xml
patching file openjpa-integration/tck/pom.xml
Hunk #1 FAILED at 85.
1 out of 1 hunk FAILED -- saving rejects to file 
openjpa-integration/tck/pom.xml.rej
patching file openjpa-integration/validation/pom.xml
patching file openjpa-lib/pom.xml
patching file openjpa-project/pom.xml
Hunk #3 FAILED at 145.
Hunk #4 succeeded at 177 (offset -10 lines).
Hunk #5 succeeded at 273 (offset -3 lines).
Hunk #6 succeeded at 298 (offset -3 lines).
Hunk #7 succeeded at 341 (offset -3 lines).
Hunk #8 succeeded at 354 (offset -3 lines).
Hunk #9 succeeded at 365 (offset -3 lines).
Hunk #10 succeeded at 385 (offset -3 lines).
1 out of 10 hunks FAILED -- saving rejects to file openjpa-project/pom.xml.rej
patching file openjpa-project/src/doc/manual/ref_guide_dbsetup.xml
Hunk #1 FAILED at 3035.
1 out of 1 hunk FAILED -- saving rejects to file 
openjpa-project/src/doc/manual/ref_guide_dbsetup.xml.rej
patching file pom.xml
Reversed (or previously applied) patch detected!  Assume -R? [n] 
Apply anyway? [n] y
Hunk #1 FAILED at 42.
Hunk #2 FAILED at 79.
Hunk #3 succeeded at 249 (offset 7 lines).
Hunk #4 succeeded at 293 (offset 7 lines).
Hunk #5 succeeded at 374 (offset 7 lines).
Hunk #6 succeeded at 659 (offset 7 lines).
Hunk #7 succeeded at 668 (offset 7 lines).
Hunk #8 succeeded at 746 (offset 7 lines).
Hunk #9 FAILED at 768.
Hunk #10 succeeded at 842 (offset 7 lines).
Hunk #11 succeeded at 859 (offset 7 lines).
Hunk #12 succeeded at 889 (offset 7 lines).
Hunk #13 FAILED at 899.
Hunk #14 FAILED at 1207.
5 out of 14 hunks FAILED -- saving rejects to file pom.xml.rej
{code}

> Doc Build for most branch releases are broken
> ---------------------------------------------
>
>                 Key: OPENJPA-2645
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2645
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: build / infrastructure
>    Affects Versions: 1.1.1, 1.2.4, 1.3.0, 2.0.3, 2.1.2, 2.3.1, 2.2.x
>            Reporter: Jody Grassel
>            Assignee: Jody Grassel
>         Attachments: openjpa-2646.patch
>
>
> Except for the trunk release, it appears that the doc build is broken for the 
> branch releases (for example, 
> https://ci.apache.org/builders/openjpa-2.2.x-docs/builds/320) -- this needs 
> to be corrected as this has resulted in broken links in the OpenJPA 
> documentation page.



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

Reply via email to