Hi everybody, I have a quite urgent problem with AndroMDA BPM4Struts and would be very thankful for any hints. Here's the problem:
I would like to use ARIS UML Designer together with AndroMDA BPM4Struts cartridge. But ARIS UML Desginer doesn't allow to model activity graphs in the namespace of a use case. (ARIS UML Desginer is quite rigorous in it's compliance to the UML spec with say that the namespace of a usecase must be empty, see chapter 2.11.3.5, Well-Formedness Rules for usecases, of UML Spec 1.4.1 and 1.5; see also http://www.mail-archive.com/[email protected]/msg01318.html) Fortunatly the bpm4struts cartridge provides a tagged definition @andromda.struts.usecases.activity for the stereotype FrontEndUseCase, so you can reference the activity graph in a use case via a tagged value. This feature allready worked with a pre M2 version of andromda (I tested it that time). Now I try to work with the current RC1 Snapshot or M3 release, but in both cases I got the following exceptions: ERROR [AndroMDA:VALIDATION:ERROR] 1) org.andromda.cartridges.bpm4struts.metafacades.StrutsJsp[Bpm4Struts::andropalace::presentation::tickets::Ticketreservation::enter criteria]:Each name of a JSP action state must be unique in the namespace of a use case ERROR [AndroMDA:VALIDATION:ERROR] 2) org.andromda.cartridges.bpm4struts.metafacades.StrutsJsp[Bpm4Struts::andropalace::presentation::tickets::Ticketreservation::select show]:Each name of a JSP action state must be unique in the namespace of a use case ERROR [AndroMDA:VALIDATION:ERROR] 3) org.andromda.cartridges.bpm4struts.metafacades.StrutsUseCase[Bpm4Struts::andropalace::presentation::tickets::Ticketreservation]:Each use-case needs one and only one activity graph. As soon as I "move" the activity graph in the namespace of the use case by hand (via editing the xmi-file directly) the generation works fine. Is it possible that the OCL constraints for the bpm4stuts profile don't account for the case that the activity graph doesn't reside in the namespace of the use case but is referenced by a tagged value? My this be the cause for validation error #3, and #1 and #2 being consecutive faults? Any help would be very welcome! Regards Stefan ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Andromda-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/andromda-user
