[crossposted from xdoclet-plugins...]

Hiyas,

I'm finally getting X2 installed.  Heh, I've written a Generama plugin, but I
can't figure out how to get the HibernateMappingPlugin operational!  :/

Caused by: org.apache.commons.jelly.JellyException: The node
"[EMAIL PROTECTED] [Element: <x:doctype uri: jelly:xml
attributes: [EMAIL PROTECTED] [Attribute:
 name trim value "true"], [EMAIL PROTECTED] [Attribute:
name systemId value
"http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd";],
[EMAIL PROTECTED]
[Attribute: name name value "hibernate-mapping"],
[EMAIL PROTECTED] [Attribute: name publicId value
"-//Hibernate/Hibernate Mapping DTD 2.0//EN"]]/>]" could not be added to the
b
ranch "null" because: Cannot add another element to this Document as it
already has  a root element of: x:doctype File: jar:file:C:\Documents and
Settings\topping\.maven\repository\xdoclet-plugins\jar
s\xdoclet-plugin-hibernate-1.0-SNAPSHOT.jar!/org/xdoclet/plugin/hibernate/Hib
ernateMappingPlugin.jelly At tag <hibernate-mapping>: line: 10 column: 24
        at
org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:443)
        at
org.apache.commons.jelly.impl.StaticTagScript.run(StaticTagScript.java:143)
        at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:134)
        at
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:190)
        at
org.apache.commons.jelly.tags.core.JellyTag.doTag(JellyTag.java:100)
        at
org.apache.commons.jelly.impl.BeanTagScript.run(BeanTagScript.java:180)
        at
org.apache.commons.jelly.JellyContext.runScript(JellyContext.java:474)
        at
org.generama.JellyTemplateEngine.generate(JellyTemplateEngine.java:52)


Any ideas what I'm doing wrong?  Here's my maven.xml smidget:

    <goal name="dentaku:hibernatedoclet">
        <path id="xdoclet.task.classpath">
            <path refid="maven.dependency.classpath"/>
        </path>
        <taskdef name="xdoclet" classname="org.xdoclet.ant.XDocletTask"
classpathref="xdoclet.task.classpath"/>
        <xdoclet>
            <component
classname="org.xdoclet.plugin.hibernate.HibernateMappingPlugin"
destdir="${maven.build.dir}/xdoclet"/>
        </xdoclet>
    </goal>


TIA!!

-b


-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to