TuxGuitar was separated into multiple projects (The main application, and a list of official plugins). This allow us to have a better compatibility with allmost JVMs, without depends if the JVM implements or not some libraries (e.g: if your JVM don’t implements Java Sound Api, so you can run tuxguitar without tuxguitar-jsa plugin ). Another advantage is that anyone can write plugins for tuxguitar even after a version was released.
The source package contains all project folders, but you don’t should try build all plugins for your Operating System. There are some plugins what have native libraries, so they aren’t multi-platform.

This is the ANT configuration file. It contains standart targets to build, package, and clean the sources. All of this targets will call to another target of a child file if “dist.file” property exists.

Ofcourse you may want to build the main application and some plugins together.
To do that, the best option is by running ANT target by target.NOTE: You can run ANT from the source root folder by adding the -f argument pointing to the build.xml file.

1: The first what you need, is build tuxguitar classes ( required by plugins ) but without package it ...

~$ ant -f TuxGuitar/build.xml build

2: Now you can build any plugin (assuming build.properties plugin file is pointing to TuxGuitar/build/ folder) and copy it to the TuxGuitar plugins folder
We can take TuxGuitar-compat plugin as example: