Re: [Andromda-user] XMI standard?

2005-05-14 Thread Leif Johansson
I'd say Daniel is remiss in not evaluating Together with AndroMDA. is there a specific reason? Has anyone else tested it? I agree. I switched from Poseidon to MagicDraw after 15 minutes of testing. The speed alone is worth the 250 bucks or whatever they charge you for a version with all the UM

[Andromda-user] hibernate+ejb generates strage SQL

2005-05-08 Thread Leif Johansson
I am racking my brain trying to understand how this .hbm.sql: "http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd";> c-insert="false" dynamic-update="false">

Re: [Andromda-user] None of the examples are working for me

2005-05-05 Thread Leif Johansson
Yancy, Eunissa wrote: Hello, I am new to maven, JBoss, and open source, so please excuse my inexperience. I believe I've successfully completed the steps in "Getting started with AndromMDA". I hope I only have a small configuration problem. I am using 4.0.1 for my development work - I undeploy jbos

[Andromda-user] moving to spring?

2005-05-03 Thread Leif Johansson
What is the best way to move an existing ejb/hibernate-based project to use spring cartr ? MVH leifj --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opport

Re: [Andromda-user] using CRUD forms

2005-05-02 Thread Leif Johansson
Wouter Zoons wrote: Leif Johansson wrote: So how do I get to the entry displayed in each row? I still don't get it (at this point I am assuming that I am blind *and* terminally stupid but still...) MVH leifj what do you mean with entry, and what do you mean with row ? The main crud

Re: [Andromda-user] using CRUD forms

2005-05-02 Thread Leif Johansson
So how do I get to the entry displayed in each row? I still don't get it (at this point I am assuming that I am blind *and* terminally stupid but still...) MVH leifj what do you mean with entry, and what do you mean with row ? The main crud form shows a table listing the result (I assume) whe

Re: [Andromda-user] using CRUD forms

2005-05-02 Thread Leif Johansson
Wouter Zoons wrote: Leif Johansson wrote: I seem to have "lost" my 'id' problem using autogenerated CRUD so I'll start a new thread. A couple of questions about the CRUD forms: 1. There doesn't seem to be any way to get from the table to the entry - no tablelink as

Re: [Andromda-user] using CRUD forms

2005-05-02 Thread Leif Johansson
Wouter Zoons wrote: Leif Johansson wrote: I seem to have "lost" my 'id' problem using autogenerated CRUD so I'll start a new thread. A couple of questions about the CRUD forms: 1. There doesn't seem to be any way to get from the table to the entry - no tablelink as

Re: [Andromda-user] datatype.Blob problem

2005-05-02 Thread Leif Johansson
Chad Brandon wrote: Which one is in your hbm.xml mapping? "org.andromda.persistence.hibernate.HibernateByteBlobType" or "se.su.it.nreg.HibernateByteBlobType"? MVH leifj --- This SF.Net email is sponsored

[Andromda-user] datatype.Blob problem

2005-05-02 Thread Leif Johansson
I use a Blob in my entity and the the following from hibernate: Caused by: net.sf.hibernate.MappingException: Could not interpret type: org.andromda.persistence.hibernate.HibernateByteBlobType The class se.su.it.nreg.HibernateByteBlobType exists though... MVH leifj ---

[Andromda-user] using CRUD forms

2005-05-02 Thread Leif Johansson
I seem to have "lost" my 'id' problem using autogenerated CRUD so I'll start a new thread. A couple of questions about the CRUD forms: 1. There doesn't seem to be any way to get from the table to the entry - no tablelink as it were. Only a 'Copy' link is present and that doesn't allow me to edit at

Re: [Andromda-user] <>-generation in CRUD

2005-05-02 Thread Leif Johansson
Leif Johansson wrote: Martin West wrote: yes, there was a problem with permissions, which I fixed last night. Getting a new error message now: Problem managing Name: Name.load - 'id' can not be null This is on creating a new entity strange - an entity seems to have been created for me i

Re: [Andromda-user] <>-generation in CRUD

2005-05-02 Thread Leif Johansson
Martin West wrote: yes, there was a problem with permissions, which I fixed last night. Getting a new error message now: Problem managing Name: Name.load - 'id' can not be null This is on creating a new entity MVH leifj --- This SF.Net email

Re: [Andromda-user] <>-generation in CRUD

2005-05-01 Thread Leif Johansson
Leif Johansson wrote: Wouter Zoons wrote: this has been fixed a couple days back, did you try the latest snapshot ? I just started an hour ago with 3.0-SNAPSHOT and am running maven wo '-o' so I should have an up-to-date set of jars right? this must mean you're modeling y

Re: [Andromda-user] <>-generation in CRUD

2005-05-01 Thread Leif Johansson
Wouter Zoons wrote: this has been fixed a couple days back, did you try the latest snapshot ? I just started an hour ago with 3.0-SNAPSHOT and am running maven wo '-o' so I should have an up-to-date set of jars right? this must mean you're modeling your identifiers explicitely using the <> stere

Re: [Andromda-user] <>-generation in CRUD

2005-05-01 Thread Leif Johansson
Wouter Zoons wrote: Leif Johansson wrote: Leif Johansson wrote: I started playing with the CRUD support in 3.0-SNAPSHOT (HEAD). Great stuff. However shouldn't the <> attribute be treated according to the @andromda.hibernate.generator.class tagged value? The forms generated treat the i

Re: [Andromda-user] <>-generation in CRUD

2005-05-01 Thread Leif Johansson
Leif Johansson wrote: I started playing with the CRUD support in 3.0-SNAPSHOT (HEAD). Great stuff. However shouldn't the <> attribute be treated according to the @andromda.hibernate.generator.class tagged value? The forms generated treat the id attribute as 'assigned' regard

[Andromda-user] <>-generation in CRUD

2005-05-01 Thread Leif Johansson
I started playing with the CRUD support in 3.0-SNAPSHOT (HEAD). Great stuff. However shouldn't the <> attribute be treated according to the @andromda.hibernate.generator.class tagged value? The forms generated treat the id attribute as 'assigned' regardless of the generator class. In all cases *exc

Re: AW: [Andromda-user] bpm4struts: passing complex types along transitions?

2005-04-26 Thread Leif Johansson
basically one could copy what I did for Spring and implement it in the EJB/Hibernate way: add a single CRUD service in which you invoke the appropriate queries (since they're CRUD they're very straightforward, no complex constructions are needed) Could you give me a starting-point? Where in the so

Re: AW: [Andromda-user] bpm4struts: passing complex types along transitions?

2005-04-25 Thread Leif Johansson
I am finishing an early version of this feature today, it will be in the RC2 release (released this weekend) A bit of positive feedback for you: you rule! ps: documentation will be written when I'm done working on the admin console implementation pps: currently this console only works with bpm/

[Andromda-user] bpel

2005-04-21 Thread Leif Johansson
Inspirational reading. Seems like a possible andromda cartridge :-) http://www-128.ibm.com/developerworks/webservices/library/ws-uml2bpel/ MVH leifj --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundre

Re: [Andromda-user] Suddenly VO-objects don't get generated...

2005-03-31 Thread Leif Johansson
Chad Brandon wrote: Leif Johansson wrote: Chad Brandon wrote: Leif Johansson wrote: I am at 3.0-RC2-20050331153247 and now <> aren't getting generated - none of them! I don't have any private templates. I know I did a 'maven clean; maven' yesterday and then it worked.

Re: [Andromda-user] Suddenly VO-objects don't get generated...

2005-03-31 Thread Leif Johansson
Chad Brandon wrote: Leif Johansson wrote: I am at 3.0-RC2-20050331153247 and now <> aren't getting generated - none of them! I don't have any private templates. I know I did a 'maven clean; maven' yesterday and then it worked. Take a look at the latest change: htt

[Andromda-user] Suddenly VO-objects don't get generated...

2005-03-31 Thread Leif Johansson
I am at 3.0-RC2-20050331153247 and now <> aren't getting generated - none of them! I don't have any private templates. I know I did a 'maven clean; maven' yesterday and then it worked. MVH leifj --- This SF.net email is sponsored by Demarc

Re: [Andromda-user] RC2 still trying to use andromda-profile-3.0-RC1-SNAPSHOT.xml.zip?

2005-03-28 Thread Leif Johansson
Easy enough to fix by hand, but did someone forget to update something before RC2 was pushed out? Nope. When you switched from RC1 to RC2 you forgot to update your model. The model references the profile and the profile is associated with a specific version. It might have been easier if the SNAP

Re: [Andromda-user] Suddenly getting classnotfound exception

2005-03-23 Thread Leif Johansson
Jan Heise wrote: check mda/project.xml and look for the following dependencies. andromda andromda-ocl-validation-library ${andromda} andromda andromda-ocl-query-library ${andromda} I gue

[Andromda-user] Suddenly getting classnotfound exception

2005-03-22 Thread Leif Johansson
I started getting classdefnotfound exception for org.andromda.core.translation.BaseTranslator. I am on the RC1 train. Full log attached. I have updated my plugin and maven has updated my andromda-jars MVH leifj __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~

Re: [Andromda-user] Questions

2005-03-10 Thread Leif Johansson
Rahn wrote: What is the difference running a project by typing "maven" and "maven mda" ? This is because while using "maven mda" I had not compliation maven (default install) builds the whole project, maven mda only does the code generation. errors whwereas with "maven" I have a compilation erro

[Andromda-user] missing tabs

2005-02-26 Thread Leif Johansson
I can't find @andromda.struts.view.field.tabindex @andromda.struts.action.tabindex in the MD UML Profile anymore. They are still referenced by the documentation and seems like something I would like to use. Where have they gone to? Cheers Leif ---

Re: [Andromda-user] two more bpm4struts questions

2005-02-20 Thread Leif Johansson
Anyway, if you think you have found a feature that should be generated by the bpm4struts cartridge you can always file an issue in JIRA: I will code it for you (but this is likely to take some time), or you can post a patch that I review and commit to the CVS I would like to mention too that in mo

Re: [Andromda-user] two more bpm4struts questions

2005-02-20 Thread Leif Johansson
[CB] You could always write your ideas to confluence: http://confluence.andromda.org Good idea! --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products t

[Andromda-user] two more bpm4struts questions

2005-02-20 Thread Leif Johansson
I have another couple of questions I'd love clear up: 1. In the car-rental-system there are a few cases where there is an action state which has no incoming transition. How do these get called and what is their purpouse? 2. Is there a clean way to display a attribute-value list, for instan

Re: [Andromda-user] backinglist howto?

2005-02-20 Thread Leif Johansson
Wouter Zoons wrote: Model a <> and add an outgoing transition with a parameter on it .. add the @andromda.strutsview.field.type=select tagged value to this parameter Now model an action state with a transition going into this <>, defer to a controller operation from this action state, make sure the

[Andromda-user] backinglist howto?

2005-02-19 Thread Leif Johansson
Could someone give a couple of pointers on how to set the backing list for a select field? I guess it involves using the set*LabelList and the anset*ValueList operations in a form but I cannot find an example to fill in the details for me. Cheers Leif -

Re: [Andromda-user] native generator class validation bug

2005-02-13 Thread Leif Johansson
Chad Brandon wrote: Sounds reasonable, file an improvement against the hibernate cartridge that an OCL constraint should be modeled to validate this. Sounds good. Where do I file this? Is there a bugtracker somewhere? MVH leifj --- SF emai

[Andromda-user] native generator class validation bug

2005-02-12 Thread Leif Johansson
The hibernate cartrigde seems to have been modified to use the 'native' generator class by default, however the cartridge does not validate the type of the <>-stereotyped attribute. When you create a 'id: String' primary key and the native class requires a long (which seems common) a validation exc

[Andromda-user] adding to JavaMappings.xml ?

2005-02-12 Thread Leif Johansson
Is it possible to add type mappings to the mapping files wo rebuilding andromda from sources? Cheers Leif --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover

Re: [Andromda-user] 3.0-RC1 andromdapp:generate buggy

2005-02-05 Thread Leif Johansson
Chad Brandon wrote: Ok yes I see your core/maven.xml contains the xdoclet stuff, however if you get the latest plugin from here: http://team.andromda.org/maven/andromda/plugins/maven-andromdapp-plugin-3.0- RC1-SNAPSHOT.jar You'll see inside there the template which generates the core/maven.xml for

Re: [Andromda-user] 3.0-RC1 andromdapp:generate buggy

2005-02-03 Thread Leif Johansson
Chad Brandon wrote: It shouldn't contain it for the hibernate option (or spring option), I changed this in CVS around the same time I entirely removed xdoclet from the cartridge. The only option that should contain it, is the ejb option, so it sounds like you're generating an app with an older vers

Re: [Andromda-user] 3.0-RC1 andromdapp:generate buggy

2005-02-03 Thread Leif Johansson
Chad Brandon wrote: Did you regenerate an application? If not you'll need to remove the xdoclet stuff yourself from the maven.xml. I created a brand new app using RC1 from yesterday (maven updates it for me, right). It still contained xdoclet stuff. MVH leifj ---

[Andromda-user] 3.0-RC1 andromdapp:generate buggy

2005-02-03 Thread Leif Johansson
I'm not sure if pepole use this but I created a hibernate+webservices project just now and the maven.xml references ejbdoclet even though clearly the templates have been exteded to elliminate xdoclet dependency for ejb generation. There are other problems as a consequence... Is this just the bleadi

Re: [Andromda-user] webservice cartridge problem with resin

2005-01-20 Thread Leif Johansson
To: Chad Brandon Cc: 'Leif Johansson'; andromda-user@lists.sourceforge.net Subject: Re: [Andromda-user] webservice cartridge problem with resin Hi, I can't find those properties in my mda/project.xml. Regarding the docs, jndiNamePrefix should default to none, if it's not set.

Re: [Andromda-user] webservice cartridge problem with resin

2005-01-20 Thread Leif Johansson
[CB] Are you getting class cast exceptions in JBoss or where? I am trying to find the differences between what is generated in the ejb+webservice and hibernate+webservice case. One thing is that only the hibernate-cartridge generates a local interface (for instance in jboss.xml the following is 'm

Re: [Andromda-user] webservice cartridge problem with resin

2005-01-20 Thread Leif Johansson
I have a model which contains a service bean (and a dummy entity in My mail client ate this text: .. order to to work around the hibernate-bug metioned above). The SessionEJB contains a couple of simple methods and is stereotyped MVH leifj --

Re: [Andromda-user] webservice cartridge problem with resin

2005-01-20 Thread Leif Johansson
Chad Brandon wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Leif Johansson Sent: Thursday, January 20, 2005 6:36 AM To: Jan Heise Cc: andromda-user@lists.sourceforge.net Subject: Re: [Andromda-user] webservice cartridge problem with resin Jan Heise

Re: [Andromda-user] webservice cartridge problem with resin

2005-01-20 Thread Leif Johansson
Jan Heise wrote: Hi, I've got the following problem with the webservice cartridge: When I try to deploy the animal-quiz example ear to resin, the following line in the generated server-config.wsdd does not work: if this would change to (remove ejb/) resin would find the ejb.