Wiki » History » Version 4
Soh Keong, 09/18/2004 07:43 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 | 3 | Soh Keong | "Jar file":http://192.168.2.13:50000/redmine/attachments/download/461/Stockist_batch.jar |
12 | "Properties file":http://192.168.2.13:50000/redmine/attachments/download/462/stockist.properties |
||
13 | "Batch file":http://192.168.2.13:50000/redmine/attachments/download/463/run.bat |
||
14 | "Sample excel file":http://192.168.2.13:50000/redmine/attachments/download/464/Stockist.xls |
||
15 | "Sample email template":http://192.168.2.13:50000/redmine/attachments/download/465/EmailNewPassword.xml |
||
16 | 2 | Soh Keong | |
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 | 4 | Soh Keong | > I. The value in stockist.properties is correct. |
43 | 2 | Soh Keong | II. The excel format is correct. |
44 | 1 | Soh Keong | 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. |
||
49 | 3 | Soh Keong | |
50 | h2. SCM |
||
51 | |||
52 | _CVS:_ |
||
53 | |||
54 | <pre> |
||
55 | Host: cwyrnd2-server [IP address:192.168.2.11] |
||
56 | Path: d:/source/ecoswayNew |
||
57 | Module: Stockist_batch |
||
58 | Tag: HEAD |
||
59 | </pre> |