This option is not the recommended approach. Where possible, you should use the OSGi plugin or OpenNTF Domino API implementations. This will make upgrading easier and minimise duplication of effort.
The Java classes and faces-config.xml code to enable the openLogBean managed bean and Phase Listener can be copied from the On Disk Project in the downloaded sources and placed into an NSF.
- Add the src/com.paulwithers.openLog package to the WebContent/WEB-INF folder. The new hierarchy should be WebContent/WEB-INF/src/com.paulwithers.openLog.
- Add the XML for the Phase Listener and Managed Bean to your database's faces-config.xml, also in the WebContent/WEB-INF folder. Ensure it is outside the AUTOGEN section. Anything within that section gets removed when the NSF is built.
- Ensure the WebContent/src folder is added as a source folder, by right-clicking and selecting Build Path > Use as source folder.
You will then be ready to go.