source: build.properties @ 558592a

Last change on this file since 558592a was 21504f15, checked in by zzz <zzz@…>, 15 months ago

Build:

  • Switch to IzPack? 5.1.3 for building releases (ticket #1864)
  • Use izpack2exe for Windows installer (ticket #2403)
  • Property mode set to 100644
File size: 7.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 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# Uncomment the next line to prevent building EXEs (changing it to false will have no impact)
34#noExe=true
35
36# IzPack 5.1.x install dir
37# Default is $HOME/IzPack
38#izpack5.home=/PATH/TO/IzPack
39
40# Change this to false if you don't have gettext or you want to prevent it from running during the build
41require.gettext=true
42
43# Compile for this version of Java
44javac.version=1.7
45
46# Additional classpath if required
47#javac.classpath=/PATH/TO/pack200.jar
48
49# Optional compiler args
50# This one keeps gcj a lot quieter
51#javac.compilerargs=-warn:-unchecked,raw,unused,serial
52
53#
54# Note to packagers, embedders, distributors:
55#
56# Strictly speaking, you must either use the compiler for the minimum Java version you are
57# targeting (default 1.7, see above), or specify a bootclasspath, which means you need
58# the JRE for the target version installed as well.
59#
60# However, in practice, you can compile with 1.7 and target 1.6 without specifying a bootclasspath,
61# and it all works fine.
62#
63# But you cannot compile with 1.8 and target 1.6 or 1.7 without bootclasspath,
64# or your users will get runtime errors.
65# Below is an example of a bootclasspath that works on Ubuntu.
66#
67# For more info:
68#    http://zzz.i2p/topics/1668
69#    https://gist.github.com/AlainODea/1375759b8720a3f9f094
70#
71# You must set both.
72#
73# For embedded use only, and for a limited time,
74# the following subsystems ONLY may be built with Java 6 by setting javac.version=1.6 in override.properties,
75# and setting javac.compilerargs to use java 6 jars:
76# core, router, ministreaming, streaming, addressbook, i2ptunnel, BOB
77# Use the buildX ant targets to build these (see build.xml).
78# We may start using Java 7 features in these subsystems at any time and without notice.
79#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
80#
81# For standard builds, set both of the following in override.properties:
82#
83#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
84#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
85
86
87### UnitTests ##
88# Uncomment the next line to enable integration tests.
89# These require a running router with I2CP available on 127.0.0.1:7654.
90#runIntegrationTests=true
91
92# Location of the libraries required for the ScalaTest tests.
93# Define this in override.properties or pass in on the command line.
94# The directory must contain the following library names:
95# scala-compiler.jar
96# scala-library.jar
97# scala-reflect.jar
98# scala-xml.jar
99# scalactic.jar
100# scalatest.jar
101# Tested using Scala 2.12.1, scala-xml 1.0.6, and ScalaTest 3.0.1
102#scalatest.libs=/PATH/TO/SCALATEST/lib
103
104# Location of the junit libraries
105# Defaults to the ant library path if not set.
106# If set, this must point to a directory that contains the file junit4.jar
107# Debian/Ubuntu: sudo apt-get install junit4
108#junit.home=/usr/share/java
109
110# Location of the hamcrest libraries
111# Defaults to the ant library path if not set
112# If set, this must point to a directory containing the files
113#       hamcrest-core.jar, hamcrest-library.jar, and hamcrest-integration.jar
114# Tested using Hamcrest 1.3
115# Debian/Ubuntu: sudo apt-get install libhamcrest-java
116#hamcrest.home=/usr/share/java
117
118# Location of the mockito libraries
119# Defaults to the ant library path if not set
120# If set, this must point to a directory containing the files
121#       mockito-core.jar, byte-buddy.jar, objenesis.jar
122# Tested using Mockito 2.5.0 which requires byte-buddy 1.5.12 and objenesis 2.4
123#mockito.home=
124
125# Optional properties used in tests to enable additional tools.
126#with.cobertura=/PATH/TO/cobertura.jar
127#with.clover=/PATH/TO/clover.jar
128
129
130### Benchmarks ##
131# Location of the JMH libraries
132# Defaults to the ant library path if not set
133# If set, this must point to a directory containing the files
134#       jmh-core.jar, jmh-generator-annprocess.jar, jopt-simple.jar, commons-math3.jar
135# Tested using JMH 1.19 which requires jopt-simple 4.6 and commons-math3 3.2
136#jmh.home=
137
138
139### Bundle router infos ###
140# Set to bundle router infos from your local I2P install in the package
141#bundle.routerInfos=true
142#bundle.routerInfos.count=200
143#bundle.routerInfos.i2pConfigDir=/PATH/TO/.i2p
144
145### Debian/Ubuntu packages ###
146# uncomment to try to make the build reproducible; work in progress
147#build.reproducible=true
148# Don't include geoip files, we will use geoip-database package
149#with-geoip-database=true
150# Don't include jetty files, we will use libjetty9-java package. Requires with-libtomcat8-java=true.
151#with-libjetty9-java=true
152# Don't include tomcat files, we will use libtomcat8-java package
153#with-libtomcat8-java=true
154# Don't include tomcat files, we will use libtomcat9-java package
155#with-libtomcat9-java=true
156# Don't include jstl.jar and standard.jar, we will use libtaglibs-standard-* packages
157#with-libtaglibs-standard=true
158# Don't include jstl.jar and standard.jar, we will use glassfish-javaee package
159#with-glassfish-javaee=true
160# Don't include standard.jar, we will use libjakarta-taglibs-standard-java package
161#with-libjakarta-taglibs-standard-java=true
162# Don't include jstl.jar, we will use libjstl1.1-java package
163#with-libjstl1.1-java=true
164# Don't compile GettextResource.java, we will use libintl.jar from the gettext-base package
165#with-gettext-base=true
166# Don't compile gnu.getopt classes, we will use libgetopt-java package
167#with-libgetopt-java=true
168# Don't bundle flags, we will use famfamfam-flag-png package
169#with-famfamfam-flag-png=true
170# Don't include json-simple library, we will use libjson-simple-java package
171#with-libjson-simple-java=true
172# Don't compile org.apache.http classes, we will use libhttpclient-java and libhttpcore-java packages
173# 2 MB of dependencies vs. 20 KB of copied source
174# Requires 4.4 or higher.
175# Debian: Not in wheezy/jessie
176# Ubuntu: Only in wily and later
177#with-libhttpclient-java=true
178
179### Redhat packages ###
180# uncomment to prevent classpaths in jar manifests
181# https://fedoraproject.org/wiki/Packaging:Java
182# without-manifest-classpath=true
Note: See TracBrowser for help on using the repository browser.