Dashboard > iBATIS DataMapper > Home > unix
Added by Nathan Maves, last edited by Chadwick on Jun 21, 2009  (view change) show comment

First things first, you will need to have subversion installed on your local machine. You can get it from the Subversion site.

Next step is to check out the latest code from the iBATIS respository.

%> svn -co http://svn.apache.org/repos/asf/ibatis/trunk

At this point you should have the entire directory structure starting with trunk in your working directory.

%> cd trunk/java/mapper/mapper2/build

You are now in the build directory. There are multiple scripts in this directory for building ibatis.

Building with Java 1.5

You will need to obtain an implementation of xalan. I would suggest downloading the version from http://xml.apache.org/xalan-j/.

Copy the xalan.jar and serializer.jar files into the trunk/java/mapper/mapper2/devlib directory.

Now just run the build.sh file:

%> ./build.sh

The default build target is 'all', but you can run different targets by passing the name to the build.sh file. For example, to run the 'clean' target, you would do this:

%> ./build.sh clean

You get the picture

Have fun!

Site running on a free Atlassian Confluence Open Source Project License granted to OSS. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.5 Build:#811 Jul 25, 2007) - Bug/feature request - Contact Administrators