~ubuntu-branches/debian/wheezy/jing-trang/wheezy

« back to all changes in this revision

Viewing changes to readme.txt

  • Committer: Bazaar Package Importer
  • Author(s): Samuel Thibault
  • Date: 2009-09-01 15:53:03 UTC
  • Revision ID: james.westby@ubuntu.com-20090901155303-2kweef05h5v9j3ni
Tags: upstream-20090818
ImportĀ upstreamĀ versionĀ 20090818

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
After checking out from the repository, here's how to build.
 
2
 
 
3
1. Ensure you have the a suitable version of the JDK installed: either
 
4
JDK 5.0 or 6 should work.  The JDK can be downloaded from
 
5
<http://java.sun.com/javase/downloads/>.
 
6
 
 
7
All other dependencies are included in the repository.
 
8
 
 
9
2. Set the JAVA_HOME environment variable to point to the directory
 
10
where the JDK is installed. For example, on Linux do something like
 
11
 
 
12
  export JAVA_HOME=/opt/jdk1.6.0_10
 
13
 
 
14
and, on Windows, do something like
 
15
 
 
16
  set JAVA_HOME=c:\Program Files\Java\jdk1.6.0_10
 
17
 
 
18
3. Change your working directory to be root source directory (i.e. the
 
19
directory containing this file).
 
20
 
 
21
4. Run the ant script included in the repository. On Linux, use the
 
22
command
 
23
 
 
24
  ./ant
 
25
 
 
26
On Windows, use
 
27
 
 
28
  .\ant
 
29
 
 
30
This runs the version of ant included in the repository.  When the ant
 
31
script completes, you should find jing.jar and trang.jar in the build
 
32
directory.
 
33
 
 
34
You can also tell ant to build the test target, which will build the
 
35
jars and then run some tests. On Linux,
 
36
 
 
37
 use the command
 
38
 
 
39
  ./ant test
 
40
 
 
41
On Windows, use
 
42
 
 
43
  .\ant test