Intelligent Real-time Interactive Systems Toolkit
The examples in this guide will assume that you are developing in Eclipse. Of course, it is not necessary to use Eclipse, but if not, you will have to adapt the instructions accordingly on your own.
You can download Eclipse from here. If you do not know which version to choose, we recommend “Eclipse IDE for Java Developers” (32 or 64 bit), which includes support for XML editing.
If you have already cloned/downloaded and installed IrisTK, you can skip this section. (Go directly to “Setting up the classpath” below).
First, make the git repository view is visible in Eclipse from the menu ‘Window > Show views > Other > Git > Git Repositories’
Eclipse will show the view somewhere. Click on ‘Clone a Git repository’ to begin the process.
In Location, paste the following URI: https://github.com/gabriel-skantze/IrisTK. The rest should be filled in automatically. You should see the following:
Click Next. In Branch Selection, only select the “master” branch. Click Next.
In Local Destination, choose the directory where you want to install IrisTK, for example C:\IrisTK
Click Finish and wait for the repository to be cloned. Close Eclipse.
Open a command window. Go to the path where you chose to install IrisTK. Type:
Open a command window (unless you already have one open) and type:
This will create a .classpath file in the IrisTK folder which makes it possible to import it as a project in Eclipse. This should be done each time you add a new addon or app to the IrisTK folder, if you don’t want to configure these things manually in Eclipse.
Important: If you left Eclipse open during install, make sure to close it and re-open it after the install.
There is an Eclipse Plug-in which lets you easily compile the dialogue flow. Here is how you install it:
Now you can compile a flow easily by right-clicking the flow XML file (either in the editor or in the Package Explorer) and choose “Compile Flow” in the context menu. The result of the flow compilation will be reported in the Console. Eclipse will then automatically compile the generated Java file to a class file. If there are any errors in this process, you will see that the Java file gets a red mark in the Package Explorer .
Copyright © Gabriel Skantze, 2013-