Yes. The POM for the project was generated [maven 2.0.9] archetype:generate, and used the 'appfuse modular application' template [choice 6]
It's possible that that archetype is dragging in obsolete versions of the libraries & plugins for example <appfuse.version>2.0-SNAPSHOT</appfuse-version> <jmock.version>1.1.0</jmock-version> Until the archetypes are updated, what are the correct settings to put in the <properties> of a pom to be consistent with the current appfuse release and the tutorial?? mraible wrote: > > Are you extending BaseManagerMockTestCase? > > Matt > > On Wed, Sep 17, 2008 at 1:26 PM, dlevitt <[EMAIL PROTECTED]> wrote: >> >> The source at the line looks like the source in the Confluence page - >> that's >> the good news. >> >> The bad news is that Idea shows 'context' in red, and exploring the base >> class hierarchy, there does not seem to be any class with a field called >> 'context' [or a method with 'context' in the method name, or return type >> name. >> >> >> >> mraible wrote: >>> >>> Here's the source for the completed tutorial. It's possible the >>> documentation is wrong. >>> >>> http://tinyurl.com/6muqtj >>> >>> Matt >>> >>> On Wed, Jun 4, 2008 at 8:31 PM, Flavio Froes <[EMAIL PROTECTED]> wrote: >>>> I am having an error on the PersonManagerImplTest class in the with the >>>> following snip >>>> >>>> >>>> context.checking(new Expectations() {{ >>>> one(dao).get(with(equal(id))); >>>> will(returnValue(person)); >>>> }}); >>>> >>>> >>>> I am using the code from the tutorial, is the code from the tutorial >>>> correct? >>>> >>>> regards, >>>> >>>> Flávio Oliva >>>> >>> >>> >> >> -- >> View this message in context: >> http://www.nabble.com/PersonManagerImplTest-using-JMock-error.-tp17660801s2369p19539343.html >> Sent from the AppFuse - User mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > -- View this message in context: http://www.nabble.com/PersonManagerImplTest-using-JMock-error.-tp17660801s2369p19539547.html Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
