continuum-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Venisse <emman...@venisse.net>
Subject Re: Errors building continuum-site on toc macro
Date Thu, 25 Oct 2007 12:25:22 GMT
You have this error because you need the latest snapshot of site plugin/doxia.

I deployed a pre-version of the site: http://people.apache.org/~evenisse/continuum_1.1_site/
It will be available on the continuum site in few days.

Emmanuel

Banck, Arent-Jan a écrit :
> Hi,
> I am trying to build continuum-dev, but get errors on some apt files on
> the toc macro. When this happens the generated html has is 0 length.
> Do I need to configure anything to avoid this error?
>  
> [WARNING] Error loading report
> org.apache.maven.changelog.FileActivityReport - AbstractMethodError:
> canGenerateReport()
> [INFO] Skipped "About" report, file "index.html" already exists for the
> English version.
> [ERROR] VM #displayTree: error : too few arguments to macro. Wanted 2
> got 0
> [ERROR] VM #menuItem: error : too few arguments to macro. Wanted 1 got 0
> [ERROR] Error parsing
> C:\maven\svn\continuum-trunk\continuum-site\src\site\apt\documentation\1
> _1\administrator_guides\pr
> ofiles.apt: line [11] Unable to find macro used in the APT document
> org.apache.maven.doxia.module.apt.AptParseException: Unable to find
> macro used in the APT document
>         at
> org.apache.maven.doxia.module.apt.AptParser.parse(AptParser.java:131)
>         at
> org.apache.maven.doxia.DefaultDoxia.parse(DefaultDoxia.java:52)
>         at
> org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderDocument(D
> efaultSiteRenderer.java:264)
>         at
> org.apache.maven.doxia.siterenderer.DoxiaDocumentRenderer.renderDocument
> (DoxiaDocumentRenderer.java:43)
>         at
> org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderModule(Def
> aultSiteRenderer.java:239)
>         at
> org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render(DefaultSi
> teRenderer.java:115)
>         at
> org.apache.maven.plugins.site.SiteMojo.renderLocale(SiteMojo.java:124)
>         at
> org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:92)
>         at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa
> nager.java:443)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
> LifecycleExecutor.java:539)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoa
> l(DefaultLifecycleExecutor.java:493)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL
> ifecycleExecutor.java:463)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle
> Failures(DefaultLifecycleExecutor.java:311)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
> DefaultLifecycleExecutor.java:278)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec
> ycleExecutor.java:143)
>         at
> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
> a:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> Impl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at
> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.doxia.module.apt.AptParseException: Unable
> to find macro used in the APT document
>         at
> org.apache.maven.doxia.module.apt.AptParser$MacroBlock.traverse(AptParse
> r.java:2153)
>         at
> org.apache.maven.doxia.module.apt.AptParser.traverseSectionBlocks(AptPar
> ser.java:261)
>         at
> org.apache.maven.doxia.module.apt.AptParser.traverseSection(AptParser.ja
> va:214)
>         at
> org.apache.maven.doxia.module.apt.AptParser.traverseBody(AptParser.java:
> 173)
>         at
> org.apache.maven.doxia.module.apt.AptParser.parse(AptParser.java:123)
>         ... 25 more
> Caused by: org.apache.maven.doxia.macro.manager.MacroNotFoundException:
> Cannot find macro with id = toc
> 


Mime
View raw message