Text Trix includes build and run scripts to compile and launch the program yourself.
Requirements:
- Java Development Kit (JDK) 6 or higher (1.4 to 5 work up through Text Trix 0.9.4)
- On Windows, Cygwin is required to run the scripts
Building from source package (src):
- cd to the program root directory (eg cd /path/to/texttrix-x.y.z-src)
- Run build.sh (eg ./build.sh)
- Optionally, compile the plugins (./build.sh --plug)
- Run run.sh (eg ./run.sh)
Building from the Subversion repository (svn):
- Checkout the svn contents (eg svn checkout svn://svn.code.sf.net/p/texttrix/svn/texttrix/trunk texttrix-svn)
- cd to the texttrix trunk directory (eg cd /path/to/texttrix/texttrix/trunk)
- Run build.sh (eg ./build.sh)
- Optionally, compile the plugins (./build.sh --plug)
- Run run.sh (eg ./run.sh)
Build from svn branches:
- Enter the branch (eg cd /path/to/texttrix/texttrix/branches/jsyntax)
- To ensure proper compilation of the plugins, add the branch path arguments to build.sh (eg ./build.sh --branch="branches/jsyntax" --plgbranch="trunk" --plug, which will build the plugins from their trunk against the main Text Trix in the jsyntax branch)
Building "jsyntaxpanettx"
- Make sure to have Apache Maven install
- cd to jysntaxpanettx folder (eg cd /path/to/texttrix/jsyntaxpane/trunk)
- Run mvn package
- Copy the new JAR file without the version number (eg cp target/jsyntaxpane-0.9.6.jar ../../texttrix/trunk/lib/jsyntaxpane.jar)
Package your build in a portable folder:
- Run pkg.sh (eg ./pkg.sh)
- If compiling from an svn branch, add the branch argument (eg `./pkg.sh --branch="branches/jsyntax")
- The resulting portable package files will be located in the build directory