> -----Original Message-----
> From: Alef Arendsen [mailto:[EMAIL PROTECTED]]
> Sent: 22 May 2002 11:39
> To: Turbine Maven Users List
> Subject: RE: Question with maven:site
> 
> According to the FAQ (jakarta.apache.org/turbine/maven > reference >
FAQ)
> this is what happens. I usually ignore it ;-)
> 
>   Q. My build fails with unable to find resource
>   'VM_global_library.vm' in any resource loader.
>   What is this error?
>   A. This is a dvsl message about a missing resource
>   that doesn't really cause the build to fail. If you
>   see this message, and your build is not successful,
>   please run your build again with the -debug or
>   -verbose options to determine the build failure.
> 

oops ... I'll check the FAQ from now on (promise!)

> The other problem you're having sounds familiar ;-). I solved it (like
you
> said) by doing a clean Ant installation. Although you've cleaned out
the
> lib directory of Ant, it seems you still have some XML/XSL
implementations
> in there which are conflicting... My lib directory contains the
following
> jars: ant.jar crimson.jar jakarta-ant-1.4.1-optional.jar jaxp.jar and
> junit.jar. That's all...
> 

Yes, I think you are right. I had left xerces. I will replace it with
crimson and test again.

AS we have projects we build with Ant and one project with Maven, we'll
need 2 installation of Ant ... and build.bat files to direct to the
correct one. Argh !

Thanks a lot Alef.
-Vincent

> Alef
> 
> -----Original Message-----
> From: Vincent Massol [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 22 May 2002 12:28
> To: [EMAIL PROTECTED]
> Subject: Question with maven:site
> 
> 
> When I run "ant maven:site" on Maven itself, I get the following types
> of errors :
> 
> [dvsl]  [error] ResourceManager : unable to find resource
> 'VM_global_library.vm' in any resource loader.
> 
> I have never played with Velocity and I don't know what this is. Is it
> normal ?
> 
> Also, I have classpaths issues getting maven:site to build correctly.
> This is because I have a lot of jar in my jakarta-ant/lib (with
> different versions that the ones in maven lib.repo) ! Whenever maven
> uses a <taskdef> the Ant classpath is preprended (thus using the
> jakarta-ant/lib jars) !
> 
> However, even my removing all my Jakarta-ant/lib jars (keeping only
the
> bare minimum), I'm still getting errors :
> 
> BUILD FAILED
> E:\Dev\jakarta-turbine-maven\maven\plugins\docs\build.xml:1186:
> org.apache.velocity.exception.Method
> InvocationException: Invocation of method 'applyTemplates' in  class
> org.apache.tools.dvsl.Transformer threw exception class
> org.apache.velocity.exception.MethodInvocationException : Invocation
of
> met
> hod 'selectSingleNode' in  class
> org.apache.tools.dvsl.dom4j.Dom4jNodeImpl threw exception class
> org.dom4j.XPathException : Exception occurred evaluting XPath:
> document('E:\Dev\jakarta-turbine-maven/x
> docs/ref\j2ee/navigation.xml')/project. Exception: Failed to parse
> doucment for URI:
> E:\Dev\jakarta-turbine-maven/xdocs/ref\j2ee/navigation.xml
> 
> Thanks for your help !
> -Vincent
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:turbine-maven-user-
> [EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:turbine-maven-user-
> [EMAIL PROTECTED]>
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:turbine-maven-user-
> [EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:turbine-maven-user-
> [EMAIL PROTECTED]>



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

Reply via email to