-- I say just leave out hibernate and do the ejb cartridge only. I think it will make it a less confusing example that way, and since we have the animal quiz we're fine with hibernate. Wouter agrees as well :)

I could tweak one of the projects to use the other ones model

On Tue, 2004-11-09 at 14:54, Chad Brandon wrote:
--Yeah that would make sense, but what would you suggest to keep from
duplicating the model in both places? Maybe we shouldn't even have the
hibernate version of car rental anymore (since animal quiz has that).  Was
does everyone else think?

May be we should split the car-rental in a hibernate flavour and an ejb
flavour, that is, better to have the sample project structure which
reflects how we would expect a normal project to look.

On Tue, 2004-11-09 at 12:07, Chad Brandon (JIRA) wrote:
> [ http://team.andromda.org:8080/jira/browse/MISC-12?page=history ]
>
> Chad Brandon resolved MISC-12:
> ------------------------------
>
> Resolution: Won't Fix
>
> The core module contains spring, hibernate, or ejb (depending on what > you
> select), you won't find any module named "ejb" or "hibernate", or > "spring"
> for that matter. The car rental sample is structured differently since > it
> contains both ejb and hibernate (a normal project wouldn't really be > like
> this)
>
> > andromdapp:generate doesnt generate ejb and hibernate sections
> > --------------------------------------------------------------
> >
> > Key: MISC-12
> > URL: http://team.andromda.org:8080/jira/browse/MISC-12
> > Project: Miscellaneous
> > Type: Bug
> > Reporter: Martin West
> > Assignee: Wouter Zoons
>
> >
> >
> > maven andromdapp:generate
> > __ __
> > | \/ |__ _Apache__ ___
> > | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
> > |_| |_\__,_|\_/\___|_||_| v. 1.0
> > Please enter your first and last name (i.e. Chad Brandon):
> > Martin West
> > Please enter the name of your J2EE project (i.e. Animal Quiz):
> > Andromda Sample1
> > Please enter the id for your J2EE project (i.e. animalquiz):
> > AndromdaSample1
> > Please enter a version for your project (i.e. 1.0-SNAPSHOT):
> > 1
> > Please enter the base package name for your J2EE project (i.e.
> > org.andromda.samples):
> > org.andromda.samples
> > Please enter the type of transactional/persistence cartridge to use
> > (enter 'hibernate', 'ejb', or 'spring'):
> > hibernate
> > Would you like a web application? (enter 'yes' or 'no'):
> > yes
> > Would you like to be able to expose your services as web services?
> > (enter 'yes' or 'no'):
> > yes
> > build:start:
> > andromdapp:init:
> > andromdapp:generate:
> > [echo]
> > +---------------------------------------------------------------------+
> > [echo] | G E N E R A T I N G A n d r o M D A J 2 E E P R O > > J
> > E C T |
> > [echo]
> > +---------------------------------------------------------------------+
> > [mkdir] Created dir: /work/AndromdaSample1
> > [copy] Copying 1 file to /work/AndromdaSample1
> > [copy] Copying 1 file to /work/AndromdaSample1
> > [copy] Copying 1 file to /work/AndromdaSample1
> > andromdapp:init:
> > andromdapp:generate-app-subproject:
> > andromdapp:generate-module:
> > [mkdir] Created dir: /work/AndromdaSample1/app
> > [copy] Copying 2 files to /work/AndromdaSample1/app
> > [mkdir] Created dir: /work/AndromdaSample1/app/src/META-INF
> > andromdapp:generate-hibernate-subproject:
> > andromdapp:init:
> > andromdapp:generate-core-subproject:
> > andromdapp:generate-module:
> > [mkdir] Created dir: /work/AndromdaSample1/core
> > [copy] Copying 2 files to /work/AndromdaSample1/core
> > [copy] Copying 6 files to /work/AndromdaSample1/core
> > [mkdir] Created dir: /work/AndromdaSample1/core/src/java
> > [mkdir] Created dir: /work/AndromdaSample1/core/target/src
> > andromdapp:init:
> > andromdapp:generate-common-subproject:
> > andromdapp:generate-module:
> > [mkdir] Created dir: /work/AndromdaSample1/common
> > [mkdir] Created dir: /work/AndromdaSample1/common/src/java
> > [mkdir] Created dir: /work/AndromdaSample1/common/target/src
> > andromdapp:init:
> > andromdapp:generate-mda-subproject:
> > [mkdir] Created dir: /work/AndromdaSample1/mda/src/uml
> > [copy] Copying 1 file to /work/AndromdaSample1/mda/src/uml
> > [copy] Copying 1 file to /work/AndromdaSample1/mda
> > andromdapp:init:
> > andromdapp:generate-web-subproject:
> > andromdapp:generate-module:
> > [mkdir] Created dir: /work/AndromdaSample1/web
> > [mkdir] Created dir: /work/AndromdaSample1/web/src/java
> > [mkdir] Created dir: /work/AndromdaSample1/web/target/src
> > andromdapp:init:
> > andromdapp:generate-webservice-subproject:
> > andromdapp:generate-module:
> > [mkdir] Created dir: /work/AndromdaSample1/webservice
> > [copy] Copying 1 file to /work/AndromdaSample1/webservice
> > [mkdir] Created dir: /work/AndromdaSample1/webservice/target/src
> > [echo] New J2EE project generated to: '/work/AndromdaSample1'
> > BUILD SUCCESSFUL
> > Total time: 47 seconds
> > Finished at: Tue Nov 09 10:57:59 GMT 2004
> > [EMAIL PROTECTED] work]$ ls AndromdaSample1/
> > app build.properties common core maven.xml mda > > project.properties
> > project.xml web webservice
> > [EMAIL PROTECTED] work]$ find AndromdaSample1/ -name ejb
--
Martin West
Head of Product Design and Development
http://www.star-map.net
+44(0)207 318 0308
+44(0)787 968 0096



-------------------------------------------------------
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

Reply via email to