Using the Eclipse-based Domino Designer, because the Notes application corresponds to an Eclipse project, various functions are available that apply to Eclipse projects generally.
I had a request recently to export all the code in a project to disk so that an automated code-checker tool could be run against it. My initial thought was to use DXL, but the DXL representation of some design elements doesn't make it easy to extract the code. JavaScript libraries, in particular, are hard to decode.* So I looked for an alternative. Here's what I found.
- First make sure the database is in your Designer navigator (if it's never been opened in Designer from that workstation, open it).
- To view the Notes applications as Eclipse projects, you have to open the Project Explorer view of Designer. Menu Windows / Show Eclipse Views / Other , then select General / Project Explorer.
- Note: if you have as many databases in your outline as I have, it may take some time to populate this window. Be patient.
- Find your Notes database there.
- If it is not open (not expandable), right-click it and select Open Project.
- Right-click and select Export.
- Select File System as the export destination (it's under General) and click Next.
- In the next screen, you might choose to expand the project and deselect some things that you don't care about, for instance as highlighted here in yellow.
- Enter the directory you'd like to export to, and click Finish.
* We're working on it.
Andre Guirard | 7 January 2010 10:32:12 AM ET | Home, Plymouth, MN, USA | Comments (0)

