* remove eevolution and libero specific default. Victor, please be more carefull on this next time. thanks.
This commit is contained in:
parent
fe6dcc77bc
commit
a15f456203
|
@ -965,8 +965,7 @@ public class ModelClassGenerator
|
||||||
log.info("Generate Model $Revision: 1.42 $");
|
log.info("Generate Model $Revision: 1.42 $");
|
||||||
log.info("----------------------------------");
|
log.info("----------------------------------");
|
||||||
// first parameter
|
// first parameter
|
||||||
//String directory = "/Users/Horus/Documents/adempiere/clientes/adempiere_trunk/base/src/org/compiere/model/";
|
String directory = "C:\\Adempiere\\adempiere-all\\extend\\src\\compiere\\model\\";
|
||||||
String directory = "/Users/Horus/Documents/adempiere/clientes/libero/src/org/eevolution/model/";
|
|
||||||
if (args.length > 0)
|
if (args.length > 0)
|
||||||
directory = args[0];
|
directory = args[0];
|
||||||
if (directory == null || directory.length() == 0)
|
if (directory == null || directory.length() == 0)
|
||||||
|
@ -977,7 +976,7 @@ public class ModelClassGenerator
|
||||||
log.info("Directory: " + directory);
|
log.info("Directory: " + directory);
|
||||||
|
|
||||||
// second parameter
|
// second parameter
|
||||||
String packageName = "org.eevolution.model";
|
String packageName = "compiere.model";
|
||||||
if (args.length > 1)
|
if (args.length > 1)
|
||||||
packageName = args[1];
|
packageName = args[1];
|
||||||
if (packageName == null || packageName.length() == 0)
|
if (packageName == null || packageName.length() == 0)
|
||||||
|
@ -988,8 +987,7 @@ public class ModelClassGenerator
|
||||||
log.info("Package: " + packageName);
|
log.info("Package: " + packageName);
|
||||||
|
|
||||||
// third parameter
|
// third parameter
|
||||||
//String entityType = "'U','A','D','EE01'"; // User, Application
|
String entityType = "'U','A'"; // User, Application
|
||||||
String entityType = "'EE01'"; // User, Application
|
|
||||||
if (args.length > 2)
|
if (args.length > 2)
|
||||||
entityType = args[2];
|
entityType = args[2];
|
||||||
if (entityType == null || entityType.length() == 0)
|
if (entityType == null || entityType.length() == 0)
|
||||||
|
|
|
@ -545,8 +545,7 @@ public class ModelInterfaceGenerator {
|
||||||
log.info("Generate Interface $Revision: 1.0 $");
|
log.info("Generate Interface $Revision: 1.0 $");
|
||||||
log.info("----------------------------------");
|
log.info("----------------------------------");
|
||||||
// first parameter
|
// first parameter
|
||||||
//String directory = "/Users/Horus/Documents/adempiere/clientes/adempiere_trunk/base/src/org/compiere/model/";
|
String directory = "C:\\Adempiere\\adempiere-all\\extend\\src\\compiere\\model\\";
|
||||||
String directory = "/Users/Horus/Documents/adempiere/clientes/libero/src/org/eevolution/model/";
|
|
||||||
if (args.length > 0)
|
if (args.length > 0)
|
||||||
directory = args[0];
|
directory = args[0];
|
||||||
if (directory == null || directory.length() == 0) {
|
if (directory == null || directory.length() == 0) {
|
||||||
|
@ -556,8 +555,7 @@ public class ModelInterfaceGenerator {
|
||||||
log.info("Directory: " + directory);
|
log.info("Directory: " + directory);
|
||||||
|
|
||||||
// second parameter
|
// second parameter
|
||||||
//String packageName = "org.compiere.model";
|
String packageName = "compiere.model";
|
||||||
String packageName = "org.eevolution.model";
|
|
||||||
if (args.length > 1)
|
if (args.length > 1)
|
||||||
packageName = args[1];
|
packageName = args[1];
|
||||||
if (packageName == null || packageName.length() == 0) {
|
if (packageName == null || packageName.length() == 0) {
|
||||||
|
@ -567,8 +565,7 @@ public class ModelInterfaceGenerator {
|
||||||
log.info("Package: " + packageName);
|
log.info("Package: " + packageName);
|
||||||
|
|
||||||
// third parameter
|
// third parameter
|
||||||
//String entityType = "'U','A','EE01','D'"; // User, Application
|
String entityType = "'U','A'"; // User, Application
|
||||||
String entityType = "'EE01'"; // User, Application
|
|
||||||
if (args.length > 2)
|
if (args.length > 2)
|
||||||
entityType = args[2];
|
entityType = args[2];
|
||||||
if (entityType == null || entityType.length() == 0) {
|
if (entityType == null || entityType.length() == 0) {
|
||||||
|
|
Loading…
Reference in New Issue