Packaging Your Extension for Use in Isight

Once you have developed your extension in Eclipse and have defined all its information, you need to add the extension to Isight so that it can be used in your simulation process flow when working with models. To use the extension in Isight, you need to package it as a .jar file and publish it to your Isight library.

  1. On the Project Explorer tab on the left side of Isight Developer, verify that the correct project is selected.

  2. From the SIMULIA menu on the main Eclipse interface, select Create Jar.

    Note: You can also click on the Eclipse toolbar.

    The Isight Extension Export dialog box appears.

  3. Specify the following information:

    • Click Browse, and navigate to the location where you want the project’s .jar file stored. Typically this location will be your Eclipse workspace directory.

    • Click Include source code in the jar if you want to include the source code (.java files) in your .jar file. By default, only the compiled code (.class files) is included. This option is useful if you are creating a component that is open source or you want others to be able to open up the extension and alter it.

    • Click Compress the contents of the JAR file if you want to decrease the final size of the .jar file. By default, this option is not selected, since most extensions will not create large .jar files. However, if you know your .jar file will be large, you can select this option.

  4. Click Finish.

    The .jar file you created for your project is exported to the location you specified and can now be published to your Isight library. For more information on publishing files in Isight, see Publishing Objects to the Isight Library in the Isight User’s Guide.