Le lundi 23 avril 2007 à 14:38 -0700, Will Glass-Husain a écrit :
> Hi Claude,
> 
> You don't think the 1 page documentation in the "docs" folder is a
> sufficient substitute for a top-level README file?

It's sufficient of course, I just wanted to make sure that it wasn't a
forgetfulness.

> Let me look at that error.  If the test is a fair test (and passes it's
> probably still ok to release), though we could fix the template problem.
> I'd be more worried if there were mistakes in the generated documentation
> for the project.

The warnings should go away with a
velocimacro.permissions.allow.inline.to.replace.global=true

I met this problem within my webapps. Without caching, an inline macro
generates this warning the second time the template is parsed, which
doesn't sound very logical to me.


   Claude

> WILL
> 
> 
> On 4/23/07, Claude Brisson <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> >
> > I successfully ran the tests on both projects, but for anakia I got
> > rather strange messages (although the tests do pass): first some macros
> > are rejected (just because the template where they are defined is loaded
> > again, this is a common warning - but still one I consider buggy), then
> > some references are left unresolved.
> >
> >    [anakia] ATTENTION: Velocimacro : VM addition rejected : makeProject :
> > inline not allowed to replace existing VM
> >    [anakia] 23 avr. 2007 23:08:52
> > org.apache.velocity.runtime.log.JdkLogChute log
> >    [anakia] ATTENTION: Failed to add macro: #makeProject(  ) : source =
> > ./site_contexts.vsl
> >    [anakia] 23 avr. 2007 23:08:52
> > org.apache.velocity.runtime.log.JdkLogChute log
> >    [anakia] ATTENTION: Velocimacro : VM addition rejected : image : inline
> > not allowed to replace existing VM
> >    [anakia] 23 avr. 2007 23:08:52
> > org.apache.velocity.runtime.log.JdkLogChute log
> >    [anakia] ATTENTION: Failed to add macro: #image(  value ) : source =
> > ./site_contexts.vsl
> >    [anakia] 23 avr. 2007 23:08:52
> > org.apache.velocity.runtime.log.JdkLogChute log
> >    [anakia] ATTENTION: Velocimacro : VM addition rejected : projectanchor
> > : inline not allowed to replace existing VM
> >    [anakia] 23 avr. 2007 23:08:52
> > org.apache.velocity.runtime.log.JdkLogChute log
> >    [anakia] ATTENTION: Failed to add macro: #projectanchor(  name value )
> > : source = ./site_contexts.vsl
> >    [anakia] 23 avr. 2007 23:08:52
> > org.apache.velocity.runtime.log.JdkLogChute log
> >    [anakia] ATTENTION: Velocimacro : VM addition rejected : metaauthor :
> > inline not allowed to replace existing VM
> >    [anakia] 23 avr. 2007 23:08:52
> > org.apache.velocity.runtime.log.JdkLogChute log
> >    [anakia] ATTENTION: Failed to add macro: #metaauthor(  author email ) :
> > source = ./site_contexts.vsl
> >    [anakia] 23 avr. 2007 23:08:52
> > org.apache.velocity.runtime.log.JdkLogChute log
> >    [anakia] ATTENTION: Velocimacro : VM addition rejected : document :
> > inline not allowed to replace existing VM
> >    [anakia] 23 avr. 2007 23:08:52
> > org.apache.velocity.runtime.log.JdkLogChute log
> >    [anakia] ATTENTION: Failed to add macro: #document(  ) : source =
> > ./site_contexts.vsl
> >    [anakia] 23 avr. 2007 23:08:52
> > org.apache.velocity.runtime.log.JdkLogChute log
> >    [anakia] INFO: Null reference [template './site_contexts.vsl', line 1,
> > column 40] : $au.getText() cannot be resolved.
> >    [anakia] 23 avr. 2007 23:08:52
> > org.apache.velocity.runtime.log.JdkLogChute log
> >    [anakia] INFO: Null reference [template './site_contexts.vsl', line 2,
> > column 39] : $em.getValue() cannot be resolved.
> >    [anakia] 23 avr. 2007 23:08:52
> > org.apache.velocity.runtime.log.JdkLogChute log
> >    [anakia] GRAVE: Introspection Error : Ambiguous method invocation
> > applyTo(java.lang.String, null) for class class
> > org.apache.anakia.XPathTool
> >    [anakia] 23 avr. 2007 23:08:52
> > org.apache.velocity.runtime.log.JdkLogChute log
> >    [anakia] INFO: RHS of #set statement is null. Context will not be
> > modified. ./site_contexts.vsl [line 12, column 5]
> >    [anakia] Output:
> > /home/claude/projects/velocity/anakia/bin/test/anakia/index.html
> >    [anakia] Transforming into:
> > /home/claude/projects/velocity/anakia/bin/test/anakia
> >    [anakia] 23 avr. 2007 23:08:52
> > org.apache.velocity.runtime.log.JdkLogChute log
> >    [anakia] INFO: FileResourceLoader : adding path
> > '/home/claude/projects/velocity/anakia/test/anakia/xdocs/stylesheets'
> >    [anakia] 23 avr. 2007 23:08:52
> > org.apache.velocity.runtime.log.JdkLogChute log
> >    [anakia] INFO: Velocimacro : added #makeProject(  ) : source =
> > ./site_contexts.vsl
> >    [anakia] 23 avr. 2007 23:08:52
> > org.apache.velocity.runtime.log.JdkLogChute log
> >    [anakia] INFO: Velocimacro : added #image(  value ) : source =
> > ./site_contexts.vsl
> >    [anakia] 23 avr. 2007 23:08:52
> > org.apache.velocity.runtime.log.JdkLogChute log
> >    [anakia] INFO: Velocimacro : added #projectanchor(  name value ) :
> > source = ./site_contexts.vsl
> >    [anakia] 23 avr. 2007 23:08:52
> > org.apache.velocity.runtime.log.JdkLogChute log
> >    [anakia] INFO: Velocimacro : added #metaauthor(  author email ) :
> > source = ./site_contexts.vsl
> >    [anakia] 23 avr. 2007 23:08:52
> > org.apache.velocity.runtime.log.JdkLogChute log
> >    [anakia] INFO: Velocimacro : added #document(  ) : source =
> > ./site_contexts.vsl
> >    [anakia] Input:  index.xml
> >    [anakia] 23 avr. 2007 23:08:52
> > org.apache.velocity.runtime.log.JdkLogChute log
> >    [anakia] ATTENTION: Velocimacro : VM addition rejected : makeProject :
> > inline not allowed to replace existing VM
> >    [anakia] 23 avr. 2007 23:08:52
> > org.apache.velocity.runtime.log.JdkLogChute log
> >    [anakia] ATTENTION: Failed to add macro: #makeProject(  ) : source =
> > ./site_contexts.vsl
> >    [anakia] 23 avr. 2007 23:08:52
> > org.apache.velocity.runtime.log.JdkLogChute log
> >    [anakia] ATTENTION: Velocimacro : VM addition rejected : image : inline
> > not allowed to replace existing VM
> >    [anakia] 23 avr. 2007 23:08:52
> > org.apache.velocity.runtime.log.JdkLogChute log
> >    [anakia] ATTENTION: Failed to add macro: #image(  value ) : source =
> > ./site_contexts.vsl
> >    [anakia] 23 avr. 2007 23:08:52
> > org.apache.velocity.runtime.log.JdkLogChute log
> >    [anakia] ATTENTION: Velocimacro : VM addition rejected : projectanchor
> > : inline not allowed to replace existing VM
> >    [anakia] 23 avr. 2007 23:08:52
> > org.apache.velocity.runtime.log.JdkLogChute log
> >    [anakia] ATTENTION: Failed to add macro: #projectanchor(  name value )
> > : source = ./site_contexts.vsl
> >    [anakia] 23 avr. 2007 23:08:52
> > org.apache.velocity.runtime.log.JdkLogChute log
> >    [anakia] ATTENTION: Velocimacro : VM addition rejected : metaauthor :
> > inline not allowed to replace existing VM
> >    [anakia] 23 avr. 2007 23:08:52
> > org.apache.velocity.runtime.log.JdkLogChute log
> >    [anakia] ATTENTION: Failed to add macro: #metaauthor(  author email ) :
> > source = ./site_contexts.vsl
> >    [anakia] 23 avr. 2007 23:08:52
> > org.apache.velocity.runtime.log.JdkLogChute log
> >    [anakia] ATTENTION: Velocimacro : VM addition rejected : document :
> > inline not allowed to replace existing VM
> >    [anakia] 23 avr. 2007 23:08:52
> > org.apache.velocity.runtime.log.JdkLogChute log
> >    [anakia] ATTENTION: Failed to add macro: #document(  ) : source =
> > ./site_contexts.vsl
> >    [anakia] 23 avr. 2007 23:08:53
> > org.apache.velocity.runtime.log.JdkLogChute log
> >    [anakia] INFO: Null reference [template './site_contexts.vsl', line 1,
> > column 40] : $au.getText() cannot be resolved.
> >    [anakia] 23 avr. 2007 23:08:53
> > org.apache.velocity.runtime.log.JdkLogChute log
> >    [anakia] INFO: Null reference [template './site_contexts.vsl', line 2,
> > column 39] : $em.getValue() cannot be resolved.
> >    [anakia] Output:
> > /home/claude/projects/velocity/anakia/bin/test/anakia/index.context.html
> >
> > Also, both projects lack a readme file giving some background (even if
> > copy-pasted from their respective homepage, it's better than nothing).
> > I'd have done it if I better knew those projects and if I better trusted
> > my own english...
> >
> > Guess otherwise I'm +1.
> >
> >   Claude
> >
> > Le dimanche 22 avril 2007 à 09:00 -0700, Will Glass-Husain a écrit :
> > > Hi,
> > >
> > > This is a linked vote to release both Texen 1.0 and Anakia 1.0.  These
> > are
> > > branches from the engine, with new package designations 
> > > org.apache.texenand
> > > org.apache.anakia.  We are breaking these out to separate the issue
> > tracking
> > > and release cycles, and to encourage involvement from community members
> > who
> > > are interesting in using those tools but not the entire Velocity
> > package.
> > >
> > > I'd like to be more specific on criteria:  Please only vote +1 if you
> > have
> > > actually downloaded and tested the release candidate.  If you are
> > generally
> > > positive but are not able to test the release candidate, feel free to
> > vote
> > > +0.
> > >
> > > The release candidates (compiled with JDK 1.4.2, tested on JDK 1.5 and
> > JDK
> > > 1.6) are available from:
> > >
> > > http://people.apache.org/~wglass/anakia/candidate-1.0/
> > > http://people.apache.org/~wglass/texen/candidate-1.0/
> > >
> > > Vote:
> > >
> > > [ ] +1 Yes, release both Anakia 1.0 and Texen 1.0.  I have personally
> > > checked the release.
> > > [ ] +0 Yes, release both Anakia 1.0 and Texen 1.0.
> > > [ ] 0 I'm neutral.
> > > [ ] -1 Do not release because ____________________________
> > >
> > > The vote will be open for 72 hours until Wednesday 9AM US Pacific time,
> > > though I'll keep it open until next weekend if we don't get 3 PMC +1
> > votes.
> > >
> > >
> > > My vote is +1.
> > >
> > > Thanks,
> > >
> > > WILL
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to