You're welcome.

See below:

--- Sunondo Ghosh <[EMAIL PROTECTED]> wrote:
> 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.

-- Yes thats causing the problem, you need to change
the <artifactId> to be "andromda-bpm4struts-cartridge"
instead of the one you have above which is the old
struts cartridge.

> 
> 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��
�$��D���ӌK�Ƨt7�zZ)z���)y�¢wޭ��{o7��I�w���+������m4��.iל��
b��'v�&u��z�b��,���y�+��޶m����+-��.�ǟ�����+-��b�ا~�ڝ��֮��



-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite!  GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
_______________________________________________
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to