org.utgenome.shell
Class ScaffoldGenerator
java.lang.Object
org.utgenome.shell.ScaffoldGenerator
public class ScaffoldGenerator
- extends Object
Scaffold generator
- Author:
- leo
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScaffoldGenerator
public ScaffoldGenerator(String outputFolder,
Create.ScaffoldFileFilter generateFileFilter)
prepareTemplatePropeties
public void prepareTemplatePropeties(UTGBConfig config)
createProjectScaffold
public void createProjectScaffold(UTGBConfig config)
throws IOException,
UTGBShellException
- Throws:
IOException
UTGBShellException
createGWTModuleScaffold
public void createGWTModuleScaffold(UTGBConfig config)
throws IOException,
UTGBShellException
- Throws:
IOException
UTGBShellException
createEclipseLaunchFile
public void createEclipseLaunchFile(String projectName,
String templatePath,
String suffix)
throws IOException,
UTGBShellException
- Throws:
IOException
UTGBShellException
copyScaffold
public void copyScaffold(String inputResourcePacakge,
String outputDir)
throws IOException
- Creates the folder structure for the Tomcat
- Parameters:
catalinaBase
-
- Throws:
IOException
copyFile
public static void copyFile(InputStream in,
File dest)
throws IOException
- Throws:
IOException
mkdirs
public static void mkdirs(File dir)
- Create directories including its parent folders if not exist
- Parameters:
dir
-
getPath
public static String getPath(File f)
Copyright © 2007-2012 utgenome.org. All Rights Reserved.