The following issue has been updated:
Updater: Andrew Stevens (mailto:[EMAIL PROTECTED])
Date: Sun, 16 Nov 2003 6:04 PM
Changes:
Component changed to EJB Module
---------------------------------------------------------------------
For a full history of the issue, see:
http://opensource.atlassian.com/projects/xdoclet/secure/ViewIssue.jspa?key=XDT-688&page=history
---------------------------------------------------------------------
View the issue:
http://opensource.atlassian.com/projects/xdoclet/secure/ViewIssue.jspa?key=XDT-688
Here is an overview of the issue:
---------------------------------------------------------------------
Key: XDT-688
Summary: bean class with no specified class
Type: Bug
Status: Assigned
Priority: Major
Time Spent: Unknown
Remaining: Unknown
Project: XDoclet
Components:
EJB Module
Versions:
1.2 Beta 3
Assignee: xdoclet-devel (Use for new issues)
Reporter: Marcin Mieszek
Created: Mon, 27 Oct 2003 7:32 PM
Updated: Sun, 16 Nov 2003 6:04 PM
Description:
When I have a class without specified package, XDoclet does not omit package
declaration in generated files. This is modified StatefulBean from samples.
From:
/**
* @ejb.bean
* name="Stateful"
* type="Stateful"
* description="Description Bean"
*
* @jboss.bean ejb-name="Stateful"
* jndi-name="StatefulHome"
* @ejb.home generate="false"
*/
public abstract class StatefulBean implements javax.ejb.SessionBean {
private String x;
/**
* @ejb.interface-method
*/
public String getName() {
return "Foobar";
}
/**
* @ejb.create-method
*/
public void ejbCreateWithParam(String x) {
this.x = x;
}
/**
* @ejb.create-method
*/
public void ejbCreate(String x) {
this.x = x;
}
}
I got:
/*
* Generated by XDoclet - Do not edit!
*/
package ;
/**
* Home interface for Stateful.
* @xdoclet-generated at 28-10-03
* @copyright The XDoclet Team
* @author Xi Systems
* @version ${version}
*/
public interface StatefulHome
extends javax.ejb.EJBHome
{
public static final String COMP_NAME="java:comp/env/ejb/Stateful";
public static final String JNDI_NAME="Stateful";
public .Stateful createWithParam(java.lang.String x)
throws javax.ejb.CreateException,java.rmi.RemoteException;
public .Stateful create(java.lang.String x)
throws javax.ejb.CreateException,java.rmi.RemoteException;
}
Please notice "package ;" and ".Stateful".
---------------------------------------------------------------------
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/secure/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: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel