source: build.properties @ c7d68c2

Last change on this file since c7d68c2 was c7d68c2, checked in by zzz <zzz@…>, 4 years ago

Require Java 7 for SAM
separate option javac.compilerargs7 for Java 7

  • Property mode set to 100644
File size: 3.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/6/docs/api/
13javaeedocs.url=http://docs.oracle.com/javaee/6/api/
14jettydocs.url=http://download.eclipse.org/jetty/stable-8/apidocs/
15jrobindocs.url=http://docs.i2p-projekt.de/jrobin/javadoc/
16wrapperdocs.url=http://wrapper.tanukisoftware.com/jdoc/
17# these are only for unit test javadocs
18i2pdocs.url=http://docs.i2p-projekt.de/javadoc/
19junitdocs.url=http://junit.org/apidocs/
20# This will go in the jar manifests
21build.built-by=unknown
22
23# filename of the sloccount report
24sloccount.report.file=sloccount.sc
25
26# Uncomment the next line to prevent "ant debian" from automatically
27# updating the changelog
28#noAutoDebchange=true
29
30# Building EXEs in x64 Linux requires that 32bit libraries are installed. In Debian,
31# for example, installing the libc6-i386 package will satisfy this requirement.
32
33# Uncomment the next line to prevent building EXEs (changing it to false will have no impact)
34#noExe=true
35
36# Change this to false if you don't have gettext or you want to prevent it from running during the build
37require.gettext=true
38
39# Compile for this version of Java
40javac.version=1.6
41
42# Additional classpath if required
43#javac.classpath=/PATH/TO/pack200.jar
44
45# Optional compiler args
46# This one is for subsystems requiring Java 6
47# This one keeps gcj a lot quieter
48#javac.compilerargs=-warn:-unchecked,raw,unused,serial
49# This one is for subsystems requiring Java 7
50#javac.compilerargs7=
51
52#
53# Note to packagers, embedders, distributors:
54#
55# Strictly speaking, you must either use the compiler for the minimum Java version you are
56# targeting (default 1.6, see above), or specify a bootclasspath, which means you need
57# the JRE for the target version installed as well.
58#
59# However, in practice, you can compile with 1.7 and target 1.6 without specifying a bootclasspath,
60# and it all works fine.
61#
62# But you cannot compile with 1.8 and target 1.6 or 1.7 without bootclasspath,
63# or your users will get runtime errors.
64# Below is an example of a bootclasspath that works on Ubuntu.
65#
66# For more info:
67#    http://zzz.i2p/topics/1668
68#    https://gist.github.com/AlainODea/1375759b8720a3f9f094
69#
70#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
71
72
73### UnitTests ##
74# Location of the libraries required for the ScalaTest tests.
75# Define this in override.properties or pass in on the command line.
76# The directory must contain the following library names:
77# mockito-all.jar
78# scala-compiler.jar
79# scala-library.jar
80# scalatest.jar
81#scalatest.libs=/PATH/TO/SCALATEST/lib
82
83# Location of the junit libraries
84# Defaults to the ant library path if not set.
85# If set, this must point to a directory that contains the file junit4.jar
86#junit.home=
87
88# Location of the hamcrest libraries
89# Defaults to the ant library path if not set
90# If set, this must point to a directory containing the files
91#       hamcrest-core.jar, hamcrest-library.jar, and hamcrest-integration.jar
92#hamcrest.home=
93
94# Optional properties used in tests to enable additional tools.
95#with.cobertura=/PATH/TO/cobertura.jar
96#with.clover=/PATH/TO/clover.jar
97
98### Bundle router infos ###
99# Set to bundle router infos from your local I2P install in the package
100#bundle.routerInfos=true
101#bundle.routerInfos.count=200
102#bundle.routerInfos.i2pConfigDir=/PATH/TO/.i2p
Note: See TracBrowser for help on using the repository browser.