Great! When you're done with that...and when Wouter checks his changes in to remove accessing the model from the scriipt helper (I'll synchronize and get your changes and test my changes with those fixes)...and then if no one has any objections, I'll check in my changes.
Last night I made the following changes to the cartridge descriptor. They made sense to do them at the same time, since I was adding the <templateObject/> functionality. 1.) I made the Cartridge stuff work with the digester stuff we use (so it performs schema validation now along with the other configuration files when running andromda), 2) I added the ability to add the <templateObject name="" className=""/> elements to the cartridge. 3) Since I was in modifying the cartridge descriptor, I figured I might as well take out the duplicate <outlet/> and <stereotype/> elements (they are now only required in the <template/> element...like we talked about)...this was really easy to do. 4) I got rid of the ScriptHelper and all references too it, and replaced any uses of other helper objects (like StringUtilsHelper) with templateObject elements within the cartridge using it, again, like we talked about yesterday). So now for example in the EJB cartridge we also have the following in addition to template elements and the macrolibrary element: <templateObject name="str" className="org.andromda.core.common.StringUtilsHelper"/> <templateObject name="transform" className="org.andromda.cartridges.ejb.EJBScriptHelper"/> 5) I removed the entire org.andromda.core.simpleuml package since that is now longer in use (since metafacades replace that all) 6) Also since I was in the cartridge descriptor I decided to make stereotype be a collection of "stereotypes" within <template/> this allows us to specifiy that a template can be used by more than one stereotype if needed (I've run into places where sometimes its nice to be able to do this), most of the time you want to process a template with one stereotype, but sometimes you want the same template to be used with multiple stereotypes, without having the define the same <template> element again, this is an example from one of my cartridges at work: <template sheet="templates/webservies/WebServiceTest.vsl" outputPattern="{0}/{1}Test.java" outlet="webservice-tests" overWrite="true"> <stereotype name="Service"/> <stereotype name="WebService"/> </template> I've updated all cartridge descriptors (those were the only things that needed changes after these changes) and tested andromda-all MMD, and it builds great (when I reverted two revisions back of the DefaultAndroMDACartridge). It was really easy to find errors in the andromda-cartridge.xml files since the schema validation is now there. These changes were all very easy because I already had them in my work generator). Anway, if you guys have no objections, I'd like to check them in after I get your changes (the fix for DefaultAndroMDACartridge, and from Wouter, his removal of model references from his BPM4StrutsScriptHelper) and test them....I can check them in tonight. Thanks, Chad ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, February 24, 2004 6:24 AM Subject: AW: [Andromda-devel] Broken MMD build Oops - sorry - I'll take care of it tonight! Matthias --- Ursprüngliche Nachricht --- Datum: 24.02.2004 04:41 Von: "Chad Brandon" <[EMAIL PROTECTED]> An: "Matthias Bohlen" <[EMAIL PROTECTED]> Betreff: [Andromda-devel] Broken MMD build > Hey Matthias, > > I checked out a fresh version of Andromda MMD and now the car rental sample > fails..since your dynamic file name change was the only one that was added > recently...I reverted back to the 2 revisions before you changed and it > worked fine, so it must be do to your changes in the > DefaultAndroMDACartridge....can you take a look? > > Thanks! > > Chad > > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > Andromda-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/andromda-devel > ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Andromda-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/andromda-devel