File: BUILDING.txt

package info (click to toggle)
htrace 4.2%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,044 kB
  • sloc: javascript: 14,041; ansic: 8,526; java: 7,980; xml: 1,544; sh: 252; cpp: 208; python: 37; makefile: 8
file content (30 lines) | stat: -rw-r--r-- 832 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Building HTrace
===============

Building HTrace requires

* Java 1.7 at least.
* Apache Maven 3.x
* Go programming language, version 1.4 or higher (for htrace-htraced)
* The development package for leveldb (for htrace-htraced)

Note that at the moment, only Maven 3.0.4 should be used to create HTrace
releases - see [HTRACE-236](https://issues.apache.org/jira/browse/HTRACE-236)
(Support building release artifacts with Maven versions other than 3.0.4) for
details.

After installing dependencies, to build, run:

   $ mvn install

To build a tarball, do:

   $ mvn clean install -DskipTests assembly:single -Pdist

This will build a tarball into ./target.

To skip the rat-check -- it can take a while -- pass
a -Drat.skip on the  mvn command-line.


See htrace-htraced/BUILDING.txt for more information to build htrace-htraced.