Tim, run ant with -verbose and see if there's some more detail.... -- dIon Gillard, Multitask Consulting Work: http://www.multitask.com.au Developers: http://adslgateway.multitask.com.au/developers
Tim Pizey <[EMAIL PROTECTED]> wrote on 07/10/2002 11:23:36 PM: > Hi Ringo, > > Thanks for replying. > > On Wednesday 10 July 2002 07:10, Ringo De Smet wrote: > > --- Tim Pizey <[EMAIL PROTECTED]> wrote: > > > I have downloaded and installed Maven, sucessfully I think. > > > I then copied example/build.xml to my top level directory. > > > I tried to find an achive of this list, but couldn't, so > > > hope this isn't a FAQ. > > > > Archive: > > http://www.mail-archive.com/[email protected]/ > > Thanks. > > > > do-check-source: > > > [dvsl] Loading stylesheet > > > /inst/maven/stylesheets/checkstyle.dvsl > > > [dvsl] [error] ResourceManager : unable to find resource > > > 'VM_global_library.vm' in any resource loader. > > > > The above is a FAQ: > > http://jakarta.apache.org/turbine/maven/ref/faq.html#dvsl-resource-not-an-e > >rror > > I have read this, and can't understand it. > 'doesn't really cause the build to fail' is not very reassuring. > I do actually have copies of this file on my HD, as it is in the > velocity/test/templates directory. > > > > > > BUILD FAILED > > > java.lang.NoSuchMethodError > > > at org.apache.tools.dvsl.DVSL.setStylesheet(DVSL.java:387) > > > at org.apache.tools.dvsl.DVSL.setStylesheet(DVSL.java:330) > > > at org.apache.tools.dvsl.DVSLTask.execute(DVSLTask.java:285) > > > at > > > > [CUT] > > > > The NoSuchMethodError is normally unrelated to the VM_global_library.vm > > error above. What version of Maven have you downloaded and for what > > platform? For example, I know that the Windows installer for b4 was not > > complete in some way. > > > I have downloaded > http://jakarta.apache.org/builds/jakarta-turbine-maven/release/1.0-b4/maven-install-1.0-b4.jar > and installed it on my SuSE 7.2 linux system. > > > You mentioned that you copied the example/build.xml file. > > Have you created a build.properties in your home directory? > > Have you created a project.xml in your project's root folder? > > yes, all of the above. > The classpath given in the build is: > [echo] Classpath: > [echo] /inst/lib.repo/dom4j-1.3.jar: > /inst/lib.repo/commons-betwixt-1.0-dev.jar: > /inst/lib.repo/commons-digester-1.2.jar: > /inst/lib.repo/commons-logging-1.0.jar: > /inst/lib.repo/commons-graph-0.8.jar: > /inst/lib.repo/bcel-5.0.jar: > /inst/lib.repo/velocity-1.3-dev.jar: > /inst/lib.repo/oro-2.0.6.jar: > /inst/lib.repo/log4j-1.1.3.jar: > /inst/lib.repo/commons-lang-0.1-dev.jar: > /inst/lib.repo/commons-io-0.1.jar: > /inst/lib.repo/commons-util-1.0-rc2-dev.jar: > /inst/lib.repo/commons-beanutils-dev.jar: > /inst/lib.repo/commons-collections-2.0.jar: > /inst/lib.repo/velocity-dvsl-0.43.jar: > /inst/lib.repo/jdepend-2.2.jar: > /inst/lib.repo/checkstyle-2.2.jar: > /inst/lib.repo/antlr-2.7.1.jar: > /inst/lib.repo/regexp-1.2.jar > > I am attempting to retro-fit http://melati.org/ with Maven, > to help with the production and maintenance of the > system documentation and to trap any stylistic problems > we have. > > I am sure I have done something stupid, but I followed the > instructions on the site and have rechecked this morning :) > > thanks in a dvance > Tim P > > > -- > To unsubscribe, e-mail: < > mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: < > mailto:[EMAIL PROTECTED]> >
