Discussion:
[Middlegen-user] Compile failed--Middlegen Generated code can not compile.
zousey seyzou
2004-09-22 05:45:10 UTC
Permalink
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/
Loading...