On 10/26/07, Setomidor <[EMAIL PROTECTED]> wrote: > > > Hi again! > > I continued my journey into AppFuse / Maven / Struts / Spring / Hibernate > land, an ran into a wall when trying the PersonActionTest part of the > tutorial. > > 1) I'm in the web directory (using modular) and run: > mvn test -Dtest=PersonActionTest > > result is : > > Results : > > Tests in error: > testSearch(com.setogame.webapp.action.PersonActionTest) > > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0 > > 2) I read some post in the mailing list, and tried skipping the > PersonActionTest by renaming the class. It works, but when I'm running mvn > again I get several exceptions with another error log from hell. You can > find the complete log http://www.cs.umu.se/~c03dhn/temp2.out here . > > > I just can't figure out why the test fails, and what happends. When I try > to > modify PersonActionTest.java in eclipse to add println debugging (or just > to > remove the asserts by wrapping them as comments tag), running mvn again > just > produce the same output. It seems the changes I make to the source file > are > ignored by maven. I've tried cleaning the projects through eclipse, and > also > tried removing the whole target directory in the web folder, without > result. > The only thing that helped was renamning the .java file. > > Running mvn with '-e' to produce a stack trace is fruitless, the trace > does > not give any hint to the error in question.
you will find more detailed (and helpfull) test reports under target/surefire-reports. Mike You can find a .zip file with the project contents > http://www.cs.umu.se/~c03dhn/game.zip here (target directories removed). > Running mvn in core directory first, and then in web reproduces the > problem. > > Thanks! > > //Seto > > > > -- > View this message in context: > http://www.nabble.com/Trouble-with-the-tutorial-tf4697016s2369.html#a13426257 > Sent from the AppFuse - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
