All of the source code for Sysiphus and its related libraries is in Subversion. You can directly browse the repository. To check out the code you need to download svn or one of this alternativ SVN clients
Instructions on Subversion use can be found at http://svnbook.red-bean.com.
This is a list of alternative svn clients:
| Name | Link | Description |
| SVN for Mac OSX | http://www.codingmonkeys.de/mbo/ | Command client for OSX |
| TortoiseSVN | http://tortoisesvn.tigris.org/ | Graphical Client for Windows |
| Subclipse | http://subclipse.tigris.org/update_1.0.x | Plugin for Eclipse |
Sysiphus consists of several components. To check out a single component, for example RAT, run the command:
svn co http://wwwbruegge.in.tum.de/repos/sysiphus/trunk/rat rat
To check out the hole Sysiphus project with all components, run the command:
svn co http://wwwbruegge.in.tum.de/repos/sysiphus/trunk sysiphus
See this list containing the links to the repositories of all components:
| Commons | Repository: http://wwwbruegge.in.tum.de/repos/sysiphus/trunk/commons | |
| Elementstore Admin | Repository: http://wwwbruegge.in.tum.de/repos/sysiphus/trunk/es | |
| Elementstore Server | Repository: http://wwwbruegge.in.tum.de/repos/sysiphus/trunk/esadmin | |
| Model Layer | Repository: http://wwwbruegge.in.tum.de/repos/sysiphus/trunk/model | |
| RAT | Repository: http://wwwbruegge.in.tum.de/repos/sysiphus/trunk/rat | |
| REQest | Repository: http://wwwbruegge.in.tum.de/repos/sysiphus/trunk/req | |
| Entire Sysiphus | Repository: http://wwwbruegge.in.tum.de/repos/sysiphus/trunk |
This Section describes how to compile the sources using the command line.
Sysiphus uses Maven for dependency management. You need to download and install Maven.
To compile a component run the command mvn with the selected target in the directory of the specific component. For example if you want to build the RAT application, change in the rat directory and run the command:
:~ wolft$ cd rat/ :~/rat wolft$ mvn assembly:directory
| Target | Description |
| assembly:directory | compiles the component, creates a jar file and creates the application structure |
| assembly:assembly | compiles the component, creates a jar file and the application structure and packs the application into a zip and tar |
| compile | compiles the component |
| package | compiles the component and creates a package (jar or war) |
| install | compiles the component, creates a jar file and installs it to your local maven repository |
| run | runs the component |
| clean | cleans the target directories |
To simplify development, we created ANT scripts to build and run the components of Sysiphus. ANT is supported and integrated in the main IDEs.
To compile a component run the command ant with the selected target in the directory of the specific component. For example if you want to compile RAT run the command:
:~/rat wolft$ ant compile
Important Note: You should run mvn install on all Sysiphus projects you are using at least once to make Maven retrieve all neccessary Jars before you run the Ant scripts for the first time. The Ant scripts will only use but not update the Maven library repository.
| Target | Description |
| compile | compiles the component |
| package | compiles the component and creates a package (jar or war) |
| assembly | compiles the component, creates a jar file and creates the application structure |
| install | compiles the component, creates a jar file and installs it to your local maven repository |
| run | runs the component |
| clean | cleans the target directories |
To build a component, use the Ant View of Eclipse to run the build.xml in the root directory of the component you want to build. See ANT-Targets for a list of the avaiable targets.