| 29 | In addion two more tgz files are includes which were unpacked: |
| 30 | {{{ |
| 31 | $ tar xvzf abac-1.0.tar.gz |
| 32 | $ tar xvzf reference-cm-2.0.2a.tar.gz |
| 33 | }}} |
| 34 | |
| 35 | The abac-src/README file states: |
| 36 | {{{ |
| 37 | To build and deploy ABAC, Apache tomcat is needed. |
| 38 | Note: default tomcat location is /usr/local/tomcat5.5 |
| 39 | |
| 40 | 1. Set the JAVA_HOME environment variable |
| 41 | |
| 42 | export JAVA_HOME=/usr/local/jdk1.6.0 |
| 43 | |
| 44 | 2. Check out the sources from subversion |
| 45 | |
| 46 | svn co http://fedd.isi.deterlab.net/svn/abac-src/trunk abac-src |
| 47 | |
| 48 | 3. Build the main ABAC library |
| 49 | |
| 50 | ant compile |
| 51 | |
| 52 | 4. Build the wsdl classes and create ws-abac.jar |
| 53 | |
| 54 | ant wsdl # automatically generate classes |
| 55 | ant ws-jar # compiles wsdl classes and packages deployment jar |
| 56 | |
| 57 | Note: The wsdl target should not overwrite FeddABACBindingImpl.java and you |
| 58 | should see the following output: |
| 59 | |
| 60 | [java] FeddABACBindingImpl.java already exists, WSDL2Java will not overwrite it. |
| 61 | |
| 62 | 5. As root deploy the jar and deployment descriptor |
| 63 | |
| 64 | sudo ant deploy |
| 65 | |
| 66 | Note: server-config.wsdd appears in the directory from which |
| 67 | ant is run. This means that if you invoke ant from the wsdl directory, it will |
| 68 | deploy the jar file but not the wsdd file and the target will fail. |
| 69 | |
| 70 | |
| 71 | 6. Reload the axis webapp from a page similar to: |
| 72 | |
| 73 | https://localhost:8443/manager/html |
| 74 | |
| 75 | Click reload on the right. |
| 76 | Click the name axis (or the axis deployment directory) |
| 77 | }}} |