Preparation
Before coding a new launcher from scratch, the best is to duplicate one of the two following templates provided in the SDK:- random launcher (returning random results)
- success launcher (returning only success results)
Let's assume we want to create an "imaginary" launcher. The preparation process is pretty simple and consist in doing the following:
- Copy the folder
src/com/xqual/launcher/randominsrc/com/xqual/launcher/imaginary - Rename
src/com/xqual/launcher/random.xmlinsrc/com/xqual/launcher/imaginary.xml - Copy and rename
build/buildRandomLauncher.batinbuild/buildImaginaryLauncher.bat - Edit the build script
buildImaginaryLauncher.batand change
- the variableJAVA_HOMEto point to your JDK.
- the name of the launcher in the scriptXSTUDIO_LAUNCHER_NAME=imaginary - Run
buildImaginaryLauncher.bat - You should get a file imaginary.jar in the bin folder... .
Congrats! you compiled your first launcher.

