source: build.properties @ 370d2555

Last change on this file since 370d2555 was 370d2555, checked in by zzz <zzz@…>, 6 years ago

Notes and logging re: compiling with Java 8

  • Property mode set to 100644
File size: 3.4 KB
RevLine 
[255ccdc]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!
[5673a65]12javasedocs.url=http://docs.oracle.com/javase/6/docs/api/
[667393e]13javaeedocs.url=http://docs.oracle.com/javaee/6/api/
[f59ea79]14jettydocs.url=http://download.eclipse.org/jetty/stable-7/apidocs/
[255ccdc]15jrobindocs.url=http://docs.i2p-projekt.de/jrobin/javadoc/
16wrapperdocs.url=http://wrapper.tanukisoftware.com/jdoc/
[482a63c]17# these are only for unit test javadocs
18i2pdocs.url=http://docs.i2p-projekt.de/javadoc/
19junitdocs.url=http://junit.org/apidocs/
[cadedeb0]20# This will go in the jar manifests
[3eb00c5]21build.built-by=unknown
[e4257f2]22
[7fd59c4]23# filename of the sloccount report
24sloccount.report.file=sloccount.sc
25
[3396626a]26# Uncomment the next line to prevent "ant debian" from automatically
27# updating the changelog
28#noAutoDebchange=true
29
[f9ff90eb]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)
[224405d7]34#noExe=true
[aba655a]35
[41af00a]36# Change this to false if you don't have gettext or you want to prevent it from running during the build
[aba655a]37require.gettext=true
38
[c679091]39# Compile for this version of Java
40javac.version=1.6
41
[aba655a]42# Additional classpath if required
[a41936af]43#javac.classpath=/PATH/TO/pack200.jar
[aba655a]44
45# Optional compiler args
46# This one keeps gcj a lot quieter
47#javac.compilerargs=-warn:-unchecked,raw,unused,serial
[cb75e3d]48
[370d2555]49#
50# Note to packagers, embedders, distributors:
51#
52# Strictly speaking, you must either use the compiler for the minimum Java version you are
53# targeting (default 1.6, see above), or specify a bootclasspath, which means you need
54# the JRE for the target version installed as well.
55#
56# However, in practice, you can compile with 1.7 and target 1.6 without specifying a bootclasspath,
57# and it all works fine.
58#
59# But you cannot compile with 1.8 and target 1.6 or 1.7 without bootclasspath,
60# or your users will get runtime errors.
61# Below is an example of a bootclasspath that works on Ubuntu.
62#
63# For more info:
64#    http://zzz.i2p/topics/1668
65#    https://gist.github.com/AlainODea/1375759b8720a3f9f094
66#
67#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
68
69
[9d77cd7]70### UnitTests ##
[cb75e3d]71# Location of the libraries required for the ScalaTest tests.
72# Define this in override.properties or pass in on the command line.
73# The directory must contain the following library names:
74# mockito-all.jar
75# scala-compiler.jar
76# scala-library.jar
77# scalatest.jar
78#scalatest.libs=/PATH/TO/SCALATEST/lib
79
[9d77cd7]80# Location of the junit libraries
81# Defaults to the ant library path if not set.
[3eb00c5]82# If set, this must point to a directory that contains the file junit4.jar
[9d77cd7]83#junit.home=
84
85# Location of the hamcrest libraries
86# Defaults to the ant library path if not set
87# If set, this must point to a directory containing the files
88#       hamcrest-core.jar, hamcrest-library.jar, and hamcrest-integration.jar
89#hamcrest.home=
90
[cb75e3d]91# Optional properties used in tests to enable additional tools.
92#with.cobertura=/PATH/TO/cobertura.jar
93#with.clover=/PATH/TO/clover.jar
Note: See TracBrowser for help on using the repository browser.