Note that the setup script only installs the Python client as there is no standard place to install jar files.
The setup script makes use of the pip program. Recent versions of the pip program will, if you don't run as root, install to a local area. Typically you will want to install for everyone so you should normally run the script as root. Please follow the generic installation instructions If you have problems then try running pip install *.whl from the unpacked distribution directory.
For full functionality you need an icat.server version 4.8.0 or greater. The restful clients will work with earlier releases of the icat.server except that individual calls will fail if not supported by the server. The SOAP interface will work with icat.server 4.7.0 and 4.8.0
If the server is secure then the following, after possibly produce a warning message about an unverified https request, will print a version string for the server:
echo 'import icat;print icat.ICAT("https://<hostname>:8181", False).getVersion()' | python
If insecure then the following should produce the version string.
echo 'import icat;print icat.ICAT("http://<hostname>:8080").getVersion()' pythonIn case of problems look in the server.log and the icat.log in the logs directory of your icat server.
There are two files that should be made available to those wishing to use the ICAT client:
It is expected that most people will express their dependency upon the icat.client by means of a maven pom file. To do this the user needs to define the repository and express the dependency as indicated in the snippet below:
<repositories>