Using the FBDK with the Eclipse™ IDE

Getting Started

  1. Download the following archive to a convenient location, e.g., the Desktop:
  2. From the Eclipse File menu:
    • Import... → Projects from Folder or Archive
    • → Import source: < location>
    • → Folder:fb4e.zip_expanded/FB4E
  3. The Problems tab of the IDE will complain that "Project 'FB4E' is missing required library: 'fbrt.jar'" and the imported project will look like this in the Package Explorer:

    This is because the required files haven't been downloaded yet. Here's how to fix it:
    1. Make sure your computer is online.
    2. From the popup menu of the FBDK3.launch resource, select Run As → FBDK3.
    3. Click the Yes button on the initial FBDK dialog. The FBDK will then download the required files and open the FBEditor.
    4. Close the FBDK.
    5. Click Refresh on the popup menu of the FB4E project. You'll then see that the required files are loaded and the problems disappear.
    6. After refreshing, FBDK3 will appear as a sub-menu entry of the Run → External Tools menu.

Running the FBDK

  1. Launch the FBDK by running the FBDK3 external tool.
    • If your computer is online, this will automatically check for and install updates to the FBDK.
  2. Use the FBDK to create, edit and delete IEC 61499 Library Elements.
  3. Shut down the FBDK by closing all the associated windows, go back to the Eclipse IDE and Refresh the FB4E project from its popup menu when you need to:
    • Have Eclipse automatically compile Java™ files generated by the FBDK, or
    • Edit Java, XML or HTML files generated by the FBDK
  4. After performing the necessary operations in Eclipse, re-launch the FBDK3 tool to continue operations with the FBDK.