mvn -Pjar-with-dependencies packagein your Xebium source directory. This will produce a JAR file in your
/targetdirectory, which you can execute using
java -cp xebium-0.x.jar fitnesseMain.FitNesseMain. If port 80 is already in use on your machine, specify an extra
-p 8080switch to change the port. For easy access, put this in a .bat or .sh file and set a job for starting this batch file at machine startup, using either Windows Task Scheduler or cron jobs.
Running your tasks nightlyTo run your tasks nightly, create an extra task which runs every night at a given time. Have it start the following batch file:
cd C:MyFitNesseFolder java -cp xebium-0.x.jar fitnesseMain.FitNesseMain -p 1234 -c "MyFirstTestSuite?suite"In this batch file, port 1234 can be changed, as long as it is an unused port. This batch file starts a new FitNesse instance and, using the
-ccommand line switch, starts the tests in test suite MyFirstTestSuite. More on the
-cswitch can be found on the FitNesse User Guide CommandLineTestRunner page.