Frequently Asked Questions


How do I attach source to a dependant jar (Referenced Library)?

In order to attach source to a dependant jar that the Niagara plug-in has configured relative to the niagara_home variable, Eclipse requires a second variable to be used which must extend to your source location. To attach source, follow these steps:

  1. Right click the jar in your project that you would like to attach source to and click "Properties".
  2. In the "Java Source Attachment" page, click on "Variable..."
  3. Look for a variable labeled "DRIVE_X", where 'X' is the drive where your source is located. If this variable doesn't exist already, create it by clicking "New..."
  4. Click on "Extension...", and locate the source directory of your jar.


Why doesn't my project contain variables?

If you use the Import Existing Niagara AX Module to import a module that you previously used in the Niagara Plug in version 0.0.5 or earlier, then your dependent modules may not reference the Niagara Home variable (see screen shot below). To overcome this, before running the wizard, delete the ".project" and ".classpath" files from the module's working directory on the hard drive.