> Task :javadoc FAILED

567 views
Skip to first unread message

Calen Martin D. Legaspi

unread,
Jun 18, 2021, 2:38:45 AM6/18/21
to concord...@googlegroups.com
Hi!

I'm getting the following build error when building the latest revision. Would anyone know how to resolve this?
calen@vanhalen:~/workspace/concordion$ ./gradlew build

> Configure project :
[versioning] WARNING - the working copy has unstaged or uncommitted changes.

> Task :javadoc
/home/calen/workspace/concordion/src/main/java/org/concordion/api/option/MarkdownExtensions.java:72: error: attribute not supported in HTML5: name
     * <li>Anchor link is added as first element inside the header with empty content: <h1><a name="header"></a>header</h1></li>
                                                                                              ^
1 error

> Task :javadoc FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':javadoc'.
> Javadoc generation failed. Generated Javadoc options file (useful for troubleshooting): '/home/calen/workspace/concordion/build/tmp/javadoc/javadoc.options'

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 3s
6 actionable tasks: 4 executed, 2 up-to-date


Calen Martin D. Legaspi
CEO | Enterprise Architect | Agile Coach
"The geek shall inherit the earth."

Nigel Charman

unread,
Jun 18, 2021, 6:28:14 AM6/18/21
to Calen Martin D. Legaspi, concord...@googlegroups.com
Hi Calen

What version of Java are you using? It's not something I've come across when building Concordion with Java 8, but maybe the HTML needs to be escaped in the Javadoc comment?

By the way, I upgraded Concordion to Gradle 7 yesterday, so you might want to merge those changes in if you forked the code before yesterday. I don't think it will change this behaviour though.

Nigel
--
You received this message because you are subscribed to the Google Groups "concordion-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to concordion-de...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/concordion-dev/CAJ%3Dd2P6Z4fYCjNuHi%2BR%2BqRaMhMqi15i7NMv%2B_cp-0T7LArAV%3DQ%40mail.gmail.com.

Calen Martin D. Legaspi

unread,
Jun 18, 2021, 6:57:57 AM6/18/21
to Nigel Charman, concord...@googlegroups.com
Hello, Nigel!

I'm on Java 11.

Calen
* sent from phone

Calen Martin D. Legaspi

unread,
Jun 18, 2021, 11:16:09 AM6/18/21
to Nigel Charman, concord...@googlegroups.com
Is it alright if I replace "name" with "id"?


Calen Martin D. Legaspi
CEO | Enterprise Architect | Agile Coach
"The geek shall inherit the earth."

Nigel Charman

unread,
Jun 20, 2021, 12:17:03 AM6/20/21
to Calen Martin D. Legaspi, concord...@googlegroups.com
Sure, if that resolves the javadoc issue.
Reply all
Reply to author
Forward
0 new messages