Would 2.1.0-M2-SNAPSHOT work, cos I don't see 2.0.2-M2-SNAPSHOT in the drop-down to generate the archtype
I'm looking at instructions on this page http://appfuse.org/display/APF/AppFuse+QuickStart Thanks for all your help. Sorry to bother so much Vanessa ----- Original Message ----- From: "Matt Raible" <m...@raibledesigns.com> To: users@appfuse.dev.java.net Sent: Wednesday, November 3, 2010 3:43:56 PM (GMT-0500) America/New_York Subject: Re: [appfuse-user] changed from spring to struts (still facing issues) The error you're seeing is caused by a newer version of the archetype plugin. The 2.0-alpha-5 version creates projects that have duplicate package names (as you see below). This has been fixed in 2.0.2-M2-SNAPSHOT. On Wed, Nov 3, 2010 at 1:40 PM, Vanessa Pacheco < vpach...@bowmansystems.com > wrote: I haven't set up my smtp server, but I don't think that should affect the tests? since that is mainly for email stuff. Am I right? Attaching my pom.xml, since I made changes to use postgres. This is the only place I made changes. Did I have to make changes elsewhere (hibernate), since my tables have -ve values for primary key IDs. Vanessa ----- Original Message ----- From: "Matt Raible" < m...@raibledesigns.com > To: users@appfuse.dev.java.net Sent: Wednesday, November 3, 2010 3:27:22 PM (GMT-0500) America/New_York Subject: Re: [appfuse-user] changed from spring to struts (still facing issues) When you say "changed to use struts", did you create a new project or try to switch your own? Which version of AppFuse are you using? On Nov 3, 2010 , at 12:43 PM, Vanessa Pacheco wrote: > I've changed to use struts now > > When I run mvn, all of my 17 tests fail. In one of the reports I see this (I > attached the error report). Where do I make changes? > > ------------------------------------------------------------------------------- > > Test set: com.mycompany.webapp.webapp.action.SignupActionTest > ------------------------------------------------------------------------------- > > Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec <<< > FAILURE! > warning(junit.framework.TestSuite$1) Time elapsed: 0 sec <<< FAILURE! > junit.framework.AssertionFailedError: Exception in constructor: testExecute > (java.lang.Error: Unresolved compilation problem: > The declared package "com.mycompany.webapp.action" does not match the > expected package "com.mycompany.webapp.webapp.action" > ========================================== > > <com.mycompany.webapp.action.SignupActionTest.txt>--------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net > For additional commands, e-mail: users-h...@appfuse.dev.java.net --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net For additional commands, e-mail: users-h...@appfuse.dev.java.net --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net For additional commands, e-mail: users-h...@appfuse.dev.java.net --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net For additional commands, e-mail: users-h...@appfuse.dev.java.net