The FOP bridge plugin provides eclipse users the ability to convert FO documents into any one of the formats supported by Apache FOP directly from the workbench. Furthermore, conversion can be integrated into the Eclipse build-cycle. These capabilities are very useful for rapid prototyping.
Usage is straightforward. Select a valid file, ending with an "fo" or "xml" extension. Open the context menu (i.e. right-click the file), and open the "Render" submenu. Select an installed rendering engine and an output format supported by that engine, and a progress window will open and show you a log of FOP's progress.
FOP Bridge can also integrate rendering into the Eclipse build cycle. When a set of files is being rendered, you are presented the option to integrate rendering into the build process. Selecting the option ensures that the document is re-rendered whenever the project is rebuilt. If you have "Build Automatically" selected for your project, then saving any change to the FO source file will trigger re-rendering.
Disabling this feature after it has been enabled for a file is simply a matter of unchecking the integrated rendering option.
Come to more: http://www.ahmadsoft.org/fopbridge.html
Recommend the tutorial