Install Mercurial (hg: 1.4.x or higher) and Maven (mvn command: 3.x or higher), then checkout the source code from the repository https://code.google.com/p/utgb/ hosted at the google code.
$ hg clone https://code.google.com/p/utgb utgb
$ cd utgb
$ make clean install
The utgb toolkit will be installed your $HOME/.utgb/bin folder. Add this path to your PATH environment variable:
export PATH=$HOME/.utgb/bin;$PATH
$ utgb
UTGB Shell: version 1.5.8-SNAPSHOT
type --help for a list of the available sub commands.
To use a stable release version of UTGB,
$ cd utgb
# commit changes you made to the source code
$ hg add ...
$ hg commit ...
# Retrieve the code of a release version
$ hg update -C -r utgb-toolkit-1.5.7
$ make clean install
Use the latest version of Eclipse, which is already bundled with a Maven plugin.
Import - Existing Maven Project - select the utgb folder checked out above
To continuously develop web action codes or web pages in your UTGB project, use polling option of utgb server:
$ utgb server -P
which updates the running server when your source code is modified.
Add the following configuration to your $HOME/.hgrc file. This is necessary to push your changes to the code to the google code repository.
[auth]
gc.prefix = https://code.google.com
gc.username = (your google account name)
gc.password = xxxx
Run UTGB with the following JVM_OPT:
JVM_OPT="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005" utgb server -g -l debug
Then, launch a remote debug application in Eclipse, listening port 5005.
In the utgb source folder, type:
> mvn site:run
if you have an installation of Maven in your PC, or
> utgb maven site:run
if you have an utgb-shell installed.
Then, open http://localhost:8080/ to see this documentation on your local machine. Updates to files src/site/aqua/**/*.aqua will be reflected after reloading the page in your browser (Ctrl+r). If you have to add some files to the page (image, attachments, etc.), put these files to the src/site/resources folder. Your need to restart the server to make these files visible from the localhost:8080. To stop the Jetty server, press Ctrl+C, and then rerun the site:run command.
Updates to these wiki document files will be checked when you pushed the updates to the google code repository. The web site http://utgenome.org/ will be automatically updated by Jenkins, a continuous integration server (http://utgenome.org/jenkins ).
http://www.xerial.org/ [http://www.xerial.org/ hyper link with a page name] [Index] wiki link = Heading1 == Heading2 === Heading3 * item1 ** item2 *** item3
The above wiki text will be displayed as follows:
{b|bold text} bold text
{i|italic text} italic text
[clip/tooth.gif]
<code> std:cout << "Hello World!" << std:endl; </code>
std:cout << "Hello World!" << std:endl;
<html> <font color="blue">This is HTML message.</font> </html>
This is HTML message.
@title("Top Page")