diff --git a/example.deploy.properties b/example.deploy.properties index 513b6236..40748b56 100644 --- a/example.deploy.properties +++ b/example.deploy.properties @@ -162,7 +162,7 @@ visualization.temporal = enabled # Absolute path on the server of the Harvester root directory. # You must include the final slash. # -harvester.location = /usr/local/vivo/harvester/ +# harvester.location = /usr/local/vivo/harvester/ # # Default type(s) for Google Refine Reconciliation Service diff --git a/productMods/css/harvester/fileharvest.css b/productMods/css/harvester/fileharvest.css index 80a517ac..6d3dab78 100644 --- a/productMods/css/harvester/fileharvest.css +++ b/productMods/css/harvester/fileharvest.css @@ -32,4 +32,14 @@ a.help { } #harvestButton { margin-right: 10px; +} +#fileHarvestErrorHelp ol { + margin: 0 0 1.3em 2em; + list-style-type: decimal; + font-size: .9em; +} +#fileHarvestErrorHelp em { + font-family:"Courier New",Courier,mono; + font-style: normal; + color:#666; } \ No newline at end of file diff --git a/productMods/templates/freemarker/body/harvester/fileharvest.ftl b/productMods/templates/freemarker/body/harvester/fileharvest.ftl index 0a5f7c0f..5952c790 100644 --- a/productMods/templates/freemarker/body/harvester/fileharvest.ftl +++ b/productMods/templates/freemarker/body/harvester/fileharvest.ftl @@ -1,5 +1,7 @@ <#-- $This file is distributed under the terms of the license in /doc/license.txt$ --> +<#-- <@dump var="harvesterLocation" /> --> + <#if !(user.loggedIn && user.hasSiteAdminAccess)>
You must be an administrator to use this tool.
@@ -13,224 +15,265 @@The end user should not see this error under normal circumstances, so this is probably a bug and should be reported.
<#else> - - - -An error has occurred and the file harvest cannot continue.
+ +This is most likely due to an improper Harvester configuration. Please ensure the following:
+ +Fill in the template with your data. You may fill in multiple templates if you wish to harvest multiple files at once.
-Fill in the template with your data. You may fill in multiple templates if you wish to harvest multiple files at once.
+Upload your filled-in template(s).
+ +Click the button to harvest your file(s).
+Upload your filled-in template(s).
- -The harvester.location property in deploy.properties is undefined.
+ +In order to use this feature, please define a value for this property that points to the Harvester installation directory before redeploying and restarting the application.
Click the button to harvest your file(s).
-