This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Ant, Maven and Other Build Tools and the fly likes SAXParseException: The content of element type Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "SAXParseException: The content of element type "enterprise-beans" is incomplete, it m" Watch "SAXParseException: The content of element type "enterprise-beans" is incomplete, it m" New topic
Author

SAXParseException: The content of element type "enterprise-beans" is incomplete, it m

Chirag Jakharia
Greenhorn

Joined: Dec 03, 2003
Posts: 23
There is an Exception When XDoclet,Ant,JBoss are used
My Environment Variables are set as follows

SET CLASSPATH=C:\Progr~1\Altova\xmlspy\XMLSpyInterface.jar;C:\PROGRA~1\BEA\JDK141~1\lib\tools.jar;C:\PROGRA~1\BEA\JDK141~1\jre\lib\rt.jar;E:\jboss-3.2.3\server\default\lib\jboss-j2ee.jar;E:\jboss-3.2.3\server\default\lib\jnpserver.jar;E:\jboss-3.2.3\server\default\lib\jboss.jar;E:\jboss-3.2.3\client\jboss-common-client.jar;E:\jboss-3.2.3\client\jnet.jar;E:\jboss-3.2.3\client\jnp-client.jar;E:\jboss-3.2.3\client\jbosssx-client.jar;E:\xdoclet-1.2\lib\log4j.jar;E:\xdoclet-1.2\lib\xdoclet-1.2.jar;E:\xdo clet-1.2\lib\xjavadoc-1.0.2.jar;E:\xdoclet-1.2\lib\commons-collections-2.0.jar;E:\xdoclet-1.2\lib\commons-logging.jar;E:\xdoclet-1.2\lib\xdoclet-web-module-1.2.jar;E:\xdoclet-1.2\lib\xdoclet-ejb-module-1.2.jar;E:\xdoclet-1.2\lib\xdoclet-jmx-module-1.2.jar;E:\xdoclet-1.2\lib\xdoclet-jdo-module-1.2.jar;E:\xdoclet-1.2\lib\xdoclet-hibernate-module-1.2.jar

SET J2EE_HOME=C:\j2sdkee1.3.1
SET ANT_HOME=E:\apache-ant-1.6.1

My ANT Script,build.xml as Follows

My GreetingBean.java as Follows

When we run the Ant Script Following is the output

Can You please help me that where I have to type the Enterprose Beans Tag or any tag which will show to the XDoclet tat this bean is a Session or Entity or MessageDriven

Thanks in advance
[ there's still some long ones, but I just edited this to kill the really long unbroken lines -ds ]
[ March 09, 2004: Message edited by: Dirk Schreckmann ]
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
Moving this to the Other Java Products and Servers forum...
[ March 09, 2004: Message edited by: Dirk Schreckmann ]

[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SAXParseException: The content of element type "enterprise-beans" is incomplete, it m
 
Similar Threads
why is xdoclet erroring out?
SAXParseException: The content of element type "enterprise-beans" is incomplete, it m
Using ANT and XDoclet
XDoclet OutOfMemory problem.
EJB 2.0 and Xdcolet problems!