Page History
...
- Create a deployment project directory with the command
R -e "library(RWebServices); unpackAntScript('/path/to')"
Visit theRWebServicesEnv.properties
andRWebServicesTuning.properties
files in this directory to ensure suitable configuration. - In the directory created above, execute the following commands to unpack and compile the package
ant map-package –Dpkg=<package> -DcaGridProj=/path/to
ant unpack-package –Dpkg=<package>
ant precompile
Combine several packages into a single service with a comma-separated list of packages in place of a single <package> name. - To use data types or methods of the package, build the jar for the package and copy it into the lib directory of a cagrid web service module with an ant command combined with:
–Dpkg=xxx –DcaGridProj=xxx:
ant cagrid-build –Dpkg=<package> -DcaGridProj=/path/to/cagrid_webservice
Go to cagrid web service module directory
ant deployTomcat
to deploy cagrid web service to Tomcat server. - Go to Tomcat server and restart Tomcat.