Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:

  http://opensource.atlassian.com/projects/xdoclet/secure/ViewIssue.jspa?key=XDT-791


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XDT-791
    Summary: missing import statement
       Type: Bug

     Status: Open
   Priority: Critical

 Original Estimate: 1 minute
 Time Spent: Unknown
  Remaining: 1 minute

    Project: XDoclet
 Components: 
             EJB Module
   Versions:
             1.2

   Assignee: xdoclet-devel (Use for new issues)
   Reporter: Bill Wadley

    Created: Mon, 2 Feb 2004 4:19 PM
    Updated: Mon, 2 Feb 2004 4:19 PM
Environment: Linux 2.4.18, JDK 1.4.2_03, Ant 1.5.4, XDoclet 1.2, JBoss 3.2.3

Description:
Upon upgrading from XDoclet 1.2b3 to 1.2 release, I get a compile error on an XDoclet 
generated value-object class with:

[javac] Compiling 317 source files to /home/build/ejb
[javac] Found 1 semantic error compiling 
"/home/build/ejb/com/ejb/entity/FooValue.java":
[javac]    139.    public Collection getAddedBarValues() { return addedBarValues; }
[javac]                   ^--------^
[javac] *** Semantic Error: Type com.psi.portenta.ejb.entity.Collection was not found.

BUILD FAILED

Between 1.2b3 and 1.2, the import statement "import java.util.*" disappeared. Putting 
it back in (as per the patch below) fixes the problem.





Index: modules/ejb/src/xdoclet/modules/ejb/entity/resources/valueobject.xdt
===================================================================
RCS file: 
/cvsroot/xdoclet/xdoclet/modules/ejb/src/xdoclet/modules/ejb/entity/resources/valueobject.xdt,v
retrieving revision 1.23
diff -b -u -r1.23 valueobject.xdt
--- modules/ejb/src/xdoclet/modules/ejb/entity/resources/valueobject.xdt   9 Jul 2003 
13:45:10 -0000  1.23
+++ modules/ejb/src/xdoclet/modules/ejb/entity/resources/valueobject.xdt   2 Feb 2004 
22:09:19 -0000
@@ -3,6 +3,8 @@
  */
 package 
<XDtPackage:packageOf><XDtEjbValueObj:valueObjectClass/></XDtPackage:packageOf>;

+import java.util.*;
+
 /**
  * <XDtI18n:getString bundle="xdoclet.modules.ejb.XDocletModulesEjbMessages" 
resource="value_object_for" arguments="<XDtEjb:
  *





---------------------------------------------------------------------
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



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to