Hi, I'm using XDoclet 1.2.0 beta 2

my ejb-jar.xml file isn't being created of populated with my
ejb descriptors because the <fileset> ant command isn't finding my ejb
source files in my <ejbdoclet> ant <taskdef>

and I'm getting a 

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

message in my 'ejbdoclet' task.

this is due to my <fileset> not picking up my ejb sourcefiles as I've
also read from the XDoclet mail archives

http://www.mail-archive.com/[email protected]/msg03395.html

this is my build.xml

    <target name="ejbdoclet" depends="init, prepare">
       <ejbdoclet
            destdir="${build.dir.classes}"
            mergedir="${generated.sources}"
            ejbspec="2.0"
            force="${xdoclet.force}"
            verbose="false"
           >
           
  
            <fileset dir="${src.dir}">
                <include name="**/*.java" />
            </fileset>

            <remoteinterface/>
            <homeinterface/>
            <session/>
             
            <deploymentdescriptor
                destdir="${etc.dir}/META-INF"
                validatexml="true"
                mergedir="fake-to-debug"
            >
            </deploymentdescriptor>

            <jboss
                version="3.0"
                unauthenticatedPrincipal="nobody"
                xmlencoding="UTF-8"
                destdir="${etc.dir}/META-INF"
                validatexml="true"
            />
        </ejbdoclet>        
    </target>

has there been a work around yet for this problem?

the <fileset> works in the samples <ejbdoclet> what gives?

-Terry



-------------------------------------------------------
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to