----- Original Message ----- From: "Naik, Vikram" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 12, 2004 8:49 AM Subject: [Andromda-user] Extending an existing cartridge. ( andromda-ejb )
> Hello, > > To extend the andromda-ejb cartridge, whats the best practice: > > > 1. Should we modify the existing cartridge source code available and place only the customized cartridge in classpath ? > 2. Should we make a separate cartridge which has dependency on the existing cartridge, which should be in available in the classpath? You could probably do either. > > Following #2, I have noticed, during the generation process ( Using Ant), the AndroMDA engine also expects the base cartridge ( "ejb" ) to be specified in the namespace, which is mentioned but skipped using the ignore attribute. Not really sure what you mean? What do you mean following #2? Are you adding a dependency to the EJB cartridge, if so how are you going about it? > > I also face errors like registeredProperty - allowDefaultIdentifiers not set, which is not at all mandatory to be specified, but if this property is specified in the customized cartridge andromda-metafacades.xml the error disappears. When do you get this error message? > > Please comment. > > Thanks & Regards, > > Vikram Naik. > > > > > > > > -----Original Message----- > From: Chad Brandon [mailto:[EMAIL PROTECTED] > Sent: Thu 8/12/2004 1:04 PM > To: Gabriela Chiribau; [EMAIL PROTECTED] > Cc: > Subject: Re: [Andromda-user] andromdapp:generate > > > Ok I know what the problem is. I was testing the binary distribution. You're right: the source dist doesn't work with the plugin, I inadvertently excluded the .project.vsl file from the distribution when excluding all other files starting with '.'. I'll fix it in CVS, thanks for pointing it out. > > Chad > > ----- Original Message ----- > From: Gabriela Chiribau <mailto:[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Sent: Thursday, August 12, 2004 1:09 AM > Subject: Re: [Andromda-user] andromdapp:generate > > I guess I figured out, but not really fixed it :) > > I commented these lines in plugin.jelly > <!--velocity:merge > > name="${projectId}/.project" > > basedir="${templatesDir}" > > template="/.project.vsl"/--> > > > > <!--velocity:merge > > name="${projectId}/.classpath" > > basedir="${templatesDir}" > > template="/.classpath-${persistenceType}.vsl"/--> > > This means I don't get the ecplise project and classpath.... everything apparenty went fine... > > I did check, no file starting with "." made it in the source distribution... So when I built it it automatically installed the andromdapp plugin without the "." files... > > I checked the binary distro, and i found the files there; copied the plugins in the maven plugins folder and all went fine.. > > I guess it works if one uses the binary distro; building from source might have problems... :) > > Chad Brandon <[EMAIL PROTECTED]> wrote: > > Hmm it works ok for me. What version of Maven are you > using? > > --- Gabriela Chiribau wrote: > > > > > BUILD FAILED > > File...... C:\Documents and > > Settings\Gabriela\.maven\cache\maven-andromdapp-plug > > in-3.0M2\plugin.jelly > > Element... velocity:merge > > Line...... 28 > > Column.... 39 > > Unable to find resource '/.project.vsl' > > Total time: 50 seconds > > Finished at: Wed Aug 11 08:08:14 PDT 2004 > > > > I installed andromda M2, maven 1.0, did a build on > > andromda etc... > > > > What is missing ? (well looks like it doesn't find > > project.vsl, this plugin used to work :) ) > > > > Thank you, > > > > Gabriela > > > > > > > > > > --------------------------------- > > Do you Yahoo!? > > Yahoo! Mail - You care about security. So do we. > > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Andromda-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/andromda-user > > > > _____ > > Do you Yahoo!? > New and Improved Yahoo! Mail <http://us.rd.yahoo.com/mail_us/taglines/100/*http://promotions.yahoo.com/ne w_mail/static/efficiency.html> - 100MB free storage! > > HurqÒ Jp j E"Jj qz~z j ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Andromda-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/andromda-user
