Compile failed--Middlegen Generated code can not compile.
"zousey seyzou" <[email protected]>
| Newsgroups | gmane.comp.java.ejb.middlegen.user |
|---|---|
| Message-ID | <[email protected]> |
jello I have check-out middlegen from cvs, when i used the
samples\src\sql\airline-hsqldb.sql, to genereted tables aneverything works
fine, but when I used samples\src\sql\airline-oracle.sql, and do the
necesaery changed in the build.xml then launch middlegen, it makes all the
necesary java sources ,but con not compile.
I get the following errors:
*******************************************************************************
[ejbdoclet] Generating EJB deployment descriptor (ejb-jar.xml).
[ejbdoclet] Generating weblogic-ejb-jar.xml.
[ejbdoclet] Generating weblogic-cmp-rdbms-jar.xml.
[ejbdoclet] Generating jboss.xml.
[ejbdoclet] Generating jbosscmp-jdbc.xml.
compile-ejb:
[javac] Compiling 53 source files to C:\GNU\WinCvs
1.3\CVSNT\middlegen\samples\build\classes
[javac] C:\GNU\WinCvs
1.3\CVSNT\middlegen\samples\build\gen-src\airline\ejb\PersonBean.java:261:
cannot resolve symbol
[javac] symbol : variable reservations
[javac] location: class airline.ejb.PersonBean
[javac] setReservations(reservations);
[javac] ^
[javac] 1 error
BUILD FAILED
C:\GNU\WinCvs 1.3\CVSNT\middlegen\samples\build.xml:710: Compile failed; see
the compiler error output for details.
Total time: 56 seconds
C:\GNU\WinCvs 1.3\CVSNT\middlegen\samples>
_________________________________________________________________
Få alle de nye og sjove ikoner med MSN Messenger http://messenger.msn.dk/
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php