source:
webservices/net.sf.basedb.examples/trunk/README
@
1407
Last change on this file since 1407 was 1407, checked in by , 12 years ago | |
---|---|
|
|
File size: 1.5 KB |
Requirements
- Access to a BASE 3.0 server with web services
- Java 1.6 or later.
- Ant 1.6 or later.
Introduction
This package contains some simple web services examples.
Installation and use
- Unpack the tar.gz file to a directory of your choice.
- Create a 'build.properties' file and enter connection options
as key=value pairs:
- services.url The URL to the BASE web server. It should be the same URL as you use to login with the web interface with '/services' appended to it. For example: services.url=http://localhost:8080/base2/services
- services.login The username for your account on the BASE web server.
- services.password Your password for the BASE web server.
- download.dir Set this option to a valid directory path to enable download of raw data from all raw bioassays. NOTE! Be careful with this option if you have a lot of data. All files from all raw bioassays will be downloaded!
- Run
ant test
to run the example code
You may also override the connection options on the command line. Use one or
several -D
options when starting Ant (on one line):
`ant -Dservices.url=http://localhost/base/services
-Dservices.login=mylogin -Dservices.password=mypassword -Ddownload.dir=./download test`
Compiling
Type ant
to compile the code.
Type ant package
to create a download downloadable tar.gz package in the project
directory.
Note: See TracBrowser
for help on using the repository browser.