build script errors

26 views
Skip to first unread message

Rami Ojares

unread,
Oct 22, 2012, 12:23:38 PM10/22/12
to h2-database
Hi,

I get errors with some targets.
Tried with java7 (oracle) and java6 (openjdk).
Using head of trunk.

./build.sh docs

Running org.h2.build.doc.XMLChecker
ERROR in file ./src/docsrc/html/changelog.html java.lang.Exception:
Unclosed element li at PostgreSQL compatibility: support for
EXTRACT(WEEK FROM dateColumn).
Thanks to Prashant Bhat for
java.lang.Exception: Unclosed element li at PostgreSQL compatibility:
support for EXTRACT(WEEK FROM dateColumn).
Thanks to Prashant Bhat for
at org.h2.build.doc.XMLChecker.checkXML(XMLChecker.java:130)
at org.h2.build.doc.XMLChecker.processFile(XMLChecker.java:70)
at org.h2.build.doc.XMLChecker.process(XMLChecker.java:52)
at org.h2.build.doc.XMLChecker.process(XMLChecker.java:49)
at org.h2.build.doc.XMLChecker.process(XMLChecker.java:49)
at org.h2.build.doc.XMLChecker.process(XMLChecker.java:49)
at org.h2.build.doc.XMLChecker.run(XMLChecker.java:38)
at org.h2.build.doc.XMLChecker.main(XMLChecker.java:28)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.h2.build.BuildBase.invoke(BuildBase.java:241)
at org.h2.build.BuildBase.java(BuildBase.java:870)
at org.h2.build.Build.docs(Build.java:211)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.h2.build.BuildBase.invoke(BuildBase.java:241)
at org.h2.build.BuildBase.runTarget(BuildBase.java:207)
at org.h2.build.BuildBase.run(BuildBase.java:188)
at org.h2.build.Build.main(Build.java:35)
Running org.h2.build.code.CheckJavadoc
No package.html file, but a Java file found at:
/opt/dev/src/h2database-read-only/h2/src/tools/org/h2/dev/store/cache
Long line :
/opt/dev/src/h2database-read-only/h2/src/tools/org/h2/dev/store/btree/MVStore.java
(MVStore.java:982)
Long line :
/opt/dev/src/h2database-read-only/h2/src/test/org/h2/test/db/TestTriggersConstraints.java
(TestTriggersConstraints.java:371)
Long line:
/opt/dev/src/h2database-read-only/h2/src/test/org/h2/test/jdbc/TestJavaObject.java
(TestJavaObject.java:51)
Long line:
/opt/dev/src/h2database-read-only/h2/src/test/org/h2/test/jdbc/TestJavaObject.java
(TestJavaObject.java:54)
Long line:
/opt/dev/src/h2database-read-only/h2/src/test/org/h2/test/jdbc/TestJavaObject.java
(TestJavaObject.java:55)
Long line:
/opt/dev/src/h2database-read-only/h2/src/test/org/h2/test/jdbc/TestJavaObject.java
(TestJavaObject.java:56)
Long line:
/opt/dev/src/h2database-read-only/h2/src/test/org/h2/test/jdbc/TestJavaObject.java
(TestJavaObject.java:57)
Exception in thread "main" java.lang.RuntimeException:
java.lang.RuntimeException: java.lang.Exception: 8 errors found
at org.h2.build.BuildBase.java(BuildBase.java:872)
at org.h2.build.Build.docs(Build.java:212)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.h2.build.BuildBase.invoke(BuildBase.java:241)
at org.h2.build.BuildBase.runTarget(BuildBase.java:207)
at org.h2.build.BuildBase.run(BuildBase.java:188)
at org.h2.build.Build.main(Build.java:35)
Caused by: java.lang.RuntimeException: java.lang.Exception: 8 errors found
at org.h2.build.BuildBase.invoke(BuildBase.java:250)
at org.h2.build.BuildBase.java(BuildBase.java:870)
... 9 more
Caused by: java.lang.Exception: 8 errors found
at org.h2.build.code.CheckJavadoc.run(CheckJavadoc.java:38)
at org.h2.build.code.CheckJavadoc.main(CheckJavadoc.java:31)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.h2.build.BuildBase.invoke(BuildBase.java:241)
... 10 more

./build.sh javadocImpl

javadoc: error - In doclet class org.h2.build.doclet.Doclet, method
start has thrown an exception java.lang.reflect.InvocationTargetException
java.io.IOException: FAILED: 38 errors found
at org.h2.build.doclet.Doclet.startDoc(Doclet.java:67)
at org.h2.build.doclet.Doclet.start(Doclet.java:52)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at
com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:280)
at
com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:160)
at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:397)
at com.sun.tools.javadoc.Start.begin(Start.java:167)
at com.sun.tools.javadoc.Main.execute(Main.java:59)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.h2.build.BuildBase.invoke(BuildBase.java:241)
at org.h2.build.BuildBase.javadoc(BuildBase.java:483)
at org.h2.build.Build.javadocImpl(Build.java:510)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.h2.build.BuildBase.invoke(BuildBase.java:241)
at org.h2.build.BuildBase.runTarget(BuildBase.java:207)
at org.h2.build.BuildBase.run(BuildBase.java:188)
at org.h2.build.Build.main(Build.java:35)
1 error
Exception in thread "main" java.lang.RuntimeException: An error
occurred, result=1
at org.h2.build.BuildBase.javadoc(BuildBase.java:490)
at org.h2.build.Build.javadocImpl(Build.java:510)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.h2.build.BuildBase.invoke(BuildBase.java:241)
at org.h2.build.BuildBase.runTarget(BuildBase.java:207)
at org.h2.build.BuildBase.run(BuildBase.java:188)
at org.h2.build.Build.main(Build.java:35)

Noel Grandin

unread,
Oct 23, 2012, 9:02:17 AM10/23/12
to h2-da...@googlegroups.com, Rami Ojares
thanks, fixed in SVN.

Rami Ojares

unread,
Oct 23, 2012, 5:18:41 PM10/23/12
to h2-da...@googlegroups.com
Much appreciated.

- rami
Reply all
Reply to author
Forward
0 new messages