Class ProjectInitializerLauncher
java.lang.Object
org.sklsft.generator.bash.launcher.ProjectInitializerLauncher
This class can be launched to initialize a project
For that, arguments are required to populate a
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
For that, arguments are required to populate a
ProjectMetaData
In your workspace folder, a data-model folder will be created with :
- Author:
- Nicolas Thibault
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ProjectInitializerLauncher
public ProjectInitializerLauncher()
-
-
Method Details
-
main
main method to be executed- Parameters:
args
- 0->the workspace folder where to put the "data-model" folderargs
- 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 hostnameargs
- 8->your database portargs
- 9->your database connection usernameargs
- 10->your database connection password
-