Revision 5030
Added by daigle over 14 years ago
EML201DocumentCorrector.java | ||
---|---|---|
6 | 6 |
|
7 | 7 |
import edu.ucsb.nceas.metacat.database.DBConnection; |
8 | 8 |
import edu.ucsb.nceas.metacat.database.DBConnectionPool; |
9 |
import edu.ucsb.nceas.metacat.service.PropertyService;
|
|
9 |
import edu.ucsb.nceas.metacat.properties.PropertyService;
|
|
10 | 10 |
|
11 | 11 |
/** |
12 | 12 |
* Before Metacat 1.8.1 release, Metacat uses the eml201 schema with the tag |
... | ... | |
121 | 121 |
* @param argus |
122 | 122 |
* @throws Exception |
123 | 123 |
*/ |
124 |
public static void main(String[] argus) throws Exception
|
|
124 |
public static void main(String[] args) throws Exception |
|
125 | 125 |
{ |
126 | 126 |
|
127 | 127 |
//initialize options and connection pool |
128 |
PropertyService.getInstance(); |
|
128 |
PropertyService.getInstance(args[0]);
|
|
129 | 129 |
DBConnectionPool connPool = DBConnectionPool.getInstance(); |
130 | 130 |
|
131 | 131 |
// run the thread |
Also available in: Unified diff
Change location of PropertyService to properties directory