Hello,
I am trying to get the sample airline application
running....Can anyone give me a hint on how to fix the
below error? I am using weblogic and oracle.
Thank You for any and all help!
Keith
C:\Downloads\middlegen-2.1-src\samples>ant
Buildfile: build.xml
init:
fail-if-no-xdoclet-1.2:
check-driver-present:
panic-if-driver-not-present:
middlegen:
[middlegen] Database
URL:jdbc:oracle:thin:@tern.nist.gov:1521:tern
[middlegen] No <table> elements specified. Reading all
tables. This might take a while...
[middlegen] 2004-10-12 22:02:05,703 WARN
[middlegen.plugins.entitybean.JBoss] WARNING (cmp20):
JBoss 3.0 does
n't support fiel
ds that are part of CMR to be CMP at the same time.
You might want to set fkcmp="false" in the
cmp20 plugin.
[middlegen] -- RESERVATIONS-has-FLIGHTS
[middlegen] -- RESERVATIONS-has-PERSONS
[middlegen] Extracting foreign keys for table :
PERSONS
[middlegen] Extracting foreign keys for table :
RESERVATIONS
[middlegen] -- RESERVATIONS-has-FLIGHTS
[middlegen] -- RESERVATIONS-has-PERSONS
[middlegen] Extracting foreign keys for table :
FLIGHTS
[middlegen] Updated preferences in
C:\Downloads\middlegen-2.1-src\samples\src\airline-prefs.properties
ejbdoclet:
[ejbdoclet] Generating Facade EJB class for
'airline.ejb.ReservationBean'.
[ejbdoclet] Generating Facade EJB class for
'airline.ejb.FlightBean'.
[ejbdoclet] Generating Facade EJB class for
'airline.ejb.PersonBean'.
[ejbdoclet] Generating Util class for
'airline.ejb.ReservationFacadeEJB'.
[ejbdoclet] Generating Util class for
'airline.ejb.FlightFacadeEJB'.
[ejbdoclet] Generating Util class for
'airline.ejb.SequenceBean'.
[ejbdoclet] Generating Util class for
'airline.ejb.PersonFacadeEJB'.
[ejbdoclet] Generating Util class for
'airline.ejb.SequenceSessionBean'.
[ejbdoclet] Generating Util class for
'airline.ejb.ReservationBean'.
[ejbdoclet] Generating Util class for
'airline.ejb.FlightBean'.
[ejbdoclet] Generating Util class for
'airline.ejb.PersonBean'.
[ejbdoclet] Generating Local interface for
'airline.ejb.ReservationFacadeEJB'.
[ejbdoclet] Generating Local interface for
'airline.ejb.FlightFacadeEJB'.
[ejbdoclet] Generating Local interface for
'airline.ejb.SequenceBean'.
[ejbdoclet] Generating Local interface for
'airline.ejb.PersonFacadeEJB'.
[ejbdoclet] Generating Local interface for
'airline.ejb.SequenceSessionBean'.
[ejbdoclet] Generating Local interface for
'airline.ejb.ReservationBean'.
[ejbdoclet] Generating Local interface for
'airline.ejb.FlightBean'.
[ejbdoclet] Generating Local interface for
'airline.ejb.PersonBean'.
[ejbdoclet] Generating Local Home interface for
'airline.ejb.ReservationFacadeEJB'.
[ejbdoclet] Generating Local Home interface for
'airline.ejb.FlightFacadeEJB'.
[ejbdoclet] Generating Local Home interface for
'airline.ejb.SequenceBean'.
[ejbdoclet] Generating Local Home interface for
'airline.ejb.PersonFacadeEJB'.
[ejbdoclet] Generating Local Home interface for
'airline.ejb.SequenceSessionBean'.
[ejbdoclet] Generating Local Home interface for
'airline.ejb.ReservationBean'.
[ejbdoclet] Generating Local Home interface for
'airline.ejb.FlightBean'.
[ejbdoclet] Generating Local Home interface for
'airline.ejb.PersonBean'.
[ejbdoclet] Generating Value Object class:
'airline.ejb.ReservationBean-->
airline.interfaces.ReservationValue
'.
[ejbdoclet] Generating Value Object class:
'airline.ejb.ReservationBean-->
airline.interfaces.ReservationLight
Value'.
[ejbdoclet] Generating Value Object class:
'airline.ejb.FlightBean-->
airline.interfaces.FlightValue'.
[ejbdoclet] Generating Value Object class:
'airline.ejb.FlightBean-->
airline.interfaces.FlightLightValue'.
[ejbdoclet] Generating Value Object class:
'airline.ejb.PersonBean-->
airline.interfaces.PersonValue'.
[ejbdoclet] Generating Value Object class:
'airline.ejb.PersonBean-->
airline.interfaces.PersonLightValue'.
[ejbdoclet] Generating Remote interface for
'airline.ejb.ReservationFacadeEJB'.
[ejbdoclet] Generating Remote interface for
'airline.ejb.FlightFacadeEJB'.
[ejbdoclet] Generating Remote interface for
'airline.ejb.PersonFacadeEJB'.
[ejbdoclet] Generating Home interface for
'airline.ejb.ReservationFacadeEJB'.
[ejbdoclet] Generating Home interface for
'airline.ejb.FlightFacadeEJB'.
[ejbdoclet] Generating Home interface for
'airline.ejb.PersonFacadeEJB'.
[ejbdoclet] Generating Session class for
'airline.ejb.ReservationFacadeEJB'.
[ejbdoclet] Generating Session class for
'airline.ejb.FlightFacadeEJB'.
[ejbdoclet] Generating Session class for
'airline.ejb.PersonFacadeEJB'.
[ejbdoclet] Generating Session class for
'airline.ejb.SequenceSessionBean'.
[ejbdoclet] Generating PK class for
'airline.ejb.ReservationBean'.
[ejbdoclet] Generating CMP class for
'airline.ejb.SequenceBean'.
[ejbdoclet] Generating CMP class for
'airline.ejb.ReservationBean'.
[ejbdoclet] Generating CMP class for
'airline.ejb.FlightBean'.
[ejbdoclet] Generating CMP class for
'airline.ejb.PersonBean'.
[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:\Downloads\middlegen-2.1-src\samples\build\classes
[javac]
C:\Downloads\middlegen-2.1-src\samples\build\gen-src\airline\ejb\PersonBean.java:261:
cannot resol
ve symbol
[javac] symbol : variable reservations
[javac] location: class airline.ejb.PersonBean
[javac] setReservations(reservations);
[javac] ^
[javac] 1 error
BUILD FAILED
C:\Downloads\middlegen-2.1-src\samples\build.xml:702:
Compile failed; see the compiler error output for
detail
s.
Total time: 35 seconds
__________________________________
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.
http://promotions.yahoo.com/new_mail
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
middlegen-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/middlegen-user