History | Log In     View a printable version of the current page. Get help!  
Issue Details [XML]

Key: EJB-15
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Sascha-Matthias Kulawik
Reporter: Martin West
Votes: (View)
Watchers: (View)
Operations

If you were logged in you would be able to see more operations.
EJB Cartridge

Building car rental sample gives compilation error

Created: 08/Nov/04 08:11 AM   Updated: 08/Nov/04 08:12 AM
Component/s: None
Affects Version/s: None
Fix Version/s: None

File Attachments: 1. Zip Archive CarRentalSystem.xml.zip (78 kb)



 Description   
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]
[martinw@localhost 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

[martinw@localhost car-rental-system]$ find . -name "*.jar"
./common/target/car-rental-sample-common-3.0M3-SNAPSHOT.jar
[martinw@localhost 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

 All   Comments   Change History      Sort Order:
There are no comments yet on this issue.