RichNesse is a WYSIWYG text editor for Fitnesse. It is based on FCKEditor. The last version of Richnesse was released on 2008-06-03; while the current version of Fitnesse was released on 2010-01-03. Richnesse is no more compatible with Fitnesse since version 2009-03-21 (more or less).
Nevertheless, it is possible to make them Work together. The instructions are as follow:
- Download and install the Fitnesse .JAR (I'm currently using the 20100103 version) file
- You should have a folder with the fitnesse.jar file and a FitNesseRoot folder
- The server should now be up at the end of the installation process. If so, then stop it by going to the following url: http://localhost/?responder=shutdown
- Download the Richnesse Zip file (I'm currently using the 0.804 version from 2008-06-03) and unzip it into the same folder as Fitnesse
- You should obtain the following files beside the fitnesse.jar one:
- The next step is to set the properties file
- Rename the RichNesse.plugins.properties file as plugins.properties
- At this point I got a problem: It was impossible to configure the classpath in order to point to the RichNesse.jar file. Then, I had to relocate the Richnesse files inside the Fitnesse jar file.
- Open the RichNesse.jar file (try using winzip, for example)
- extract the RichNesse folder
- Open the fitnesse.jar file (try using winzip, for example)
- Add the RichNesse folder that you have just extracted into the fitnesse.jar file
- Richnesse requires a 'responder' class which is not available any more in the recent versions of fitnesse (since 2009). It also requires an old version of a 'recorder' class. Lets get them:
- Download the fitnesse zip folder version 2009-03-21
- unzip this file into a temporal folder
- Open the old fitnesse.jar file (try using winzip, for example)
- Extract the SecureResponder.class file from fitnesse\responders\
- Extract the SaveRecorder.class file from fitnesse\components\
- Lets integrate the old files into the new version of FitNesse
- Open the recent fitnesse.jar file (try using winzip, for example)
- Take the SecureResponder.class file you have extracted from the old fitnesse version and add it into fitnesse\responders\
- Take the SaveRecorder.class file you have extracted from the old fitnesse version and add it into fitnesse\components\
- Close the fitnesse.jar file
You can now launch the fitnesse server and access it in http://localhost/. The RichNesse button should now be available on the left panel.
The problem is that, when you install Richnesse this way, the standard 'Edit' button doesn't work any more. Moreover, if you click on this 'Edit' button, there will be a call to the server, the server will not respond to this call and the client will remain waiting for the answer. I think that the server is then altered and the following request will not longer succeed. The solution is then to shut-down and then up the Fitnesse server.
One more comment. I think that, when the Richnesse plugin is installed, then the reports created when there's a problem with the fixtures are less accurate.
Do you have another solution for installing a WYSIWYG editor for Fitnesse?