Package org.fusesource.ide.commons.camel.tools

Examples of org.fusesource.ide.commons.camel.tools.ArchetypeHelper


   * Create a new project from an archetype
   */
  public void createProject(InputStream archetypeJarIn, File outputDir,
      String groupId, String artifactId, String version,
      String packageName) {
    ArchetypeHelper helper = new ArchetypeHelper(archetypeJarIn, outputDir,
        groupId, artifactId, version);
    if (packageName != null && packageName.length() > 0) {
      helper.setPackageName(packageName);
    }
    Activator.getLogger().debug(
        "Creating archetype for outputDir: " + outputDir);

    try {
      helper.execute();
    } catch (IOException ex) {
      Activator.getLogger().error(ex);
    }

    Activator.getLogger().debug("Done!");
View Full Code Here

TOP

Related Classes of org.fusesource.ide.commons.camel.tools.ArchetypeHelper

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.