Thanks Anthony, Can you please file this in JIRA, as per http://wiki.codehaus.org/maven/HowToReportaBug, so it doesn't get lost.
It would be helpful to know your environment: OS, Java, ant version. Cheers, Brett > -----Original Message----- > From: Anthony Vito [mailto:[EMAIL PROTECTED] > Sent: Tuesday, 2 March 2004 7:48 AM > To: Maven Developers List > Subject: html2xdoc test error > > > Thought I'd throw this at the devel list, might help come up > with a good solution to this type of issue. > > I built HEAD today I get this error in the testing of > html2xdoc, and bunch of related exceptions that follow. > > <snip> > [exec] +---------------------------------------- > [exec] | Testing Maven Html2XDoc Plug-in > [exec] | Memory: 36M/50M > [exec] +---------------------------------------- > <snip> > [exec] Validating project-info.html > [exec] Validating team-list.html > [exec] [echo] Generating > /home/<snip>/maven-plugins/html2xdoc/src/plugin-test/target/do cs/linkcheck.html from /home/<snip>/maven-> plugins/html2xdoc/src/plugin-test/target/linkcheck/docs/linkcheck.xml > [exec] com.werken.werkz.UnattainableGoalException: > Unable to obtain goal [test-html2xdoc-site] -- > file:/usr/local/maven/plugins/maven-xdoc-plugin-1.6-SNAPSHOT/p lugin.jelly:327:54: <j:include> could not include jelly script: file://usr/local/maven/plugins/maven-xdoc-plugin-1.6-SNAPSHOT/plugin-resourc es/site.jsl. Reason: org.apache.commons.jelly.JellyException: null:-1:-1: <null> Could not parse Jelly script [exec] at com.werken.werkz.Goal.fire(Goal.java:646) [exec] at com.werken.werkz.Goal.attain(Goal.java:575) <snip> Now the funny this is the site.jsl is just fine for everything else using xdocs up until this point. I was able to prevent this error from occuring with the following patch to the xdoc plugin.jelly. I know I've ran into these issues with Xerces vs other xml libraries before. I've often found adding more slashes makes everything work. Index: plugin.jelly =================================================================== RCS file: /home/cvspublic/maven-plugins/xdoc/plugin.jelly,v retrieving revision 1.54 diff -u -r1.54 plugin.jelly --- plugin.jelly 2 Feb 2004 04:40:25 -0000 1.54 +++ plugin.jelly 1 Mar 2004 19:35:04 -0000 @@ -362,7 +362,7 @@ plugin='maven-xdoc-plugin' property='maven.xdoc.crumb.separator' /> <j:set var="outputDirectory" value="${maven.gen.docs}" /> - <j:set var="stylesheet" value="file:/${plugin.resources}/site.jsl" /> + <j:set var="stylesheet" value="file://${plugin.resources}/site.jsl" /> <j:set var="outputencoding" value="${maven.docs.outputencoding}" /> -vito ps. keep google turd on bottom. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
