use of com.twinsoft.convertigo.engine.CLI in project convertigo by convertigo.
the class ProjectDeploy method taskAction.
@TaskAction
void taskAction() throws Exception {
CLI cli = plugin.getCLI();
cli.deploy(plugin.car.getDestinationFile(), server, user, password, trustAllCertificates, assembleXsl, retry);
}
use of com.twinsoft.convertigo.engine.CLI in project convertigo by convertigo.
the class ProjectExport method taskAction.
@TaskAction
void taskAction() throws Exception {
CLI cli = plugin.getCLI();
cli.export(plugin.load.getConvertigoProject());
}
use of com.twinsoft.convertigo.engine.CLI in project convertigo by convertigo.
the class ProjectLoad method getConvertigoProject.
@Internal
synchronized Project getConvertigoProject() throws Exception {
if (convertigoProject == null) {
CLI cli = plugin.getCLI();
convertigoProject = cli.loadProject(getProject().getProjectDir(), projectVersion, mobileApplicationEndpoint, gitContainer == null ? null : gitContainer.getAbsolutePath());
}
return convertigoProject;
}
use of com.twinsoft.convertigo.engine.CLI in project convertigo by convertigo.
the class CompileMobileBuilder method taskAction.
@TaskAction
void taskAction() throws Exception {
CLI cli = plugin.getCLI();
if (mode == null) {
String gMode = plugin.generateMobileBuilder.getMode();
mode = (gMode == null || gMode.equals("production")) ? "production" : "debug";
}
cli.compileMobileBuilder(plugin.load.getConvertigoProject(), mode);
}
use of com.twinsoft.convertigo.engine.CLI in project convertigo by convertigo.
the class GenerateMobileBuilder method taskAction.
@TaskAction
void taskAction() throws Exception {
CLI cli = plugin.getCLI();
if (mode == null) {
mode = plugin.compileMobileBuilder.getMode();
}
cli.generateMobileBuilder(plugin.load.getConvertigoProject(), mode);
}
Aggregations