On my development machine running mvn clean compile install works perfectly, goes through all the web tests with no issues. However, when my cruise control server checks out the code and runs the same goals it fails with this message:
[INFO] Executing tasks [mkdir] Created dir: C:\projects\[my project]\trunk\target\webtest-data [echo] Testing '[my project]' with locale 'en' Login: [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error executing ant tasks Embedded error: The following error occurred while executing this line: C:\projects\[my project]\trunk\src\test\resources\login.xml:2: Wrong document title found!. Expected value ".*Login.*" but got "Main Menu | AppFuse" [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 47 seconds [INFO] Finished at: Fri Aug 28 01:51:47 EDT 2009 [INFO] Final Memory: 37M/63M [INFO] ------------------------------------------------------------------------ Unit Tests: (0) No Tests Run This project doesn't have any tests Things to point out: my dev machine is a mac, cruise control is a windows box. Also the build randomly started to fail. It used to work in the CC environment and it seems as though the system crashed last night after my scheduled 3am build. Now this started to happen. I changed the sample-data to have 2 different users but updated login.xml to reflect the new username/password. This error message makes no sense because the login test fails when it requests "/" and says it finds Main Menu...its like the user is already logged in before the test runs... Other then changing the sample data and creating 1 model object this project is almost a vanilla install of appfuse. Any help would be greatly appreciated. -- View this message in context: http://www.nabble.com/Issue-with-building-in-Cruise-Control-on-windows-tp25189913s2369p25189913.html Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net For additional commands, e-mail: users-h...@appfuse.dev.java.net