Matt uses Tapestry ?[?] On Wed, Feb 2, 2011 at 10:47 PM, m...@raibledesigns.com < m...@raibledesigns.com> wrote:
> > I'm trying to upgrade my project from tapestry-spring 5.0.18 to 5.2.4. I > have > the following in a test class: > > @ContextConfiguration(locations = { > "classpath:/applicationContext-resources.xml", > "classpath:/applicationContext-dao.xml", > "classpath:/applicationContext-service.xml", > "classpath*:/applicationContext.xml", > "/WEB-INF/applicationContext*.xml"}) > public abstract class BasePageTestCase extends > AbstractTransactionalJUnit4SpringContextTests { > protected PageTester tester; > > @Before > public void before() { > String appPackage = "org.appfuse.webapp"; > String appName = "app"; > tester = new PageTester(appPackage, appName, "src/main/webapp") { > @Override > protected ModuleDef[] provideExtraModuleDefs() { > return new ModuleDef[]{new > SpringModuleDef(applicationContext)}; > } > }; > > However, it looks like SpringModuleDef no longer takes an > ApplicationContext. What's the new way to do this? > > [ERROR] symbol : constructor > SpringModuleDef(org.springframework.context.ApplicationContext) > [ERROR] location: class > org.apache.tapestry5.internal.spring.SpringModuleDef > > Thanks, > > Matt > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/Compiler-error-when-upgrading-from-tapestry-spring-5-0-18-to-5-2-4-tp3368139p3368139.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Werner Keil | UOMo Lead | Eclipse Foundation | Agile Coach, Principal Consultant | *emergn* limited 590 Madison Avenue. New York. NY 10022 | 68 Lombard Street. London EC3V 9LJ UK US Toll Free: +1-877.964.1981 | Worldwide Toll Free: +800.225.53482 Skype: werner.keil|www.emergn.com | Reshaping IT * STP Conference & Expo: March 24, 2011, Nashville, TN. Werner Keil, Agile Coach and Principal Consultant, will be presenting "Agile Test Automation"