Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: prb75 on October 29, 2015, 06:55:59 PM

Title: Executing Eclipse 'Generate All' from Composer from command line
Post by: prb75 on October 29, 2015, 06:55:59 PM
I would like to be able to execute the 'Generate All' command from composer to produce the scxml and vxml artifcacts in src-gen using a continuous integration server like jenkins.  Does anyone have any tips for how to do this ?

:)
Title: Re: Executing Eclipse 'Generate All' from Composer from command line
Post by: dbreeeze on February 09, 2016, 06:25:18 PM
You can generate all through eclipse's command line options and calling the composer command line application.

Just open the windows command prompt in the directory with eclipse and run something along the lines of:

[code]
eclipse.exe -nosplash -consoleLog -debug -data "C:\Users\<current user>\workspaces\composer\JavaComposerProject" -application com.genesyslab.composer.voice.generator.commandline.app
[/code]

Where -data is a full path to your eclipse workspace that has a composer project already imported.