The following comment has been added to this issue:
Author: Heiko W. Rupp
Created: Mon, 16 Dec 2002 10:50 PM
Body:
Hello,
the excerpt from build.xml:
<taskdef name="ejbdoclet"
classname="xdoclet.modules.ejb.EjbDocletTask"
classpathref="xdoclet.path.ref"/>
<target name="ejbdoclet" depends="init">
<ejbdoclet destdir="${generated.java.dir}"
ejbspec="2.0"
mergedir="parent-fake-to-debug"
verbose="true">
<fileset dir="${java.dir}">
<include name="test/ejb/*Bean.java"/>
<include name="bla/*Bean.java"/>
</fileset>
<localinterface/>
<localhomeinterface/>
<remoteinterface/>
<homeinterface/>
<entitypk/>
<entitycmp/>
<session/>
<utilobject includeGUID="true"/>
<deploymentdescriptor
destdir="${build.dir}/ejb/META-INF"
validatexml="true"
mergedir="fake-to-debug"/>
<jboss destdir="${build.dir}/ejb/META-INF"
version="3.0"
xmlencoding="UTF-8"
typemapping="Hypersonic SQL"
datasource="java:/DefaultDS"
/>
<weblogic destdir="${build.dir}/ejb/META-INF"
xmlencoding="UTF-8"
validatexml="true"/>
<!--
<webSphere destdir="${build.dir}/ejb/META-INF"/>
-->
</ejbdoclet>
</target>
Excerpt from SessionBean.java:
import javax.ejb.SessionBean;
/**
* @ejb.bean name="Deployer"
* type="Statefull"
* jndi-name="test/ejb/Deployer"
* local-jndi-name="test/ejb/LocalDeployer"
* view-type="both"
*/
If I put the 'import javax.ejb.SessionBean' *after* the xdoclet attributes, the task
finishes silently even if I put completely silly types in like 'blabla'. In this case
the EJB is registered in ejb-jar.xml as a stateless SB.
---------------------------------------------------------------------
View the issue:
http://opensource.atlassian.com/projects/xdoclet/secure/ViewIssue.jspa?key=XDT-205
Here is an overview of the issue:
---------------------------------------------------------------------
Key: XDT-205
Summary: Error messages are not complete
Type: Bug
Status: Assigned
Priority: Major
Time Spent: Unknown
Estimate: 0 minutes
Project: XDoclet
Component: None
Versions:
1.2 Beta 1
Assignee: xdoclet-devel (Use for new issues)
Reporter: Heiko W. Rupp
Created: Mon, 16 Dec 2002 5:13 AM
Updated: Mon, 16 Dec 2002 5:13 AM
Environment: Win2k, JBoss, JDK 1.3.1
Description:
Hi,
-----
[ejbdoclet] --- Nested Exception ---
[ejbdoclet] xdoclet.XDocletException: The value 'Statefull' specified for parame
ter 'type' of ejb:bean tag in test.ejb.DeployerBean class is not valid. Valid values
for this tag are: {{4}}.
------
The error message should report something usefull (i.e. the list of allowed values
instead of '{{4}}'
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/xdoclet/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel