Hi Chad, Thanks for the tip! I was able to find the documentation.
I tried to use your suggestion from yesterday to move from the struts cartridge to the bpm4struts cartridge by modifying the project.xml and project.properties under the mda directory but it looks like the code getting generated is still using the old cartridge! When I do a "maven" in my package (which is a copy of the car-rental-system), I see the following lines on the console (nothing about bpm4struts): 12:25:19,341 INFO [CartridgeFinder] found cartridge --> 'ejb' 12:25:19,361 INFO [CartridgeFinder] found cartridge --> 'hibernate' 12:25:19,382 INFO [CartridgeFinder] found cartridge --> 'java' 12:25:19,412 INFO [CartridgeFinder] found cartridge --> 'struts' And the generated JSP does not have code from the bpm4struts cartridge's StrutsJSP.vsl file. What else do I need to change in the build to get the web directory to use the new cartridge? I saw the following line in car-rental-system\web\project.xml file: <dependency> <groupId>andromda-cartridges</groupId> <artifactId>andromda-struts-cartridge</artifactId> <version>${pom.currentVersion}</version> <properties> <war.bundle>true</war.bundle> </properties> </dependency> Is this causing the problem? I don't see any equivalent dependency in animal-quiz\web\project.xml. Thanks, Sunondo -----Original Message----- From: Chad Brandon [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 09, 2004 11:45 AM To: Sunondo Ghosh; [EMAIL PROTECTED] Subject: Re: [Andromda-user] Bpm4Struts Questions Hi Sunondo, Wouter should be able to answer your specific BPM4Struts questions, but one thing I can tell you is that there should be some docs for BPM4Struts in the docs that come with 3.0M1 (they aren't as up-to-date as the ones on the site but they should help somewhat). If you open up the docs and go to cartridges and then BPM4Struts you should find some there. I think Wouter is away on business but should be back soon. --- Sunondo Ghosh <[EMAIL PROTECTED]> wrote: > The Andromda site is down and so I am not able to > refer to the documentation there. I have some > questions about how the Bpm4Struts cartridge works. > I have created a model with classes similar to the > car rental sample's Customer Creation web package > with CustomerCreationForm, CustomerCreationPage, > CustomerCreationAction, and ListOfCustomersAction > > 1. In the CustomerCreationPage.jsp for the car > rental sample, there is code for displaying the > list of existing customers. However, in my generated > code with the same 4 classes and relationships, the > page does not have that code. The section starting > with <h2><bean:message > key="h21.CustomerCreationPage"/></h2> is not > generated at all. > > 2. The property file is not generated. I saw in the > cartridge that a vsl file exists to generate the > property file, but how is that triggered? I am using > the bpm4struts sections from project.xml and > project.properties from the animal quiz sample. Do I > need to change anything else in my model or the > build? Similarly how I also do I generate the CSS, > the Menu, etc. > > 3. How can I figure out what sterotype generates > what code? There seem to be many more stereotypes in > bpm4struts than the older struts cartridge. What > does the state diagram generate? > > 4. When will the andromda site come up? :-) -- Whenever Matthias gets back...he's away on vacation and he's the only one that can restart the server. > > Sunondo > NÂHS^ÂÃÅÅXÂÂÅ'ÂÅÃuÂâ4ÃâÂuÂbÂqÃrGÂÂIÃÂÃâ Ã$ÂÅDÂÃÃÃÅKÂÃÂt7ÂzZ)zÂÂÂ)yÂÃÂwÃÂÃÃ{o7ÃÃIÂwÂÅÃ+ÃÂÂÂÃÃm4ÃÃ.iÃÅ bÂÃ'vÂ&uÂÂzÂbÂÃ,ÂÃÃyÃ+ÂÃÃÂmÂÃÃâ+-ÂÃ.ÂÃÅÂÂÂÃâ+-ÂÃbÂÃÂ~ÂÃÂÃÃâÃÂÂà N¬HS^µéX¬²'²Þu¼4ã§u«b¢qÚrG«±Iâµá