xmlns:ejbgen="ejbgen">
<define:taglib uri="ejbgen">
<define:jellybean className="com.codeczar.maven.plugins.ejbgen.EjbgenBean"
method="execute"
name="ejbgen"/>
</define:taglib>
<ejbgen:ejbgen outputDir="${maven.ejbgen.java.dir}"
descriptorDir="${maven.build.dest}\META-INF">
..........Nathan Coast wrote:
OK this is what's in my jelly
......... xmlns:bean="jelly:bean">
<bean:beandef className="com.codeczar.maven.plugins.ejbgen.EjbgenBean" methodName="execute" name="ejbgentag"/>
<ejbgentag outputDir="${maven.ejbgen.java.dir}" descriptorDir="${maven.build.dest}\META-INF" .............
and this is the exception
java.lang.ClassNotFoundException: bean
at java.net.URLClassLoader$1.run(URLClassLoader.java:198)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at org.apache.commons.jelly.parser.XMLParser.createTag(XMLParser.java:1039)
at org.apache.commons.jelly.parser.XMLParser.startElement(XMLParser.java:647)
I think I'm doing what I'm supposed to be doing following the docs here http://jakarta.apache.org/commons/jelly/libs/bean/tags.html
any suggestions? cheers Nathan
[EMAIL PROTECTED] wrote:
Write a java bean. You can then use the jelly:bean tag to wrap it as a jelly tag, and as long as the method name is execute, I believe Ant will run it too.
--
dIon Gillard, Multitask Consulting
Blog: http://blogs.codehaus.org/people/dion/
--------------------------------------------------------------------- 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]
