Hi Matthew,
Actually I just fixed that in CVS (yesterday I think). Thanks for pointing it out.
Chad
From: "J. Matthew Pryor" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "'Matthias K�spert'" <[EMAIL PROTECTED]> Cc: "'andromda-user'" <[EMAIL PROTECTED]> Sent: Wednesday, October 27, 2004 2:02 AM Subject: RE: [Andromda-user] Spring cartridge test fails
From my testing, the EJB support in the Spring cartridge is broken (at least
for Jboss 3.2.5)
The generated ejbjar.xml generates XML of the form: <ejb-class>org/andromda/samples/animalquiz/decisiontree/DecisionServiceBeanI mpl</ejb-class> Instead of: <ejb-class>org.andromda.samples.animalquiz.decisiontree.DecisionServiceBeanI mpl</ejb-class>
Has anyone else found this to be a problem?
Matthew
Index: ejb-jar.xml.vsl
===================================================================
RCS file:
/cvsroot/andromda/cartridges/andromda-spring/src/templates/spring/ejb/ejb-ja
r.xml.vsl,v
retrieving revision 1.1
diff -u -r1.1 ejb-jar.xml.vsl
--- ejb-jar.xml.vsl 19 Oct 2004 00:01:34 -0000 1.1
+++ ejb-jar.xml.vsl 27 Oct 2004 08:01:52 -0000
@@ -26,7 +26,7 @@
<local-home>${service.fullyQualifiedEjbName}Home</local-home>
<local>$service.fullyQualifiedEjbName</local>
#end
-
<ejb-class>${service.ejbPackageNamePath}/${service.ejbImplementationName}</e
jb-class>
+
<ejb-class>${service.ejbPackageName}.${service.ejbImplementationName}</ejb-c
lass>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wouter Zoons Sent: Tuesday, October 26, 2004 11:30 PM To: Matthias K�spert Cc: andromda-user Subject: Re: [Andromda-user] Spring cartridge test fails
just FYI,
it means that when you did a CVS update a cartridge's metafacade/template code was updated, and also the corresponding cartridge-output.zip file (which contains the new files expected after an andromda run on the cartridge's test model) .. when you run andromda on that cartridge without doing a 'clean' it will overwrite only a part of the existing fileset (generated before you updated from CVS), this fileset is then compared to the updated cartridge-output.zip and obviously cannot be the same because it still contains files from before the CVS update
cheers -- Wouter
> Hi Wouter, > > > yep - that did the trick!! > > I was 'quite' sure that I did the 'maven clean', but when I did it now > the build worked fine. > > Thanks for helping a blind man ;-) > > > Matthias > > > On Tue, 2004-10-26 at 14:06, Wouter Zoons wrote: >> that's weird, because our nightly build that has finished a couple >> hours ago was successful >> >> are you _very_ sure you did a "maven clean" before running the build >> again, sometimes not cleaning can break the tests after a CVS update, >> that makes sense >> >> -- Wouter >> >> > Hi everybody, >> > >> > one week ago I started working with androMDA (the anon-CVS version) >> > again, but even with the latest updates (this morning) the building >> > of androMDA itself fails when testing the Spring-cartridge. >> > >> > Does anybody know this problem? >> > >> > Here is an excerpt from the printout: >> > >> > .... >> > >> > cartridge:test: >> > [echo] +-------------------------------------------+ >> > [echo] | T E S T I N G C A R T R I D G E | >> > [echo] +-------------------------------------------+ >> > INFO [AndroMDA] >> > INFO [AndroMDA] A n d r o M D A - 3.0M3-SNAPSHOT INFO >> > [AndroMDA] INFO [AndroMDA] Input model --> >> > 'jar:file:/data/work/andromda-cvs/cartridges/andromda-spring/s
rc/test/uml/SpringCartridgeTestModel.xml.zip!/SpringCartridgeTes> tModel.xml'
t/cartridge-> test/actual/org/andromda/cartridges/spring/EntityTwoDao.java'>> > INFO [AndroMDA] -- discovering plugins -- >> > >> > ... >> > >> > INFO [AndroMDA:spring] Output: >> > 'file:/data/work/andromda-cvs/cartridges/andromda-spring/targe
>> > ERROR [Cartridge] Error performing Cartridge.processWithTemplate
>> > with template
>> > 'templates/spring/hibernate/SpringHibernateDaoBase.vsl',
>> > template context '{beanRefFactory=beanRefFactory.xml,
>> > hibernatePoolSize=, hibernateShowSql=,
>> > [EMAIL PROTECTED],
driver=,
>> >
session-ejbs=/data/work/andromda-cvs/cartridges/andromda-spring/tar
>> > get/cartridge-test/actual,
>> >
sessionFactory=org.springframework.orm.hibernate.LocalSessionFactor
>> > yBean, serviceLocatorPackage=org.andromda.spring,
>> > hibernateJdbcUseStreamsForBinary=,
>> > hibernateTransactionManagerLookup=,
>> > username=, ejbViewType=local, hibernateMaxFetchDepth=,
>> > hibernateUserTransactionName=, hibernateDefaultSchema=,
>> > hibernateTransactionManagerStrategy=,
>> >
transactionManager=org.springframework.orm.hibernate.HibernateTrans
>> > actionManager,
>> > password=,
>> hibernateCustomTypesPackage=org.andromda.persistence.hibernate,
>> > ejbSecurityDomain=java:/jaas/SomeDomain,
>> > applicationContext=applicationContext.xml,
>> > serviceLocatorName=ServiceLocator, hibernateDialect=,
>> >
daos=/data/work/andromda-cvs/cartridges/andromda-spring/target/cart
>> > ridge-test/actual,
>> >
entity=org.andromda.metafacades.uml14.ModelElementFacadeLogicImpl[o
>> > rg.andromda.cartridges.spring.EntityOne],
>> > connectionUrl=, hibernateJdbcBatchSize=,
>> > beanRefFactoryId=beanRefFact ory, hibernateJdbcFetchSize=,
>> > dataSource=, hibernateJndiName=, hibernateUseOuterJoin=,
>> > hibernateJdbcUseScrollableResultSet=,
>> > hibernateDefaultCascade=none}' and cartridge 'spring'
>> > java.lang.AbstractMethodError:
>> >
org.andromda.cartridges.spring.metafacades.HibernateFinderMeth
odLogicImpl.getTypedArgumentList(Ljava/lang/String;)Ljava/lang/String;
>> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> > at
>> >
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImp
>> > l.java:39)
>> >
>> > ...
>> >
>> > BUILD FAILED
>> > File......
>> >
/home/aragorn/.maven/cache/maven-multiproject-plugin-1.3.1/plugin.j
>> > elly
>> > Element... maven:reactor
>> > Line...... 217
>> > Column.... 9
>> > Unable to obtain goal [multiproject:install-callback] --
>> >
/home/aragorn/.maven/cache/andromda-cartridge-plugin-3.0M3-SNA
PSHOT/plugin.jelly:44:53:
>> > <ant:andromda-test> Error performing ModelProcessor.process with >> model(s) >> > --> >> > 'jar:file:/data/work/andromda-cvs/cartridges/andromda-spring/s
rc/test/uml/SpringCartridgeTestModel.xml.zip!/SpringCartridgeTes> tModel.xml'
>> > INFO [App] Total time: 22 minutes 45 seconds INFO [App] Finished >> > at: Tue Oct 26 12:31:21 CEST 2004 >> > >> > >> > >> > TIA, >> > Matthias >> > >> > >> > >> > >> > ------------------------------------------------------- >> > This SF.net email is sponsored by: IT Product Guide on >> ITManagersJournal >> > Use IT products in your business? Tell us what you think of them. >> > Give >> us >> > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find >> > out more http://productguide.itmanagersjournal.com/guidepromo.tmpl >> > _______________________________________________ >> > Andromda-user mailing list >> > [EMAIL PROTECTED] >> > https://lists.sourceforge.net/lists/listinfo/andromda-user >> > >> >> >> >> >> ------------------------------------------------------- >> This SF.net email is sponsored by: IT Product Guide on >> ITManagersJournal Use IT products in your business? Tell us what you >> think of them. Give us Your Opinions, Get Free ThinkGeek Gift >> Certificates! Click to find out more >> http://productguide.itmanagersjournal.com/guidepromo.tmpl >> _______________________________________________ >> Andromda-user mailing list >> [EMAIL PROTECTED] >> https://lists.sourceforge.net/lists/listinfo/andromda-user >> > > >
------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Andromda-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/andromda-user
------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=ick _______________________________________________ Andromda-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/andromda-user
------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Andromda-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/andromda-user
