source: build.properties @ 3c735ea

Last change on this file since 3c735ea was 91007735, checked in by str4d <str4d@…>, 4 years ago

Update tests to use ScalaTest? 3.0.1

  • Property mode set to 100644
File size: 6.3 KB
Line 
1# These properties can be set to alter the build process.
2#
3# This file contains default values that are used by official I2P installers.
4#
5# End-users *should not* edit this file. If you want to change the values, make a
6# copy, call it override.properties, and make the desired changes to that.
7
8################################################################################
9
10# Javadocs
11# Note: Include the trailing slash! Don't surround the URL in quotes!
12javasedocs.url=http://docs.oracle.com/javase/7/docs/api/
13javaeedocs.url=http://docs.oracle.com/javaee/7/api/
14# The following link is dead, perhaps temporarily,
15# perhaps not, as they move 7 and 8 to unsupported status.
16#jettydocs.url=http://download.eclipse.org/jetty/stable-8/apidocs/
17jettydocs.url=http://download.eclipse.org/jetty/8.1.17.v20150415/apidocs/
18wrapperdocs.url=http://wrapper.tanukisoftware.com/jdoc/
19# these are only for unit test javadocs
20i2pdocs.url=http://docs.i2p-projekt.de/javadoc/
21junitdocs.url=http://junit.org/apidocs/
22# This will go in the jar manifests
23build.built-by=unknown
24
25# filename of the sloccount report
26sloccount.report.file=sloccount.sc
27
28# Uncomment the next line to prevent "ant debian" from automatically
29# updating the changelog
30#noAutoDebchange=true
31
32# Building EXEs in x64 Linux requires that 32bit libraries are installed. In Debian,
33# for example, installing the libc6-i386 package will satisfy this requirement.
34
35# Uncomment the next line to prevent building EXEs (changing it to false will have no impact)
36#noExe=true
37
38# Change this to false if you don't have gettext or you want to prevent it from running during the build
39require.gettext=true
40
41# Compile for this version of Java
42javac.version=1.7
43
44# Additional classpath if required
45#javac.classpath=/PATH/TO/pack200.jar
46
47# Optional compiler args
48# This one keeps gcj a lot quieter
49#javac.compilerargs=-warn:-unchecked,raw,unused,serial
50
51#
52# Note to packagers, embedders, distributors:
53#
54# Strictly speaking, you must either use the compiler for the minimum Java version you are
55# targeting (default 1.7, see above), or specify a bootclasspath, which means you need
56# the JRE for the target version installed as well.
57#
58# However, in practice, you can compile with 1.7 and target 1.6 without specifying a bootclasspath,
59# and it all works fine.
60#
61# But you cannot compile with 1.8 and target 1.6 or 1.7 without bootclasspath,
62# or your users will get runtime errors.
63# Below is an example of a bootclasspath that works on Ubuntu.
64#
65# For more info:
66#    http://zzz.i2p/topics/1668
67#    https://gist.github.com/AlainODea/1375759b8720a3f9f094
68#
69# You must set both.
70#
71# For embedded use only, and for a limited time,
72# the following subsystems ONLY may be built with Java 6 by setting javac.version=1.6 in override.properties,
73# and setting javac.compilerargs to use java 6 jars:
74# core, router, ministreaming, streaming, addressbook, i2ptunnel, BOB
75# Use the buildX ant targets to build these (see build.xml).
76# We may start using Java 7 features in these subsystems at any time and without notice.
77#javac.compilerargs=-bootclasspath /usr/lib/jvm/java-6-openjdk-amd64/jre/lib/rt.jar:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/jce.jar
78#
79# For standard builds, set both of the following in override.properties:
80#
81#javac.compilerargs=-bootclasspath /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/rt.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/jce.jar
82#javac.compilerargs7=-bootclasspath /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/rt.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/jce.jar
83
84
85### UnitTests ##
86# Uncomment the next line to enable integration tests.
87# These require a running router with I2CP available on 127.0.0.1:7654.
88#runIntegrationTests=true
89
90# Location of the libraries required for the ScalaTest tests.
91# Define this in override.properties or pass in on the command line.
92# The directory must contain the following library names:
93# scala-compiler.jar
94# scala-library.jar
95# scala-reflect.jar
96# scala-xml.jar
97# scalactic.jar
98# scalatest.jar
99# Tested using Scala 2.12.1, scala-xml 1.0.6, and ScalaTest 3.0.1
100#scalatest.libs=/PATH/TO/SCALATEST/lib
101
102# Location of the junit libraries
103# Defaults to the ant library path if not set.
104# If set, this must point to a directory that contains the file junit4.jar
105#junit.home=
106
107# Location of the hamcrest libraries
108# Defaults to the ant library path if not set
109# If set, this must point to a directory containing the files
110#       hamcrest-core.jar, hamcrest-library.jar, and hamcrest-integration.jar
111# Tested using Hamcrest 1.3
112#hamcrest.home=
113
114# Location of the mockito libraries
115# Defaults to the ant library path if not set
116# If set, this must point to a directory containing the files
117#       mockito-core.jar, byte-buddy.jar, objenesis.jar
118# Tested using Mockito 2.5.0 which requires byte-buddy 1.5.12 and objenesis 2.4
119#mockito.home=
120
121# Optional properties used in tests to enable additional tools.
122#with.cobertura=/PATH/TO/cobertura.jar
123#with.clover=/PATH/TO/clover.jar
124
125### Bundle router infos ###
126# Set to bundle router infos from your local I2P install in the package
127#bundle.routerInfos=true
128#bundle.routerInfos.count=200
129#bundle.routerInfos.i2pConfigDir=/PATH/TO/.i2p
130
131### Debian/Ubuntu packages ###
132# Don't include geoip files, we will use geoip-database package
133#with-geoip-database=true
134# Don't include jetty files, we will use libjetty8-java package
135#with-libjetty8-java=true
136# Don't include tomcat files, we will use libtomcat6-java package
137#with-libtomcat6-java=true
138# Don't include tomcat files, we will use libtomcat7-java package
139#with-libtomcat7-java=true
140# Don't include tomcat files, we will use libtomcat8-java package
141#with-libtomcat8-java=true
142# Don't include jstl.jar and standard.jar, we will use glassfish-javaee package
143#with-glassfish-javaee=true
144# Don't include standard.jar, we will use libjakarta-taglibs-standard-java package
145#with-libjakarta-taglibs-standard-java=true
146# Don't include jstl.jar, we will use libjstl1.1-java package
147#with-libjstl1.1-java=true
148# Don't compile GettextResource.java, we will use libintl.jar from the gettext-base package
149#with-gettext-base=true
150# Don't compile gnu.getopt classes, we will use libgetopt-java package
151#with-libgetopt-java=true
152# Don't compile org.apache.http classes, we will use libhttpclient-java and libhttpcore-java packages
153# 2 MB of dependencies vs. 20 KB of copied source
154# Requires 4.4 or higher.
155# Debian: Not in wheezy/jessie
156# Ubuntu: Only in wily and later
157#with-libhttpclient-java=true
Note: See TracBrowser for help on using the repository browser.