The Niagara Tools are a group of Eclipse External Tools that are specific to Niagara AX. After first choosing a Niagara Home Variable, three Niagara Tools will be created. These are:
Performs a full Niagara AX build of the current project that is open in the Eclipse workspace. Eclipse automatically determines the current project based on which source file is currently selected or displayed on the screen.
A full Niagara AX build entails a clean compilation of all Java source for the project using the compiler that directly complies with the Java Runtime Environment of the current Niagara AX home installation. If the compilation is successful, the Niagara AX build utility generates a jar file in the modules folder of the current Niagara AX home installation. After that, the build utility loads the jar file in the Niagara AX runtime environment and reports any errors that concern the definition of Niagara AX types.
Performs an incremental Niagara AX build of the current project that is open in the Eclipse workspace. Eclipse automatically determines the current project based on which source file is currently selected or displayed on the screen.
An incremental build simply compiles any Java source files whose last modified date on the file system is after the last modified data of the class file under the module's libjar folder that corresponds to the Java file. If the compilation is successful, the Niagara AX build utility generates a jar file in the modules folder of the current Niagara AX home installation.
Warning: Build incremental does not perform a full or clean Niagara AX build of the project. Please perform Build Full to build a jar file for deployment or deployment testing.
Runs the Niagara AX Slotomatic utility on all of the Java files of the current project in the Eclipse workspace. Eclipse automatically determines the current project based on which source file is currently selected or displayed on the screen.
The Niagara AX slotomatic utility automatically generates the boiler-plate Java code that is necessary to declare the Niagara AX properties, actions, and topics on a particular Niagara AX type. A Niagara type is a java class that begins with a capital B and extends one of the Niagara AX (Baja) classes that begins with a capital B. The slotomatic utility generates the necessary Java code based on the slotomatic header that is included at the top of the Java class files. For more details, open the Niagara AX help system, press CTRL+L, and enter the following ORD: local:|module://docDeveloper/doc/slot-o-matic.html.
Note:The "-mi" option is automatically configured if the Niagara Home variable specifies a Niagara AX installation of Niagara 3.2.8 or later. The "-mi" stands for "module include". If specified, the slotomatic utility adds lines to the module-include.xml file, as necessary, for any Niagara AX types that the module declares (if no line already exists in the module-include.xml file to declare the particular Niagara AX type).
Copyright © 2000-2008 Tridium Inc. All rights reserved.