Menu

Building Text Trix

David Young

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):

  1. cd to the program root directory (eg cd /path/to/texttrix-x.y.z-src)
  2. Run build.sh (eg ./build.sh)
  3. Optionally, compile the plugins (./build.sh --plug)
  4. Run run.sh (eg ./run.sh)

Building from the Subversion repository (svn):

  1. Checkout the svn contents (eg svn checkout svn://svn.code.sf.net/p/texttrix/svn/texttrix/trunk texttrix-svn)
  2. cd to the texttrix trunk directory (eg cd /path/to/texttrix/texttrix/trunk)
  3. Run build.sh (eg ./build.sh)
  4. Optionally, compile the plugins (./build.sh --plug)
  5. Run run.sh (eg ./run.sh)

Build from svn branches:

  1. Enter the branch (eg cd /path/to/texttrix/texttrix/branches/jsyntax)
  2. 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"

  1. Make sure to have Apache Maven install
  2. cd to jysntaxpanettx folder (eg cd /path/to/texttrix/jsyntaxpane/trunk)
  3. Run mvn package
  4. 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:

  1. Run pkg.sh (eg ./pkg.sh)
  2. If compiling from an svn branch, add the branch argument (eg `./pkg.sh --branch="branches/jsyntax")
  3. The resulting portable package files will be located in the build directory

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.