-
Notifications
You must be signed in to change notification settings - Fork 1
Developing with SynergyNet 2.5
SynergyNet 2.5 is organised to make it easy for application developers to use the framework's features such as its multi-touch support, content system and networking.
Required:
- An IDE with the ability to use git, such as any recent version of Eclipse (Eclipse IDE for java developers is recommended)
Clone the synergynet2.5 repository and import a copy of the synergynet2.5 project.
Remember to run core.ConfigurationSystem as a java application before running the desktop for the first time and set the display preferences.
Run core.SynergyNetDesktop
as a java application for the desktop.
To find out how to write an application, take a look at the apps package which contains a number of technology demonstration applications. Take a look at the synergynetapplication.xml documents found in each applications' package. This application information is used by SynergyNetDesktop to load your app.
Adding Applications to the SynergyNet Desktop When you're ready to run your own application, you'll need to instruct SynergyNetDesktop to make your application available. This is done by adding a reference to the application information xml document inside the table configuration. Add a reference to your application in the appropriate config xml document, following the example of those already there.
By default the src/main/java/demotableconfiguration.xml
file is used if SynergyNetDesktop is started with no parameters. You can change the config file by adding the name of another xml config file alongside its path relative to the src/main/java folder in the workspace to the Program Arguments.
For example, to use the teachertableconfiguration.xml file under src/main/java/appsetup
add appsetup/teachertableconfiguration.xml
to the program arguments when running SynergyNetDesktop.
You can provide your own table configuration documents if needed. Note that if you create an xml file called personaltableconfiguration.xml
in the src/main/java/appsetup
folder it will be ignored by svn, allowing you to change your application line up without changing the default allocation of applications when you commit your work.
The Java API for this project can be found here.