| 1 | This README is for building rapla from source. You will find more information on our |
|---|
| 2 | documentation pages on |
|---|
| 3 | |
|---|
| 4 | http://rapla.sourceforge.net/documentation.html |
|---|
| 5 | |
|---|
| 6 | 1. Get the source: |
|---|
| 7 | |
|---|
| 8 | To get the Source-Distribution download it from |
|---|
| 9 | rapla.sourceforge.net/download |
|---|
| 10 | |
|---|
| 11 | If you want to checkout the latest developmant version read the |
|---|
| 12 | faq-entry on rapla.sourceforge.net. |
|---|
| 13 | |
|---|
| 14 | |
|---|
| 15 | 2. Build Rapla: |
|---|
| 16 | |
|---|
| 17 | We use the ant tool for our build process. Ant is the java-equivalent to make |
|---|
| 18 | Look at jakarta.apache.org/ant for more information. If you don't want |
|---|
| 19 | to use Ant read the FAQS on rapla.sourceforge.net for alternative building. |
|---|
| 20 | |
|---|
| 21 | |
|---|
| 22 | Use the following batch files to start the ant.jar included with |
|---|
| 23 | the rapla source distribution. |
|---|
| 24 | |
|---|
| 25 | build.sh (Linux/Unix) |
|---|
| 26 | build.bat (Win) |
|---|
| 27 | call build (win NT/2000) |
|---|
| 28 | |
|---|
| 29 | |
|---|
| 30 | Calling build with no arguments will create a Binary-Distribution |
|---|
| 31 | in the sub-folder dist. There you will find the scripts to start rapla. (SEE INSTALL.txt) |
|---|
| 32 | |
|---|
| 33 | |
|---|
| 34 | You can call build with different arguments, e.g.: |
|---|
| 35 | |
|---|
| 36 | choose-target Executes the target specified in build.properties. |
|---|
| 37 | (default) Default target is dist-bin. |
|---|
| 38 | |
|---|
| 39 | dist-bin Creates a new Binary-Distribution in the folder dist. |
|---|
| 40 | build Builds a new rapla.jar in the build sub-folder |
|---|
| 41 | run Creates a new Binary-Distribution and runs it. |
|---|
| 42 | clean Deletes the build sub-folder |
|---|
| 43 | clean-dist Deletes the dist sub-folder |
|---|
| 44 | javadocs create the Javadoc in the build sub-folder |
|---|
| 45 | webapp Build a special distribution for Applet or Webstart deployment (see 3) |
|---|
| 46 | |
|---|
| 47 | Pass the target as a parameter to ant |
|---|
| 48 | e.g. build.sh dist-bin |
|---|
| 49 | |
|---|
| 50 | For a complete list of all targets use the -projecthelp option |
|---|