[ http://team.andromda.org:8080/jira/browse/EJB-15?page=history ]
Martin West updated EJB-15:
---------------------------
Attachment: CarRentalSystem.xml.zip
> Building car rental sample gives compilation error
> --------------------------------------------------
>
> Key: EJB-15
> URL: http://team.andromda.org:8080/jira/browse/EJB-15
> Project: EJB Cartridge
> Type: Bug
> Reporter: Martin West
> Assignee: Sascha-Matthias Kulawik
> Attachments: CarRentalSystem.xml.zip
>
>
> Building the car rental sample with the latest build (ie just running maven )
> on 8th Nov gives two errors:
> 1) Not picking up common jar apparently
> 2) datatype.String generated instead of String?
> java:compile:
> [echo] Compiling to
> /hda6/tools/andromda-bin-3.0M3-SNAPSHOT/samples/car-rental-system/ejb/target/classes
> [javac] Compiling 85 source files to
> /hda6/tools/andromda-bin-3.0M3-SNAPSHOT/samples/car-rental-system/ejb/target/classes
> /hda6/tools/andromda-bin-3.0M3-SNAPSHOT/samples/car-rental-system/ejb/src/java/org/andromda/samples/bpm4strutscarrental/contracts/ContractServiceBeanImpl.java:59:
> <identifier> expected
> public datatype.void reserve(datatype.String customerId, datatype.String
> comfortClass, datatype.Date reservationDate) throws
> org.andromda.samples.bpm4strutscarrental.contracts.ContractException {
> ^
> /hda6/tools/andromda-bin-3.0M3-SNAPSHOT/samples/car-rental-system/ejb/src/java/org/andromda/samples/bpm4strutscarrental/contracts/ContractServiceBeanImpl.java:112:
> <identifier> expected
> ^
> /hda6/tools/andromda-bin-3.0M3-SNAPSHOT/samples/car-rental-system/ejb/src/java/org/andromda/samples/bpm4strutscarrental/customers/CustomerBeanImpl.java:55:
> <identifier> expected
> public datatype.void
> addDriver(org.andromda.samples.bpm4strutscarrental.customers.Driver driver)
> ^
> /hda6/tools/andromda-bin-3.0M3-SNAPSHOT/samples/car-rental-system/ejb/src/java/org/andromda/samples/bpm4strutscarrental/customers/CustomerBeanImpl.java:59:
> <identifier> expected
> ^
> 4 errors
> BUILD FAILED
> File...... /work/maven/cache/maven-multiproject-plugin-1.3.1/plugin.jelly
> Element... maven:reactor
> Line...... 217
> Column.... 9
> Unable to obtain goal [multiproject:install-callback] --
> /work/maven/cache/maven-java-plugin-1.4/plugin.jelly:53:48: <ant:javac>
> Compile failed; see the compiler error output for details.
> INFO [App] Total time: 1 minutes 11 seconds
> INFO [App] Finished at: Mon Nov 08 09:05:17 GMT 2004
> INFO [App]
> [EMAIL PROTECTED] car-rental-system]$ find . -name "ContractException.*"
> ./common/target/src/org/andromda/samples/bpm4strutscarrental/contracts/ContractException.java
> ./common/target/classes/org/andromda/samples/bpm4strutscarrental/contracts/ContractException.class
> [EMAIL PROTECTED] car-rental-system]$ find . -name "*.jar"
> ./common/target/car-rental-sample-common-3.0M3-SNAPSHOT.jar
> [EMAIL PROTECTED] car-rental-system]$ unzip -l
> common/target/car-rental-sample-common-3.0M3-SNAPSHOT.jar
> Archive: common/target/car-rental-sample-common-3.0M3-SNAPSHOT.jar
> Length Date Time Name
> -------- ---- ---- ----
> 0 11-08-04 09:05 META-INF/
> 333 11-08-04 09:04 META-INF/MANIFEST.MF
> 0 11-08-04 09:04 org/
> 0 11-08-04 09:04 org/andromda/
> 0 11-08-04 09:04 org/andromda/samples/
> 0 11-08-04 09:04 org/andromda/samples/bpm4strutscarrental/
> 0 11-08-04 09:04
> org/andromda/samples/bpm4strutscarrental/inventory/
> 0 11-08-04 09:04
> org/andromda/samples/bpm4strutscarrental/customers/
> 0 11-08-04 09:04
> org/andromda/samples/bpm4strutscarrental/contracts/
> 0 11-08-04 09:04 org/andromda/samples/bpm4strutscarrental/admins/
> 1966 11-08-04 09:04
> org/andromda/samples/bpm4strutscarrental/inventory/CarTypeData.class
> 1448 11-08-04 09:04
> org/andromda/samples/bpm4strutscarrental/inventory/CarData.class
> 1729 11-08-04 09:04
> org/andromda/samples/bpm4strutscarrental/inventory/InventoryException.class
> 2267 11-08-04 09:04
> org/andromda/samples/bpm4strutscarrental/customers/DriverData.class
> 1689 11-08-04 09:04
> org/andromda/samples/bpm4strutscarrental/customers/CustomerData.class
> 1724 11-08-04 09:04
> org/andromda/samples/bpm4strutscarrental/customers/CustomerException.class
> 1546 11-08-04 09:04
> org/andromda/samples/bpm4strutscarrental/contracts/ReservationData.class
> 1724 11-08-04 09:04
> org/andromda/samples/bpm4strutscarrental/contracts/ContractException.class
> 1703 11-08-04 09:04
> org/andromda/samples/bpm4strutscarrental/admins/AdminException.class
> -------- -------
> 16129 19 files
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://team.andromda.org:8080/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Andromda-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-devel