source: webservices/net.sf.basedb.examples/trunk/README @ 651

Last change on this file since 651 was 651, checked in by Nicklas Nordborg, 15 years ago

References #106: Move the example web services code from the BASE server

Initial checkin of the code

File size: 1.4 KB
Line 
1== Requirements ==
2
3 1. Access to a BASE server with web services
4 2. Java 1.6 or later.
5 3. Ant 1.6 or later.
6
7== Introduction ==
8
9This package contains some simple web services examples.
10
11== Installation and use ==
12
13 1. Unpack the tar.gz file to a directory of your choice.
14 2. Modify 'build.xml' and enter connection options:
15    * services.url
16      The URL to the BASE web server. It should be the same URL as you use to login
17      with the web interface with '/services' appended to it. For example:
18      http://localhost:8080/base2/services
19    * services.login
20      The username for your account on the BASE web server.
21    * services.password
22      Your password for the BASE web server.
23    * download.dir
24      Set this option to a valid directory path to enable download of raw data from
25      all raw bioassays. NOTE! Be careful with this option if you have a lot of data.
26      All files from all raw bioassay will be downloaded!
27  3. Run `ant test` to run the example code
28   
29You may also override the connection options on the command line. Use one or
30several `-D` options when starting Ant (on one line):
31
32`ant -Dservices.url=http://localhost/base/services
33 -Dservices.login=mylogin -Dservices.password=mypassword
34 -Ddownload.dir=.`
35
36== Compiling ==
37
38Type `ant` to compile the code.
39
40Type `ant package` to create a download downloadable tar.gz package in the project
41    directory.
42
43
Note: See TracBrowser for help on using the repository browser.