Is Windows going to be your production environment? If so, then it's definitely important to get CC working. If not, I'd recommend moving it to a production-like environment. A couple things to check for:
1. No spaces in your project name. 2. Make sure you're using the same JDK on both machines. 3. Make sure your security filter (in web.xml and security.xml) is the same on both machines. I'm assuming you're using some sort of source control system and the code is the same on both boxes? Matt On Fri, Aug 28, 2009 at 7:27 AM, stuffins <stuff...@gmail.com> wrote: > > 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 > >