|
Compile
Instructions for building Wosaic from source
Contents
Supported PlatformsBecause Wosaic is built using Java, it should run wherever Java does, including all flavors of Microsoft Windows, Mac OS X, and Linux. However for completeness, it has been tested on the following platforms:
If you've built successfully on another platform, please post to the mailing-list with your results. Supported CompilersWosaic is built and tested using Sun's implementation of Java 5.0 and 6.0, but should be forwards-compatible with future versions of Java as well. The project has not been tested with non-Sun compilers. You can find the JDK for your platform at Sun's website here: To test your java version, issue the following command:
If you've built successfully on another compiler, please post to the mailing-list with your results. Obtaining Source CodeThe Wosaic project uses subversion for source control. To obtain the latest version of the source code, issue the command: svn checkout http://wosaic.googlecode.com/svn/trunk/ wosaic Note: The trunk version of the source code represents the latest, and possibly unstable, development. Release versions will be posted at: Or from subversion, in the directory: http://wosaic.googlecode.com/svn/tags/current-releaseDependenciesBecause Wosic is written in Java, it depends on a current version of the JRE to build a run. Wosaic is tested using Sun's implementation of the JRE, which can be obtained at: Wosaic also depends on the following external libraries, which are distributed with the binary releases, as well as in the ./libs directory of the source code:
Make sure you include these libraries in your CLASSPATH when building and running. The installer that binary distributions are bundled in uses the IzPack libraries. It is also distributed with the source in the installer/lib directory. Section 5: Building with AntAnt is a tool distributed by Apache for building Java projects. It's described on the website as:
Building Wosaic from Ant is probably the most straightfoward process, and is the most supported. You can obtain ant from the Apache Ant website here: Similar to 'Makefile's used with make, and uses the 'build.xml' file in the root directory of the source distribute. To build, simply open a terminal to the source directory, and issue the command:
By default, Ant will compile, package in an executable jar, and build an installer for the binaries. For finer-grain control, you can use any of the following Ant targets:
Also note that each of the targets will first build any dependencies that it needs. To use one of these targets, simply issue the command:
To clean out your working directory, you can use the command:
And to run the generated Wosaic project, use the command:
If you have YourKit profile installed, you can profile with :
Building from EclipseEclipse is a cross-platform IDE for many different programming langues, although it has its roots in Java. Using Eclipse, you have the benefit of syntax highlighting, a grahical debugger, and even subversion integration. You can download Eclipse from their website here: Also, to use subversion from within Eclipse, follow the instructions here: Once you have Eclipse and Subclipse setup, use the following instructions to obtain and build Wosaic:
At this point, Eclipse should build the projects automatically without any errors. If you are having problems, you may need to reconfigure your Eclipse environment. Double-check the settings inside "Edit, Preferences". Building from Other IDEsThere are many other useful IDEs for Java development, such as NetBeans. Although untested, Wosaic should have no trouble building inside them. However, because other IDEs haven't been tested, we cannot write documentation for them. If you have build Wosaic using NetBeans or another IDE, please please post to the mailing-list with your results. More InformationFor specific questions or to contact the developers directly, please use the Google Groups mailing-list, which is found at: |
Sign in to add a comment