Hello All,

I've just grabbed that latest cvs this morning and I'm trying to compile 
a test bean. The entity bean I created compiles fine as do the 
UtilObject and Local files, but the generated LocalHome bean is failing. 
Here is the error that I'm receiving:

xdoclet:ejbdoclet:
   [ejbdoclet] Running <remoteinterface/>
   [ejbdoclet] Running <localinterface/>
   [ejbdoclet] Running <homeinterface/>
   [ejbdoclet] Running <localhomeinterface/>
   [ejbdoclet] Running <utilobject/>
   [ejbdoclet] Running <entitycmp/>
   [ejbdoclet] Running <deploymentdescriptor/>
   [ejbdoclet] Generating EJB deployment descriptor (ejb-jar.xml).
   [ejbdoclet] Running <jboss/>
   [ejbdoclet] Generating jboss.xml.

ejb:compile:
   [echo]
   [javac] Compiling 4 source files to 
/Users/rick/Documents/chrc/target/classes
   [javac] [ERROR] 
/Users/rick/Documents/chrc/target/xdoclet/src/java/ca/mbjobs/ejb/CityLocalHome.java:16:
 
'}' expected
   [javac] [ERROR]       throws javax.ejb.CreateException;
   [javac] [ERROR]                                        ^
   [javac] [ERROR] 1 error

[ERROR] BUILD FAILED
[ERROR] File...... /Users/rick/Documents/chrc/maven.xml
[ERROR] Element... javac
[ERROR] Line...... 19
[ERROR] Column.... 50
[ERROR] Compile failed; see the compiler error output for details.
Total time:  40 seconds

and here is the generated java file from XDoclet:

/*
* Generated by XDoclet - Do not edit!
*/
package java.ca.mbjobs.ejb;

/**
* Local home interface for City.
*/
public interface CityLocalHome
  extends javax.ejb.EJBLocalHome
{
  public static final String COMP_NAME="java:comp/env/ejb/City";
  public static final String JNDI_NAME="ejb/City";

  public java.ca.mbjobs.ejb.CityLocal create()
     throws javax.ejb.CreateException;



Is there anything that I can do to fix this? Everything seemed fine when 
I ran ant dist, no errors except at the beginning of the build. Errors 
about missing resource bundles. After that, everything was fine. Ant 
completed successfully.

Would it help if I posted my source file? Sorry if this email comes 
through twice. Email system at work is acting up :). Thanks!

/rick



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to