Class ProjectInitializerLauncher

java.lang.Object
org.sklsft.generator.bash.launcher.ProjectInitializerLauncher

public class ProjectInitializerLauncher extends Object
This class can be launched to initialize a project
For that, arguments are required to populate a ProjectMetaData
In your workspace folder, a data-model folder will be created with :
  • your skeleton.xml file that contains your project meta-data
  • a folder /data-model/ with a template of your datasource-context.xml file for init and population
  • your project configuration depending on the skeleton that you want
  • Author:
    Nicolas Thibault
    • Constructor Details

      • ProjectInitializerLauncher

        public ProjectInitializerLauncher()
    • Method Details

      • main

        public static void main(String[] args)
        main method to be executed
        Parameters:
        args - 0->the workspace folder where to put the "data-model" folder
        args - 1->the domain name of your project (org.foo for example)
        args - 2->your project name(myproject for example)
        args - 3->the skeleton type of your project @{link SkeletonType}
        args - 4->the database engine to be used @{link DatabaseEngine}
        args - 5->a boolean string representation (True/False) to indicate whereas you want to activate hibernate auditing functionnality or not (envers)
        args - 6->your database name (MYDATABASE for example)
        args - 7->your database hostname
        args - 8->your database port
        args - 9->your database connection username
        args - 10->your database connection password