blob: 60e7a58b6737f48be0a35ddb4f6044137e32f28a [file] [log] [blame]
The Android Open Source Projectf6fe8972009-03-03 19:29:29 -08001
2REQUIREMENTS
3~~~~~~~~~~~~
4
5- JDK1.4 (the build will not work in JDK1.5)
6- Apache ANT 1.5+ (official build uses v1.6.1)
7
8BUILDING EMMA
9~~~~~~~~~~~~~
10
11- cd into the directory containing build.xml and create a file
12 "build.properties" that tells the build where your JDK and ANT are located:
13
14 - if Java 1.4 is not your currently installed Java version, set the
15 following property to point to the "jre" subdirectory of your JDK 1.4
16 install:
17
18build.target.j2se.14.home = <JDK 1.4 install>/jre
19
20 - if you don't have ANT_HOME environment variable set up to point to ANT
21 1.5 home directory, set the following property:
22
23build.target.ant.15.home = <ANT 1.5 install dir>
24
25- From the directory containing build.xml, execute:
26
27>ant
28
29- After a successful build, EMMA jars will be located in
30 ${basedir}/${dist.dir}, which defaults to ./dist
31
32
33- To remove all generated build artifacts and reset the build to a clean
34 state, execute:
35
36>ant clean
37
38 __________________________________________________________________________
39 Copyright (C) 2003-2004 Vlad Roubtsov. All rights reserved.
40
41 This program and the accompanying materials are made available under
42 the terms of the Common Public License v1.0 which accompanies this
43 distribution, and is available at http://www.eclipse.org/legal/cpl-v10.html