On Thu, 2003-12-04 at 20:59, Francois Beauregard wrote: > I am trying to use the velocity:merge tag as described in : > http://www.mail-archive.com/[EMAIL PROTECTED]/msg04501.html > > <project > default="war" > > xmlns:velocity="jelly:org.apache.commons.jelly.tags.velocity.VelocityTagLibr > ary"> > <goal name="create-schema"> > <velocity:merge > name="${basedir}/src/conf/hibernate.properties" > basedir="${basedir}/src/conf" > template="hibernate.properties.template"/> > ... > > I get the following exception : > java.lang.ClassNotFoundException: > org.apache.commons.jelly.tags.velocity.VelocityTagLibrary > at java.net.URLClassLoader$1.run(URLClassLoader.java:198) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:186) > ... > > Anything special I need to do to use the velocity:merge tag. > I am using RC1.
Make sure Velocity and the Velocity Jelly Taglib is declared in your project.xml file. http://cvs.codehaus.org/viewcvs.cgi/plexus/plexus-components/?root=codehaus Look in the maven.xml and project.xml files for a full example of usage. > Thanks, > François > ___________________________ > François Beauregard, b.ing. > Vice-président > Recherche et développement > Pyxis Technologies > www.pyxis-tech.com > > T : (450) 681-9094, poste 102 > F : (450) 681-5758 > [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- jvz. Jason van Zyl [EMAIL PROTECTED] http://tambora.zenplex.org In short, man creates for himself a new religion of a rational and technical order to justify his work and to be justified in it. -- Jacques Ellul, The Technological Society --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]