Bundle-ClassPath: .,
lib/ant.jar,
lib/commons-cli-1.2.jar
-Import-Package: org.tizen.nativecommon.templateengine,
- org.tizen.nativecommon.templateengine.model
+Import-Package: org.tizen.nativecommon,
+ org.tizen.nativecommon.exception,
+ org.tizen.nativecommon.templateengine,
+ org.tizen.nativecommon.templateengine.build,
+ org.tizen.nativecommon.templateengine.build.model,
+ org.tizen.nativecommon.templateengine.model,
+ org.tizen.nativecommon.templateengine.process,
+ org.tizen.nativecommon.templateengine.util
import org.tizen.common.util.FileUtil;
import org.tizen.common.util.StringUtil;
import org.tizen.nativecommon.templateengine.TizenTemplateEngine;
-import org.tizen.nativecommon.templateengine.TizenTemplateEngine.WizardMode;
import org.tizen.nativecommon.templateengine.model.TizenTemplate;
public class NativeMain extends AbstractLauncher {
System.out.println("Create " + projectName + " project");
TizenTemplate template = new TizenTemplate(new File(sampleDir).getAbsolutePath(), projectName, new File(targetDir).getAbsolutePath());
- TizenTemplateEngine.createProject(template, WizardMode.CLI);
+ TizenTemplateEngine.createProject(template, new CLIProjectGenerator());
System.out.println("Project created succcessfully in " + template.getProjectPath() + "\nTo build the project, run native-make in " + template.getProjectPath() + File.separatorChar + "CommandLineBuild");
}