source: build.properties @ 9f7ec39

Last change on this file since 9f7ec39 was a3a17a4f, checked in by zzz <zzz@…>, 3 years ago

Debian: Replace glassfish-javaee with libtaglibs-standard-* (ticket #2093)
Only for stretch and later, zesty and later
Copy more files for previous stretch setup to xenial

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