diff --git a/README.md b/README.md index a73cc9a..6e18d41 100644 --- a/README.md +++ b/README.md @@ -64,6 +64,10 @@ In the file ```/REST_ENDPOINTS.json``` you define REST API endpoints pointing to - It'll save the data files in ```/raw``` - Then processing will commence +###### Notes + +- ```/raw``` and ```REST_ENDPOINTS.json``` must be present. Deleting will fail program + ===================== ###### Author - croft1 - https://github.com/croft1 \ No newline at end of file diff --git a/REST_ENDPOINTS.json b/REST_ENDPOINTS.json index 168c7a8..765cbb1 100644 --- a/REST_ENDPOINTS.json +++ b/REST_ENDPOINTS.json @@ -18,5 +18,4 @@ "link": "https://data.melbourne.vic.gov.au/resource/qnjw-wgaj.geojson" } ] - } diff --git a/src/com/croft1/ddfgmt/controller/FileManager.java b/src/com/croft1/ddfgmt/controller/FileManager.java index b5aefca..b47c288 100644 --- a/src/com/croft1/ddfgmt/controller/FileManager.java +++ b/src/com/croft1/ddfgmt/controller/FileManager.java @@ -45,7 +45,8 @@ public boolean accept(File file, String name) { } }catch(Exception e){ e.printStackTrace(); - pr.print("No " + restEndpointsFileName + " file, please add one or remove a duplicate" + + pr.print("No " + restEndpointsFileName + " file in " + System.getProperty("user.dir") +", please add one or remove a duplicate" + + " and consult the README.md for further info", ColourInterface.ANSI_RED); } return matchingFiles[0]; //should only be one