[18239] | 1 | 1. Metadata Analysis Tool (Java application)
|
---|
| 2 |
|
---|
| 3 | 1-1 Please select "local Collection Analysis" and press the "Analyse" button.
|
---|
| 4 |
|
---|
| 5 | 1-2 Select a collection you want to analyse it.
|
---|
| 6 |
|
---|
| 7 | If there is no collection available, please use GLI to create a collection and try this function again.
|
---|
| 8 |
|
---|
| 9 |
|
---|
| 10 | 2. Metadata Analysis Tool (web service)
|
---|
| 11 | Root is the location of Greenstone folder.
|
---|
| 12 | ex: Windows: C:\Program files\Greenstone
|
---|
| 13 | ex: Linux: /home/Greenstone
|
---|
| 14 |
|
---|
| 15 |
|
---|
| 16 | 2-1 Please rename the root/ext/mat/web-mat.xml to web.xml and copy it to the root/web/WEB-INF folder.
|
---|
| 17 | You might want to backup the original web.xml.
|
---|
| 18 |
|
---|
| 19 | 2-2 Copy the gsdl3_extension folder (path: root/ext/mat/build/classes/org/greenstone/gsdl3_extension) to
|
---|
| 20 | greenstone folder (path: root/web/WEB-INF/classes/org/greenstone)
|
---|
| 21 |
|
---|
| 22 | Now, the path should be root/web/WEB-INF/classes/org/greenstone/gsdl3_extension/mat/servlet
|
---|
| 23 |
|
---|
| 24 | Inside the servlet folder, you will see many class files.
|
---|
| 25 |
|
---|
| 26 | 2-3 Please run the command "ant deploy-localsite" in the console.
|
---|
| 27 |
|
---|
| 28 | 2-4 Then, you can start the server and use the web service.
|
---|
| 29 |
|
---|
| 30 | The web service is available at http://localhost:8080/greenstone3/mat.
|
---|
| 31 | Please make sure that there is no slash at the end of this URL.
|
---|
| 32 | ex: http://localhost:8080/greenstone3/mat/ is incorrect and you will not be able to access the service.
|
---|
| 33 |
|
---|
| 34 | Notice: If you use any proxy servers, please open the properties.xml and enter the property settings.
|
---|
| 35 |
|
---|
| 36 | Troubleshooting
|
---|
| 37 |
|
---|
| 38 | 1. Why my web service cannot analyse the OAI repository ( Message: GDBM could not be open)?
|
---|
| 39 | Please use the GLI to create a sample collection and make sure that the Greenstone can build it correctly.
|
---|
| 40 | If the Greenstone cannot build the collection correctly. Please report the error to http://www.greenstone.org/.
|
---|
| 41 |
|
---|
| 42 | 2. My computer cannot recognise the "Ant" command?
|
---|
| 43 | You will need to setup the ant path and run the command in the greenstone root folder.
|
---|
| 44 |
|
---|
| 45 |
|
---|
| 46 |
|
---|