Project

General

Profile

Wiki » History » Version 2

Soh Keong, 09/18/2004 07:38 AM

1 1 Soh Keong
{{TOC}}
2
3
h1. Wiki
4
5
h2. Overview
6
7
!batch.png!
8 2 Soh Keong
9
h2. File Download
10
11
"Jar file":http://192.168.2.13:50000/redmine/attachments/download/458/Stockist_batch.jar
12
"Properties file":http://192.168.2.13:50000/redmine/attachments/download/458/stockist.properties
13
"Batch file":http://192.168.2.13:50000/redmine/attachments/download/458/run.bat
14
"Sample excel file":http://192.168.2.13:50000/redmine/attachments/download/458/Stockist.xls
15
"Sample email template":http://192.168.2.13:50000/redmine/attachments/download/458/EmailNewPassword.xml
16
17
h2. properties file
18
19
* *stockist.properties* 
20
21
_DATABASE_
22
# *database*                   - Which database used.
23
# *database.driver.class*      - Database driver class
24
# *database.ip*                - Database server IP
25
# *database.port*              - Database server port
26
# *database.name*              - Database name
27
# *database.user*              - Database user name
28
# *database.pwd*               - Database user password
29
30
_FILE_
31
# *file.name*                  - Excel file name
32
# *file.total.sheet*           - Total sheet need to update
33
34
_EMAIL_
35
# *email.template*             - xml template
36
# *email.send*                 - email send indicator
37
38
39
h2. Execute Program 
40
41
1. Please make sure
42
	  I. The value in stockist.properties is correct.
43
	 II. The excel format is correct.
44
	III. The email template name is match with the name in stockist.properties
45
46
2. To run the program, double click on the run.bat
47
3. [SUCCESS] message will be display in case of update successful
48
4. [FAILED]  message will be display in case the record is not updated.