Hi,
Just thought I'd make a note of a useful tip, to debug JForum in Eclipse... it took me an hour or two to figure out:
1. Install Web Tools Project
2. In the Project/Package Explorer, go to the little down arrow and change the view filters to show up the hidden .* resources
3. Go into your .settings folder
4. Change the one line in org.eclipse.wst.common.component to:
<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
<wb-module deploy-name="jforum">
<wb-resource deploy-path="/" source-path="/target/jforum"/>
<wb-resource deploy-path="/" source-path="/src/main/webapp" tag="defaultRootSource"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/>
<property name="java-output-path" value="/jforum/build/classes"/>
<property name="context-root" value="jforum"/>
<property name="component.exclusion.patterns" value="WEB-INF/web.xml"/>
</wb-module>
</project-modules>
5. You can then add your module to your Server in the Servers view.
6. Click 'Debug' on the server.
Now you can put breakpoints in. Much better workflow, in case you haven't got this working already.
Regards,
Daniel