CarStock Jee Project Example

This forum is about EclipseUML Studio 2008. You can report bugs, and ask for support.

Moderators: touta, Omondo Team, brahim.loukil, yosr.chaari, noura, bacem

CarStock Jee Project Example

Postby Omondo Team on Thu May 01, 2008 4:47 pm

EclipseUML 2008 gives you the full JEE MDD power.
You can use the evaluation Studio license and upload the following project.

Let's have a look at the Advanced JEE modeling with spring, Hibernate and Struts code generation tutorial.
Project PDF documentation is available at: http://www.ejb3.org/model_spring_hibernate_struts.pdf
We agree that it is not a easy concept trying to add the glue between presentation, service and persistence layers directly at the modeling stage.

Note that this example is only working if you donwload EclipseUML 2008 for Java EE Modeler !!
download availalbe at: http://www.eclipsedownload.com/download ... e_3.3.html

How to use this project:

Step 1: Unzip the project on your hard disk. It will create a folder.
Step 2: Click in the package explorer > Import > Generale > Existing Projects into workspace (select the unzip project)
Step 3: Have a look in the diagram and don't forget to open the documentation View in order to get an explanation on each element of the diagram. To open the documentation View you just need to click on the diagram background > Show View > Documentation
Step 4: Select the CarManiUML.uml file (the one having the omondo logo) in your package explorer > JEE UML Code Generation > Build All Components
Step 5: Create a new AndroMDA project (it will create the skeleton of your application in your package explorer)
Step 6: Select this project and deploy the JEE code


You will need less than 5 minutes to upload this model, and generate your code.
Note that this is example is not using any Java Classe at the modeling stage.
Enjoy JEE and MDD with EclipseUML 2008 :smt006


Eclipse2008 is what you need !!
Attachments
CarManipUML.zip
You need to unzip this project, then click in the package explorer Import > General> Existing Projects into workspace
(26.39 KB) Downloaded 713 times
launch_jee_code_generation.png
Launch the JEE code generation
add_a_project.png
Create an AndroMDA project and select the cartridge in order to add the skeleton of your application
Omondo Team
Omondo Team
 
Posts: 187
Joined: Thu Oct 04, 2007 2:37 pm
Location: UK

Re: CarStock Jee Project Example

Postby Newbie user on Wed May 14, 2008 9:57 am

Hi,
I tried your example.
But i got this error.
Here i am attaching for your reference.
Kindly help me out...

[color=#FF8000]2008-05-13 21:04:40,025 INFO [AndroMDA] - discovering namespaces -
2008-05-13 21:04:41,462 INFO [AndroMDA] found namespace --> 'bpm4struts'
2008-05-13 21:04:41,462 INFO [AndroMDA] + registering component 'cartridge'
2008-05-13 21:04:41,774 INFO [AndroMDA] + registering component 'metafacades'
2008-05-13 21:04:42,618 INFO [AndroMDA] + registering component 'profile'
2008-05-13 21:04:42,727 INFO [AndroMDA] found namespace --> 'emf-uml2'
2008-05-13 21:04:42,727 INFO [AndroMDA] + registering component 'metafacades'
2008-05-13 21:04:43,227 INFO [AndroMDA] + registering component 'profile'
2008-05-13 21:04:43,258 INFO [AndroMDA] + registering component 'repository'
2008-05-13 21:04:43,430 INFO [AndroMDA] found namespace --> 'hibernate'
2008-05-13 21:04:43,430 INFO [AndroMDA] + registering component 'cartridge'
2008-05-13 21:04:43,493 INFO [AndroMDA] + registering component 'metafacades'
2008-05-13 21:04:43,665 INFO [AndroMDA] + registering component 'profile'
2008-05-13 21:04:43,696 INFO [AndroMDA] found namespace --> 'java'
2008-05-13 21:04:43,696 INFO [AndroMDA] + registering component 'cartridge'
2008-05-13 21:04:43,711 INFO [AndroMDA] + registering component 'profile'
2008-05-13 21:04:43,711 INFO [AndroMDA] + registering component 'metafacades'
2008-05-13 21:04:43,758 INFO [AndroMDA] found namespace --> 'netBeansMDR'
2008-05-13 21:04:43,758 INFO [AndroMDA] + registering component 'repository'
2008-05-13 21:04:44,742 INFO [AndroMDA] found namespace --> 'query'
2008-05-13 21:04:44,742 INFO [AndroMDA] + registering component 'translation-library'
2008-05-13 21:04:45,133 INFO [AndroMDA] found namespace --> 'spring'
2008-05-13 21:04:45,133 INFO [AndroMDA] + registering component 'cartridge'
2008-05-13 21:04:45,258 INFO [AndroMDA] + registering component 'metafacades'
2008-05-13 21:04:45,461 INFO [AndroMDA] + registering component 'profile'
2008-05-13 21:04:45,492 INFO [AndroMDA] found namespace --> 'uml-1.4'
2008-05-13 21:04:45,492 INFO [AndroMDA] + registering component 'metafacades'
2008-05-13 21:04:45,867 INFO [AndroMDA] + registering component 'profile'
2008-05-13 21:04:45,883 INFO [AndroMDA] found namespace --> 'validation'
2008-05-13 21:04:45,883 INFO [AndroMDA] + registering component 'translation-library'
2008-05-13 21:04:50,679 INFO [AndroMDA] - core initialization complete: 12.341[s] -
2008-05-13 21:04:52,334 INFO [AndroMDA] loading model --> 'file:D:/EclipseUML/eclipse/workspace/carstock/mda/src/main/uml/carstock.uml2'
2008-05-13 21:04:53,678 INFO [AndroMDA] referenced model --> 'file:/D:/EclipseUML/eclipse/maven/repository/org/andromda/profiles/emf/uml2/andromda-profile-presentation/3.2-SNAPSHOT/andromda-profile-presentation-3.2-SNAPSHOT.uml2'
2008-05-13 21:04:55,412 INFO [AndroMDA] referenced model --> 'file:/D:/EclipseUML/eclipse/maven/repository/org/andromda/profiles/emf/uml2/andromda-profile-service/3.2-SNAPSHOT/andromda-profile-service-3.2-SNAPSHOT.uml2'
2008-05-13 21:04:55,802 INFO [AndroMDA] referenced model --> 'file:/D:/EclipseUML/eclipse/maven/repository/org/andromda/profiles/emf/uml2/andromda-profile-persistence/3.2-SNAPSHOT/andromda-profile-persistence-3.2-SNAPSHOT.uml2'
2008-05-13 21:04:56,505 INFO [AndroMDA] referenced model --> 'file:/D:/EclipseUML/eclipse/maven/repository/org/andromda/profiles/emf/uml2/andromda-profile-datatype/3.2-SNAPSHOT/andromda-profile-datatype-3.2-SNAPSHOT.uml2'
2008-05-13 21:04:56,583 INFO [AndroMDA] referenced model --> 'jar:file:/D:/EclipseUML/eclipse/maven/repository/org/andromda/repositories/andromda-repository-emf-uml2/3.3-SNAPSHOT/andromda-repository-emf-uml2-3.3-SNAPSHOT.jar!/META-INF/emf/modules/Basic.profile.uml2'
2008-05-13 21:04:56,646 INFO [AndroMDA] referenced model --> 'jar:file:/D:/EclipseUML/eclipse/maven/repository/org/andromda/repositories/andromda-repository-emf-uml2/3.3-SNAPSHOT/andromda-repository-emf-uml2-3.3-SNAPSHOT.jar!/META-INF/emf/modules/UML2PrimitiveTypes.library.uml2'
2008-05-13 21:04:56,740 INFO [AndroMDA] referenced model --> 'file:/D:/EclipseUML/eclipse/maven/repository/org/andromda/profiles/emf/uml2/andromda-profile-webservice/3.2-SNAPSHOT/andromda-profile-webservice-3.2-SNAPSHOT.uml2'
2008-05-13 21:04:56,802 INFO [AndroMDA] referenced model --> 'file:/D:/EclipseUML/eclipse/maven/repository/org/andromda/profiles/emf/uml2/andromda-profile-process/3.2-SNAPSHOT/andromda-profile-process-3.2-SNAPSHOT.uml2'
2008-05-13 21:04:56,880 INFO [AndroMDA] referenced model --> 'file:/D:/EclipseUML/eclipse/maven/repository/org/andromda/profiles/emf/uml2/andromda-profile-xml/3.2-SNAPSHOT/andromda-profile-xml-3.2-SNAPSHOT.uml2'
2008-05-13 21:04:56,927 INFO [AndroMDA] referenced model --> 'file:/D:/EclipseUML/eclipse/maven/repository/org/andromda/profiles/emf/uml2/andromda-profile-common/3.2-SNAPSHOT/andromda-profile-common-3.2-SNAPSHOT.uml2'
2008-05-13 21:04:56,974 INFO [AndroMDA] referenced model --> 'file:/D:/EclipseUML/eclipse/maven/repository/org/andromda/profiles/emf/uml2/andromda-profile-meta/3.2-SNAPSHOT/andromda-profile-meta-3.2-SNAPSHOT.uml2'
2008-05-13 21:04:57,099 INFO [AndroMDA] referenced model --> 'jar:file:/D:/EclipseUML/eclipse/maven/repository/org/andromda/repositories/andromda-repository-emf-uml2/3.3-SNAPSHOT/andromda-repository-emf-uml2-3.3-SNAPSHOT.jar!/META-INF/emf/modules/UML2.metamodel.uml2'
2008-05-13 21:04:57,130 INFO [AndroMDA] referenced model --> 'jar:file:/D:/EclipseUML/eclipse/maven/repository/org/andromda/repositories/andromda-repository-emf-uml2/3.3-SNAPSHOT/andromda-repository-emf-uml2-3.3-SNAPSHOT.jar!/META-INF/emf/modules/Ecore.profile.uml2'
2008-05-13 21:04:57,208 INFO [AndroMDA] referenced model --> 'jar:file:/D:/EclipseUML/eclipse/maven/repository/org/andromda/repositories/andromda-repository-emf-uml2/3.3-SNAPSHOT/andromda-repository-emf-uml2-3.3-SNAPSHOT.jar!/META-INF/emf/modules/Complete.profile.uml2'
2008-05-13 21:05:00,723 INFO [AndroMDA] - loading complete: 10.044[s] -
2008-05-13 21:05:00,723 INFO [AndroMDA] - validating model -
2008-05-13 21:05:05,519 INFO [AndroMDA] - validation complete: 4.796[s] -
2008-05-13 21:05:06,050 INFO [AndroMDA:spring] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../core/target/src/carstock/ServiceLocator.java'
2008-05-13 21:05:06,159 INFO [AndroMDA:spring] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../core/target/src/unnamed/Cars.java'
2008-05-13 21:05:06,362 INFO [AndroMDA:spring] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../core/target/src/unnamed/CarsBase.java'
2008-05-13 21:05:06,378 INFO [AndroMDA:spring] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../core/target/src/carstock/PrincipalStore.java'
2008-05-13 21:05:06,441 INFO [AndroMDA:spring] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../core/target/src/unnamed/CarsException.java'
2008-05-13 21:05:06,675 INFO [AndroMDA:spring] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../core/target/src/unnamed/CarDao.java'
2008-05-13 21:05:06,987 INFO [AndroMDA:spring] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../core/target/src/unnamed/CarDaoBase.java'
2008-05-13 21:05:07,065 INFO [AndroMDA:spring] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../core/target/src/unnamed/ejb/CarsBean.java'
2008-05-13 21:05:07,081 INFO [AndroMDA:spring] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../core/target/src/unnamed/ejb/Cars.java'
2008-05-13 21:05:07,097 INFO [AndroMDA:spring] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../core/target/src/unnamed/ejb/CarsHome.java'
2008-05-13 21:05:07,175 INFO [AndroMDA:spring] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../core/target/src/applicationContext.xml'
2008-05-13 21:05:07,190 INFO [AndroMDA:spring] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../core/target/src/applicationContext-dataSource.xml'
2008-05-13 21:05:07,206 INFO [AndroMDA:spring] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../core/target/src/applicationContext-localDataSource.xml'
2008-05-13 21:05:07,237 INFO [AndroMDA:spring] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../core/target/src/applicationContext-localEjb.xml'
2008-05-13 21:05:07,269 INFO [AndroMDA:spring] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../core/target/src/META-INF/ejb-jar.xml'
2008-05-13 21:05:07,284 INFO [AndroMDA:spring] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../core/target/src/META-INF/jboss.xml'
2008-05-13 21:05:07,284 WARN [org.andromda.core.configuration.Namespaces] WARNING! Namespaces 'default' and 'spring' have no property 'weblogic-config' defined --> please define this property in AT LEAST ONE of these two namespaces. If you want to 'ignore' this message, add the property to the namespace with ignore set to 'true'
2008-05-13 21:05:07,300 INFO [AndroMDA:spring] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../core/target/src/beanRefFactory.xml'
2008-05-13 21:05:07,315 INFO [AndroMDA:spring] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../core/target/src/carstock/SearchParameter.java'
2008-05-13 21:05:07,331 INFO [AndroMDA:spring] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../core/target/src/carstock/Search.java'
2008-05-13 21:05:07,347 INFO [AndroMDA:spring] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../core/target/src/carstock/PropertySearch.java'
2008-05-13 21:05:07,409 INFO [AndroMDA:spring] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../core/target/src/carstock/CriteriaSearch.java'
2008-05-13 21:05:07,440 INFO [AndroMDA:spring] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../core/target/src/carstock/CriteriaSearchProperties.java'
2008-05-13 21:05:07,456 INFO [AndroMDA:spring] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../core/target/src/carstock/CriteriaSearchConfiguration.java'
2008-05-13 21:05:07,487 INFO [AndroMDA:spring] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../core/target/src/carstock/CriteriaSearchParameter.java'
2008-05-13 21:05:07,503 INFO [AndroMDA:spring] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../core/target/src/carstock/BeanLocator.java'
2008-05-13 21:05:08,284 INFO [AndroMDA:hibernate] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../core/target/src/unnamed/Car.hbm.xml'
2008-05-13 21:05:08,549 INFO [AndroMDA:hibernate] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../core/target/src/unnamed/Car.java'
2008-05-13 21:05:08,565 INFO [AndroMDA:hibernate] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../core/target/src/unnamed/CarImpl.java'
2008-05-13 21:05:08,565 INFO [AndroMDA:hibernate] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../core/target/src/org/andromda/persistence/hibernate/usertypes/HibernateByteBlobType.java'
2008-05-13 21:05:08,612 INFO [AndroMDA:hibernate] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../core/target/src/org/andromda/persistence/hibernate/usertypes/HibernateStringClobType.java'
2008-05-13 21:05:08,799 INFO [AndroMDA:hibernate] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../core/target/src/ehcache.xml'
2008-05-13 21:05:09,206 INFO [AndroMDA:bpm4struts] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../web/target/src/layout/ascending.gif'
2008-05-13 21:05:09,206 INFO [AndroMDA:bpm4struts] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../web/target/src/layout/breadcrumb.gif'
2008-05-13 21:05:09,221 INFO [AndroMDA:bpm4struts] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../web/target/src/layout/csv.gif'
2008-05-13 21:05:09,221 INFO [AndroMDA:bpm4struts] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../web/target/src/layout/default-calendar.css'
2008-05-13 21:05:09,237 INFO [AndroMDA:bpm4struts] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../web/target/src/layout/default.css'
2008-05-13 21:05:09,252 INFO [AndroMDA:bpm4struts] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../web/target/src/layout/descending.gif'
2008-05-13 21:05:09,252 INFO [AndroMDA:bpm4struts] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../web/target/src/layout/excel.gif'
2008-05-13 21:05:09,252 INFO [AndroMDA:bpm4struts] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../web/target/src/layout/help.gif'
2008-05-13 21:05:09,268 INFO [AndroMDA:bpm4struts] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../web/target/src/layout/hints.js'
2008-05-13 21:05:09,284 INFO [AndroMDA:bpm4struts] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../web/target/src/layout/key-events.js'
2008-05-13 21:05:09,284 INFO [AndroMDA:bpm4struts] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../web/target/src/layout/layout-common.js'
2008-05-13 21:05:09,315 INFO [AndroMDA:bpm4struts] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../web/target/src/layout/none.gif'
2008-05-13 21:05:09,315 INFO [AndroMDA:bpm4struts] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../web/target/src/layout/pdf.gif'
2008-05-13 21:05:09,331 INFO [AndroMDA:bpm4struts] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../web/target/src/layout/warning.gif'
2008-05-13 21:05:09,331 INFO [AndroMDA:bpm4struts] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../web/target/src/layout/xml.gif'
2008-05-13 21:05:09,346 INFO [AndroMDA:bpm4struts] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../web/target/src/layout/calendar/calendar.gif'
2008-05-13 21:05:09,346 INFO [AndroMDA:bpm4struts] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../web/target/src/layout/calendar/menuarrow.gif'
2008-05-13 21:05:09,377 INFO [AndroMDA:bpm4struts] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../web/target/src/WEB-INF/lib/andromda-breadcrumbs-taglib.jar'
2008-05-13 21:05:09,393 INFO [AndroMDA:bpm4struts] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../web/target/src/WEB-INF/lib/andromda-formatting-taglib.jar'
2008-05-13 21:05:09,409 INFO [AndroMDA:bpm4struts] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../web/target/src/WEB-INF/lib/andromda-collections-taglib.jar'
2008-05-13 21:05:09,580 INFO [AndroMDA:bpm4struts] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../web/target/src/unnamed/ListCar.java'
2008-05-13 21:05:09,596 INFO [AndroMDA:bpm4struts] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../web/target/src/unnamed/ShowListedCarsAdd.java'
2008-05-13 21:05:09,627 INFO [AndroMDA:bpm4struts] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../web/target/src/unnamed/carAdd/AddCar.java'
2008-05-13 21:05:09,659 INFO [AndroMDA:bpm4struts] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../web/target/src/unnamed/carAdd/EnterNewCarDataSave.java'
2008-05-13 21:05:09,705 INFO [AndroMDA:bpm4struts] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../web/target/src/org/andromda/presentation/bpm4struts/PatternMatchingExceptionHandler.java'
2008-05-13 21:05:09,893 INFO [AndroMDA:bpm4struts] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../web/target/src/unnamed/show-listed-cars-add.jspf'
2008-05-13 21:05:10,049 INFO [AndroMDA:bpm4struts] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../web/target/src/unnamed/carAdd/enter-new-car-data-save.jspf'
2008-05-13 21:05:10,112 INFO [AndroMDA:bpm4struts] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../web/target/src/unnamed/ListCarFormImpl.java'
2008-05-13 21:05:10,174 INFO [AndroMDA:bpm4struts] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../web/target/src/unnamed/carAdd/AddCarFormImpl.java'
2008-05-13 21:05:10,205 INFO [AndroMDA:bpm4struts] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../web/target/src/unnamed/carAdd/EnterNewCarDataSaveFormImpl.java'
2008-05-13 21:05:10,268 INFO [AndroMDA:bpm4struts] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../web/target/src/unnamed/GetAllCarsForm.java'
2008-05-13 21:05:10,315 INFO [AndroMDA:bpm4struts] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../web/target/src/unnamed/carAdd/CreateCarForm.java'
2008-05-13 21:05:10,471 INFO [AndroMDA:bpm4struts] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../web/target/src/unnamed/ListCarController.java'
2008-05-13 21:05:10,502 INFO [AndroMDA:bpm4struts] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../web/target/src/unnamed/carAdd/AddCarController.java'
2008-05-13 21:05:10,533 INFO [AndroMDA:bpm4struts] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../web/target/src/unnamed/ListCarControllerFactory.java'
2008-05-13 21:05:10,533 INFO [AndroMDA:bpm4struts] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../web/target/src/unnamed/carAdd/AddCarControllerFactory.java'
2008-05-13 21:05:11,174 INFO [AndroMDA:bpm4struts] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../web/target/src/unnamed/show-listed-cars.jsp'
2008-05-13 21:05:11,205 INFO [AndroMDA:bpm4struts] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../web/target/src/unnamed/carAdd/enter-new-car-data.jsp'
2008-05-13 21:05:11,236 INFO [AndroMDA:bpm4struts] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../web/target/src/error-page.jsp'
2008-05-13 21:05:11,283 INFO [AndroMDA:bpm4struts] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../web/target/src/unnamed/show-listed-cars-javascript.jspf'
2008-05-13 21:05:11,361 INFO [AndroMDA:bpm4struts] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../web/target/src/unnamed/carAdd/enter-new-car-data-javascript.jspf'
2008-05-13 21:05:11,377 INFO [AndroMDA:bpm4struts] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../web/target/src/unnamed/show-listed-cars-vars.jspf'
2008-05-13 21:05:11,502 INFO [AndroMDA:bpm4struts] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../web/target/src/unnamed/show-listed-cars-cars.jspf'
2008-05-13 21:05:11,627 INFO [AndroMDA:bpm4struts] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../web/target/src/org/andromda/presentation/bpm4struts/StrutsValidator.java'
2008-05-13 21:05:11,658 INFO [AndroMDA:bpm4struts] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../web/target/src/index.jsp'
2008-05-13 21:05:11,783 INFO [AndroMDA:bpm4struts] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../web/target/src/WEB-INF/classes/application-resources.properties'
2008-05-13 21:05:11,799 INFO [AndroMDA:bpm4struts] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../web/target/src/WEB-INF/classes/displaytag.properties'
2008-05-13 21:05:11,846 INFO [AndroMDA:bpm4struts] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../web/target/src/WEB-INF/web.xml'
2008-05-13 21:05:11,861 INFO [AndroMDA:bpm4struts] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../web/target/src/org/andromda/presentation/bpm4struts/ActionServlet.java'
2008-05-13 21:05:11,908 INFO [AndroMDA:bpm4struts] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../web/target/src/login/login-form.jsp'
2008-05-13 21:05:11,939 INFO [AndroMDA:bpm4struts] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../web/target/src/layout/menu.jsp'
2008-05-13 21:05:11,955 INFO [AndroMDA:bpm4struts] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../web/target/src/layout/main-layout.jsp'
2008-05-13 21:05:12,033 INFO [AndroMDA:bpm4struts] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../web/target/src/WEB-INF/tiles-defs.xml'
2008-05-13 21:05:12,142 INFO [AndroMDA:bpm4struts] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../web/target/src/WEB-INF/struts-config.xml'
2008-05-13 21:05:12,314 INFO [AndroMDA:bpm4struts] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../web/target/src/WEB-INF/menu-config.xml'
2008-05-13 21:05:12,361 INFO [AndroMDA:bpm4struts] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../web/target/src/layout/default-application.css'
2008-05-13 21:05:12,392 INFO [AndroMDA:bpm4struts] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../web/target/src/unnamed/show-listed-cars.css'
2008-05-13 21:05:12,408 INFO [AndroMDA:bpm4struts] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../web/target/src/unnamed/carAdd/enter-new-car-data.css'
2008-05-13 21:05:12,439 INFO [AndroMDA:bpm4struts] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../web/target/src/layout/messages.jsp'
2008-05-13 21:05:12,658 INFO [AndroMDA:bpm4struts] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../web/target/src/calendar-js.jsp'
2008-05-13 21:05:12,674 INFO [AndroMDA:bpm4struts] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../web/target/src/layout/breadcrumbs.jsp'
2008-05-13 21:05:12,689 INFO [AndroMDA:bpm4struts] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../web/target/src/taglib-imports.jspf'
2008-05-13 21:05:12,720 INFO [AndroMDA:bpm4struts] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../web/target/src/unnamed/show-listed-cars_help.jsp'
2008-05-13 21:05:12,736 INFO [AndroMDA:bpm4struts] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../web/target/src/unnamed/carAdd/enter-new-car-data_help.jsp'
2008-05-13 21:05:12,752 INFO [AndroMDA:bpm4struts] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../web/target/src/application-help.jsp'
2008-05-13 21:05:12,783 INFO [AndroMDA:bpm4struts] Output: 'file:/D:/EclipseUML/eclipse/workspace/carstock/mda/../web/target/src/layout/help-layout.jsp'
2008-05-13 21:05:12,845 INFO [AndroMDA] completed model processing --> TIME: 22.166[s], RESOURCES WRITTEN: 138

------------------------------------------------------------------
[ERROR] reactor-execute : D:\EclipseUML\eclipse\workspace\carstock
Diagnosis: Compilation failure
FATAL ERROR: Error executing Maven for a project
------------------------------------------------------------------
[/color]
Newbie user
 

Re: CarStock Jee Project Example

Postby yosr.chaari on Wed May 14, 2008 11:13 am

Hello,

I was wondering if you have used our test project or if you have created a new one using our tutorial.
Thanks for your post.
Yosr
yosr.chaari
 
Posts: 4
Joined: Tue Aug 28, 2007 8:31 am

Re: CarStock Jee Project Example

Postby Newbie user on Thu May 15, 2008 5:37 am

HI,
I have tried your sample example provided in the forum.i tried that sample in both uml2008 and uml2007.its generating all the codes. but final ear file is not generated.
That is the only problem i am facing.

And i want to create manully ,i created all class and sate diagram.i am facing error on this step.

The «ListCarsController » class role is to get the car list and display the information by the presentation layer.
o Visibility is public
o Return type : void
o Parameters type : java.util.collection

i can't set collection type.

Thanks for your reply and looking for solution.

Thanks
Newbie user
 

Re: CarStock Jee Project Example

Postby yosr.chaari on Fri May 16, 2008 9:35 am

Hello,
Which cartridges did you choose for your code generation that i can reproduce your problem?
To set a collection type, open the method's properties dialog, add a parameter and Click on the Browse Button to choose the collection type (See the picture).
Yosr
Omondo Research Lab
Attachments
CollectionType.GIF
CollectionType.GIF (9.17 KB) Viewed 1417 times
yosr.chaari
 
Posts: 4
Joined: Tue Aug 28, 2007 8:31 am

Re: CarStock Jee Project Example

Postby Newbie user on Mon May 19, 2008 5:33 am

Hi,
Thanks for your reply.
I tried what u said like that. but i am facing problem is final build is not created .all codes will be generated.but only .ear file is not generating.
kindly advice.
Newbie user
 

Re: CarStock Jee Project Example

Postby yosr.chaari on Mon May 19, 2008 10:59 am

Hello,
The ear is generated under the projectName-app/target.
If you can't find it, you can send me your project to support@omondo.com that I have a look at it.
Don't forget to mention the cartridges you used for the generation.
Thanks for your post.
Yosr.
Omondo Research Lab.
yosr.chaari
 
Posts: 4
Joined: Tue Aug 28, 2007 8:31 am

Re: CarStock Jee Project Example

Postby yosr.chaari on Tue May 27, 2008 11:12 am

Hello everybody,
Those who have tried to deploy the ear file after the code generation should have encountred a problem.
This is our fault cause we used special chars in the comments of our model that the ejb-jar parser does not recognize.
We have changed those chars, and now you should be able to generate your code, to deploy and to execute your application.
Sorry for the inconvenience and the waste of time :oops:
Yosr CHAARI
Omondo Research Team
Attachments
CarManipUML.zip
CarManip Project for code generation and deployment of the application
(26.39 KB) Downloaded 98 times
yosr.chaari
 
Posts: 4
Joined: Tue Aug 28, 2007 8:31 am


Return to Support - EclipseUML Studio 2008 for Eclipse 3.3

Who is online

Users browsing this forum: No registered users and 1 guest

cron