Subversion Repositories SmartDukaan

Rev

Rev 45 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 45 Rev 49
Line 19... Line 19...
19
import in.shop2020.metamodel.util.ExpandedCategory;
19
import in.shop2020.metamodel.util.ExpandedCategory;
20
import in.shop2020.metamodel.util.ExpandedEntity;
20
import in.shop2020.metamodel.util.ExpandedEntity;
21
import in.shop2020.util.Utils;
21
import in.shop2020.util.Utils;
22
 
22
 
23
/**
23
/**
-
 
24
 * Driver class to merge Java data objects with VTL script
-
 
25
 * 
24
 * @author naveen
26
 * @author naveen
25
 *
27
 *
26
 */
28
 */
27
public class VUI {
29
public class VUI {
28
	public static String VTL_SRC_PATH = 
30
	public static String VTL_SRC_PATH = 
Line 33... Line 35...
33
	
35
	
34
	public static String EXPORT_DEFINITIONS_PATH = 
36
	public static String EXPORT_DEFINITIONS_PATH = 
35
		"/home/naveen/workspace/eclipse/export/html/definitions/";
37
		"/home/naveen/workspace/eclipse/export/html/definitions/";
36
 
38
 
37
	/**
39
	/**
-
 
40
	 * Usage: VUI [entity|category] {Template file name}
-
 
41
	 * 
38
	 * @param args
42
	 * @param args
39
	 */
43
	 */
40
	public static void main(String[] args) throws Exception {
44
	public static void main(String[] args) throws Exception {
41
		String[] commands = new String[] {"entity", "category"};
45
		String[] commands = new String[] {"entity", "category"};
42
		String[] datatypes = new String[] {"Entity ID", "Category ID"};
46
		String[] datatypes = new String[] {"Entity ID", "Category ID"};