You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "ahgt sur laposte.net" <ah...@laposte.net> on 2005/06/29 12:57:34 UTC

Site building : "VM #menuItem: error"

Hello,
When building the site (m2 site:site), with simple site.xml and .apt
files, I've got an error (see here under).
For "VM #menuItem"... 
What is VM (virtual machine).

Where this error comes from ?
Is there a way to know which line in which file ?

[INFO] [site:site]
[INFO] Velocimacro : added new VM : #banner( id ) : source =
org/apache/maven/doxia/maven-site.vm
[INFO] Velocimacro : added new VM : #links( ) : source =
org/apache/maven/doxia/maven-site.vm
[INFO] Velocimacro : added new VM : #menuItem( item ) : source =
org/apache/maven/doxia/maven-site.vm
[INFO] Velocimacro : added new VM : #mainMenu( ) : source =
org/apache/maven/doxia/maven-site.vm
[ERROR] VM #menuItem: error : too few arguments to macro. Wanted 1 got 0

Thanks,
Antoine



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Site building : "VM #menuItem: error"

Posted by Emmanuel Venisse <em...@venisse.net>.

ahgt sur laposte.net wrote:
> Hello,
> When building the site (m2 site:site), with simple site.xml and .apt
> files, I've got an error (see here under).
> For "VM #menuItem"... 
> What is VM (virtual machine).

VM = Velocity Macro

> 
> Where this error comes from ?
> Is there a way to know which line in which file ?
> 
> [INFO] [site:site]
> [INFO] Velocimacro : added new VM : #banner( id ) : source =
> org/apache/maven/doxia/maven-site.vm
> [INFO] Velocimacro : added new VM : #links( ) : source =
> org/apache/maven/doxia/maven-site.vm
> [INFO] Velocimacro : added new VM : #menuItem( item ) : source =
> org/apache/maven/doxia/maven-site.vm
> [INFO] Velocimacro : added new VM : #mainMenu( ) : source =
> org/apache/maven/doxia/maven-site.vm
> [ERROR] VM #menuItem: error : too few arguments to macro. Wanted 1 got 0

I'm not sure it's really an error because the generation works.
I have the same message, but I don't see errors i the velocity template, 
if you want to check it, it's there :
http://svn.apache.org/viewcvs.cgi/maven/components/trunk/maven-plugins/maven-site-plugin/src/main/resources/org/apache/maven/doxia/maven-site.vm?rev=180101&view=markup

Emmanuel

> 
> Thanks,
> Antoine
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org