Revision 4999
Added by Duane Costa over 14 years ago
HarvesterServlet.java | ||
---|---|---|
83 | 83 |
* 30 seconds to give Metacat a chance to fully initialize. |
84 | 84 |
*/ |
85 | 85 |
public void run() { |
86 |
String[] args = new String[1]; |
|
87 |
args[0] = SCHEMA_LOCATION; |
|
86 |
String[] args = new String[2]; |
|
87 |
args[0] = "false"; // Set to true if in command line mode or test mode |
|
88 |
args[1] = SCHEMA_LOCATION; |
|
88 | 89 |
|
89 | 90 |
try { |
90 | 91 |
Thread.sleep(30000); // Sleep 30 seconds before starting Harvester |
Also available in: Unified diff
Implement fix for Bug #4245: Harvester command line scripts don't execute.