Re: [Andromda-user] Not generating interfaces anymore

2005-02-16 Thread Gary Struthers
Yes, I'm using the latest build, it worked fine this morning. I've been setting spring as my transactional/persistence cartridge. It still generates Dao, Base, and Impl but not the interfaces. mda/project.xml contains andromda andromda-spring-cartridge

RE: [Andromda-user] Cleaning a project

2005-02-16 Thread Chad Brandon
All impl files will need to be removed manually until we have model refactoring support (everything else in the target directories...I'm assuming you're using Maven) can just be deleted with a call to "maven clean". Chad -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

RE: [Andromda-user] Not generating interfaces anymore

2005-02-16 Thread Chad Brandon
Are you using the latest build? If so we removed the generation of hibernate entities and their mapping files from the Spring cartridge (it's now handled by the hibernate cartridge)...so that's probably your issue. You just need to add the hibernate cartridge to your mda/project.xml now (you can r

[Andromda-user] Cleaning a project

2005-02-16 Thread Gary Struthers
I thought this question belonged in a separate thread. I can generate a new project and delete impl files but what can be done in between? Can I clean all generated files and revert to a clean project with just my model? If I move code to a different package, what should be done about generate

[Andromda-user] Not generating interfaces anymore

2005-02-16 Thread Gary Struthers
I deleted some generated java and hbm files and now I have a mess. Dao, Base, and Impl java files are generated but the base interfaces have disappeared. Everything looks good in MagicDraw 9.0 and I've tried moving, renaming model objects and even copying and importing to a new project but

[Andromda-user] Tagged Value

2005-02-16 Thread ngocbao bui
Hi, I am writing a cartridge name Client for small testing programs. I add a new tag for a class and want to extract the tagged value as integer so I can perform some math operations in templates. I have tried many times but they were unsuccessful. I added new attribute into the metafacade for th

RE: [Andromda-user] 2 associations between entities

2005-02-16 Thread Wouter Zoons
This should work fine .. I am doing it all the time :-) Make sure your association ends are public -- Wouter > -Original Message- > From: [EMAIL PROTECTED] [mailto:andromda-user- > [EMAIL PROTECTED] On Behalf Of Gary Struthers > Sent: Wednesday, February 16, 2005 10:59 PM > To: andromda-

RE: [Andromda-user] Problems with propagation of @andromda.transaction.type?

2005-02-16 Thread Chad Brandon
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Thomas Schapitz Sent: Wednesday, February 16, 2005 3:02 PM To: andromda Subject: [Andromda-user] Problems with propagation of @andromda.transaction.type? Hi I'm somewhat under the impression, that the the

[Andromda-user] Problems with propagation of @andromda.transaction.type?

2005-02-16 Thread Thomas Schapitz
Hi I'm somewhat under the impression, that the the tagged value @andromda.transaction.type and isn't propagated consistently into the generated sources. I'm using Milestone 3, together with MaigicDraw. As of EJB spec, the transaction type can be defaulted on the class level of all bean types, and s

[Andromda-user] 2 associations between entities

2005-02-16 Thread Gary Struthers
Hi, I want to add a second association between two entities. I named one association client and named the second association supplier. I assumed a second attribute would be created and it would include the association name in the attribute name. But I only see one attribute using the name of th

[Andromda-user] Re: XmlSchema cartridge

2005-02-16 Thread David R. Allen
Oops. Sorry, I found it in the original download. On Wednesday 16 February 2005 03:49 pm, David R. Allen wrote: > Where is this cartridge in the binary release? > > I added another namespace section to specify the two namespace properties > for XmlSchema, but it isn't used by any existing cartrid

[Andromda-user] XmlSchema cartridge

2005-02-16 Thread David R. Allen
Where is this cartridge in the binary release? I added another namespace section to specify the two namespace properties for XmlSchema, but it isn't used by any existing cartridge in the 3.0-RC1 snapshot release. Thanks. -- David Allen [EMAIL PROTECTED] --

RE: [Andromda-user] Triggering execution of unit tests for AndroMDA applications?

2005-02-16 Thread Chad Brandon
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wouter Zoons Sent: Wednesday, February 16, 2005 1:29 PM To: 'andromda-user' Subject: FW: [Andromda-user] Triggering execution of unit tests for AndroMDA applications? No I did not, currently I have very lit

FW: [Andromda-user] Triggering execution of unit tests for AndroMDA applications?

2005-02-16 Thread Wouter Zoons
No I did not, currently I have very little time .. in fact I'm kinda hoping someone would submit a patch for it :-) Anyway, .. create a jira issue for it so we can keep track of this feature request -- Wouter -Original Message- From: Thomas Schapitz [mailto:[EMAIL PROTECTED] Sent: Wedne

RE: [Andromda-user] (no subject)

2005-02-16 Thread Chad Brandon
Can you try the latest build? I think I might have fixed your problem yesterday. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Anjarivo Razafinimanana Sent: Wednesday, February 16, 2005 8:45 AM To: Chad Brandon; andromda-user@lists.sourceforge.net Subje

Re: AW: [Andromda-user] How-to switch to tomcat or other servers + security issues

2005-02-16 Thread Wouter Zoons
this feature is planned, but currently you will have to copy the libraries into the WEB-INF/lib directory instead of the root of the .ear bundle don't forget to copy commons-logging too, and the one for JTA you will need to configure the datasource in Tomcat also, make sure you aren't using EJBs

AW: [Andromda-user] How-to switch to tomcat or other servers + security issues

2005-02-16 Thread Christian Bechtold
Hi Chad, I'm new to AndroMDA and I would like to use Tomcat for my projects. I began building a small application with the latest nightly buiild from AndroMDA. This application is deployed without any problems in Jboss. My question is now: what do I have to change exactly to make it work in Tomcat

RE : [Andromda-user] (no subject)

2005-02-16 Thread Anjarivo Razafinimanana
Hi Chad, I'm using this project.properties: maven.multiproject.includes=**/*project.xml .. # Change this to generate to the correct MDA database mappings # For MySql use: MySQL # For Hypersonic use: HypersonicSql # For Oracle9i use: Oracle9i # sql.mappings=HypersonicSql sql.mappings=MySQL

RE: [Andromda-user] (no subject)

2005-02-16 Thread Chad Brandon
I just tried what you did below and required is correctly returned as false for the 0 end and * is correctly returned as many. What cartridge are you using and how is 0 being transformed into a multiplicity of 1? -Original Message- From: Chad Brandon [mailto:[EMAIL PROTECTED] Sent: Wedne

RE: [Andromda-user] (no subject)

2005-02-16 Thread Chad Brandon
Hi Anjarivo, It sounds like a bug, I’ll fix it right now. For now though…just model your ShoppingCart end as 0..1 and it should work ok. Chad From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Anjarivo Razafinimanana Sent: Wednesday, February

[Andromda-user] WHich inheritance strategy

2005-02-16 Thread Bak Attila (SDA)
Hi, Where can I set which inheritance strategy should be used when I generate my spring modell? I have a Partner which inherits from the User. Currently all of the attributes are "stuffed" into 1 table. I would need to tables for this one for the user and one for the partner! Is that possible?

[Andromda-user] (no subject)

2005-02-16 Thread Anjarivo Razafinimanana
Hi !   In my B2C application, I have 2 classes : ShoppingCart and Item, and each time I want to design this relation :       ShoppingCart  (0) ---  -> (n) Item    (zero2many)   Magicdraw or AndroMda transform this in:       ShoppingCart  (1) ---  -> (n) Item    (one2

Re: [Andromda-user] Problem with drawmagic

2005-02-16 Thread Wouter Zoons
Tarik, when you write in French please send to me only, I will reply to the mailing list in English .. Q. Cannot find the free MagicDraw edition A. http://www.magicdraw.com/ (on the right you will see "Download Community Edition") .. click it Q. build.properties etc.. A. use maven, I will not an

[Andromda-user] Problem with drawmagic

2005-02-16 Thread Tarik El Galaf
Bonjour J'ai tracé un diagramme de classe (une seule classe Produit avec un seul attribut id) lorsque je sauvgarde il me produit un document .xml que j'utilise avec androMDA, meme si je change dans build.properties et build.properties.sample ç amarche pas. faut il le convertir en .xmi et si c'est l