summaryrefslogtreecommitdiff
path: root/net-p2p/freenet/files/build.properties
blob: 21fecf30c8030e9f71b7f20ae3b46ae6eae800cd (plain)
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
##
# Properties you can set to affect the build process.
#
# This file contains default values that are checked-in to version control.
#
# End users should not edit this file to set machine-specific properties;
# instead, create a new file called override.properties and set them there.
#

################################################################################
## build files/directories

main.src=src
main.make=build/main
main.dst=dist

test.src=test
test.make=build/test
test.dst=run

doc.src=doc
doc.dst=javadoc
doc.api=javadoc

################################################################################
## external dependencies

# dir for common library jars
lib.dir = lib

# dir for freenet library jars (aka freenet-ext or "contrib" jars)
lib.contrib.dir = lib/freenet
## if you use the git submodule in ./contrib (legacy-27 branch)
## by running `git submodule init && git submodule update`
## contrib.ant is needed for the old legacy layout
#lib.contrib.dir = contrib/freenet_ext
#contrib.ant = ${lib.contrib.dir}/build.xml
## if you clone the contrib package separately (master branch)
#lib.contrib.dir = ../contrib/freenet-ext/dist

# dir that freenet library jars will be installed to, relative to freenet.jar
lib.contrib.dir.rel = freenet

# jars from ${lib.dir} to use
bc.jar = bcprov-jdk15on-154.jar
lib.jars = ${bc.jar}
#lib.jars = wrapper.jar db-je.jar bdb-je.jar commons-compress.jar

# jars from ${lib.dir} to use, for tests
libtest.jars = junit4.jar hamcrest-core.jar

# jars from ${lib.contrib.dir} to use
lib.contrib.jars = freenet-ext.jar bitcollider-core.jar db4o.jar lzmajio.jar mantissa.jar \
 wrapper.jar db-je.jar bdb-je.jar commons-compress.jar

# jars from ${lib.dir} to use, for compiling GWT javascript
gjs.lib.jars = null
#gjs.lib.jars = gwt-dev-linux.jar gwt-dev-windows.jar gwt-dev.jar gwt-user.jar \
# commons-collections3.jar ant.jar eclipse-ecj.jar

findbugs.dir = findbugs
findbugs.path = ${findbugs.dir}/lib/findbugs-ant.jar

pmd.dir =
################################################################################
## build tool options

# Javac
javac.args=-Xlint -Xlint:-deprecation

# Test properties
test.skip=false
test.verbose=false
test.benchmark=false
test.extensive=false
test.xml_output=true
test.haltonfailure=yes

# select a single test to run
#test.class=

# Build javadoc
doc.skip=false

# Run findbugs
findbugs.skip=false
pmd.skip=false
cpd.skip=false

################################################################################
## misc options

# Hack around property expansion not featured in ant <= 1.7.1
# see http://ant.apache.org/manual/properties.html#if+unless
true=true