Using xdoclet 1.2b3

I get the following error:

[ejbdoclet] org.xml.sax.SAXParseException: The content of element type
"enterprise-beans" is incomplete, it must match
"(session|entity|message-driven)+".

I did a google search and someone else had the exact same error and the
replier stated that the ejbxdoclet task was not finding the files.  I have
tried to set verbosity on, but I cannot get decent traces to find out why it
is failing to find the files.

Here is my ejbxdoclet task, I have hard coded the directory just to make
sure it is set properly. 

Does anyone have any suggestions?

Thanks,

Craig

Ps.  ActivityBean.java and ActivityDetail.java are in that folder.


<target name="ejbdoclet" depends="prepare">
        <echo message="${samples.java.dir}"/>
        <ejbdoclet
            destdir="${output.java.gen-src.dir}"
            mergedir="parent-fake-to-debug"
            excludedtags="@version,@author,@todo"
            addedtags="@xdoclet-generated at ${TODAY},@copyright The XDoclet
Team,@author XDoclet,@version ${version}"
            ejbspec="2.0"
            force="${xdoclet.force}"
            verbose="true"
            >

            <fileset dir="c:\dev\ejbxdoclet\test">
               <include name="*Bean.java" />
            </fileset>

            <packageSubstitution packages="ejb"
substituteWith="interfaces"/>

            <remoteinterface/>
            <localinterface/>
            <homeinterface />
            <localhomeinterface/>

       <!--     <dataobject/>  -->
            <valueobject/>

            <entitypk/>

            <entitycmp/>
            <entitybmp/>

            <session/>
          <!--
            <dao>
               <packageSubstitution packages="ejb" substituteWith="dao"/>
            </dao>
            -->
            <utilobject includeGUID="true"/>

            <deploymentdescriptor
                destdir="${output.metainf.dir}"
                validatexml="true"
                MergeDir="fake-to-debug"
            />

            <jboss
                version="3.0"
                unauthenticatedPrincipal="nobody"
                xmlencoding="UTF-8"
                destdir="${output.metainf.dir}"
                validatexml="true"
            />
            <!--
            <weblogic
                version="6.1"
                xmlencoding="UTF-8"
                destdir="${output.metainf.dir}"
                validatexml="true"
                datasource="xdoclet.samples.default"
                mergedir="${src.dir}"
                persistence="weblogic"
            />

            <jrun
                version="4.0"
                xmlencoding="UTF-8"
                destdir="${output.metainf.dir}"
                validatexml="true"
            />
            <webSphere destdir="${output.metainf.dir}" />
            
            <jonas
                version="2.5"
                xmlencoding="UTF-8"
                destdir="${output.metainf.dir}"
                validatexml="true"
                mergedir="${src.dir}"
            />

            <orion destdir="${output.metainf.dir}"/>
               -->
               
            <apachesoap destdir="${output.classes.dir}" />

            <strutsform />

            <castormapping destdir="${output.classes.dir}"
validatexml="false" />

        </ejbdoclet>

    </target>



-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to