velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hensley, Richard" <Richard.Hens...@McKesson.com>
Subject RE: Building the Anakia Examples: error in veloctiy.log
Date Fri, 02 Nov 2001 04:45:02 GMT
> -----Original Message----- 
> From: Geir Magnusson Jr. [ mailto:geirm@optonline.net
<mailto:geirm@optonline.net> ] 
> Sent: Thursday, November 01, 2001 7:54 PM 
> To: velocity-user@jakarta.apache.org 
> Subject: Re: Building the Anakia Examples: error in veloctiy.log 
> 
> 
> On 11/1/01 8:50 PM, "Hensley, Richard" 
> <Richard.Hensley@McKesson.com> wrote: 
> 
> > When I build the Anakia Example, I get the following in the 
> velocity.log 
> > 
> > 
> > [info] Velocimacro : added new VM : #makeProject( ) : source = 
> > ./site.vsl 
> > [info] Velocimacro : added new VM : #image( value ) : source = 
> > ./site.vsl 
> > [info] Velocimacro : added new VM : #projectanchor( name value ) : 
> > source = ./site.vsl 
> > [info] Velocimacro : added new VM : #metaauthor( author 
> email ) : source 
> > = ./site.vsl 
> > [info] Velocimacro : added new VM : #document( ) : source = 
> ./site.vsl 
> > [error] VM #projectanchor: error : too few arguments to 
> macro. Wanted 2 
> > got 0  --> 
> > [info] ResourceManager : found ./site.vsl with loader 
> > org.apache.velocity.runtime.resource.loader.FileResourceLoader 
> > 
> > What concerns me is the [error] because I can't explain it. When I 
> > reviewed the site.vsl file, it shows two instances of the word 
> > projectanchor. The first occurs when the macro is defined, and the 
> > second occurs as a reference in the makeproject macro. The 
> makeproject 
> > macro in site.vsl and the project.xml file look correct to me. 
> > 
> > Am I missing something? 
> 
> What version of Velocity are you using? 
> 
> -- 
I'm using Velocity-1.2-rc2. 

Richard Hensley 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message