Takuan Installation Script

Takuan can be built manually from source, but it takes some effort, as it has many dependencies and components. This Bash shell script automates the process.

To use it, download it to any directory and run it like this:

bash install.sh takuan

If you want to install a specific version of Takuan, use the install.sh script from the correct release branch:

install.sh scripts from the release branches can be simply run like this:

bash install.sh

When root privileges are needed, the script will automatically try to escalate its privileges through sudo. For this reason, it might ask for the current user's password a few times. After it's done, you should log out and back in, in order to reload your ~/.profile file.

The script will fetch everything that it needs from SVN and other sources. It can also be used to update or reinstall some components: just run it again and answer "y" when asked. It installs the Takuan servlet in the installed Tomcat instance, along with ActiveBPEL, but it doesn't install the NetBeans plugin. You will have to do that manually.

The script has been tested on the Ubuntu 9.10 and openSUSE 11.0 GNU/Linux distributions. Please tell us if you run into any problems.

If you're running Ubuntu 9.04 or 8.10, you will need to install the Sun Java 6 JDK before running the script:

  sudo aptitude install sun-java6-jdk
  sudo update-java-alternatives -s java-6-sun