
Compiling X-SmilesGeneralX-Smiles can be compiled with any jdk 1.1 - 1.3 compatible java compiler (*). The development team has succesfully used javac 1.1-1.3 from Sun and jikes 1.2 from IBM. You can either pull down the developement tree from the CVS or download and unpack both the bin and src packages to the same directory. Go to the src directory and execute either build.bat or build.sh depending on your platform. Build.sh can also be used in Windows with the CYGWIN package. We use the 'ant' build system from the Apache's Jakarta project. The following ant build targets are supported: X-Smiles Build instructions
-------------------------------------------------------------
available targets are:
compile --> compiles the source code
compile-debug --> compiles the source code with debug
compile-jdk11 --> compiles the source code for jdk11
docbook --> generates the docbook documentation.
run --> run x-smiles
jar --> generates the jar file
jar-ipaq --> generates jar file optimized for iPaq
jar-smil --> generates the SMIL jar file
jar-teletext --> generates the Teletext browser jar file
jar-jxta --> generates the Jaxta MLFC + libs jar file
javadoc --> generates the API documentation (needs Java 1.2 or higher)
pack-demo --> generates the demo distributions (zip)
pack-src --> generates the source/doc distributions (zip)
pack-bin --> generates the binary distributions (zip)
pack-installer --> generates the installer exe on windows
pack-all --> generates the binary, demo and source distributions
clean --> cleans up all generated files and directories
run-tests --> compiles and runs all the tests
run-tests-html --> compiles and runs all the tests and generates html summary
usage --> provides help on using the build tool (default)
See comments inside the build.xml file for more details.
-------------------------------------------------------------
(*) The SVG MLFC cannot be compiled with java 1.1. Eclipse SDK
Forte 3.0 - Sun One Forte 4.0It is possible to build X-Smiles using Forte. Follow these steps:
WindowsTBD: There is a script 'build.bat' in the bin directory of the X-Smiles installation. You must have the environment variable JAVA_HOME set to point to your jdk home directory. Use 'build.bat usage' to view the possible build targets. For example 'build jar' will compile the whole source code and build the xsmiles.jar file. Any Java IDE could also be used to compile X-Smiles. LinuxAs with windows, with the exception that the ant start script is called 'build.sh'. Sending patchesYou are encouraged to send patches to the developers list. See this document for information on how to create patches. Problems ?Please see the FAQ for common problems and solutions. Copyright (c) 2000-2008 X-Smiles.org et.al. |