I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
build.properties 6.32 KiB
Newer Older
  • Learn to ignore specific revisions
  • # These properties can be set to alter the build process.
    #
    # This file contains default values that are used by official I2P installers.
    #
    # End-users *should not* edit this file. If you want to change the values, make a
    # copy, call it override.properties, and make the desired changes to that.
    
    ################################################################################
    
    # Javadocs
    # Note: Include the trailing slash! Don't surround the URL in quotes!
    
    javasedocs.url=http://docs.oracle.com/javase/7/docs/api/
    javaeedocs.url=http://docs.oracle.com/javaee/7/api/
    
    zzz's avatar
    zzz committed
    # The following link is dead, perhaps temporarily,
    # perhaps not, as they move 7 and 8 to unsupported status.
    #jettydocs.url=http://download.eclipse.org/jetty/stable-8/apidocs/
    
    jettydocs.url=http://download.eclipse.org/jetty/9.2.21.v20170120/apidocs/
    
    wrapperdocs.url=http://wrapper.tanukisoftware.com/jdoc/
    
    zzz's avatar
    zzz committed
    # these are only for unit test javadocs
    i2pdocs.url=http://docs.i2p-projekt.de/javadoc/
    junitdocs.url=http://junit.org/apidocs/
    
    # This will go in the jar manifests
    
    kytv's avatar
    kytv committed
    
    
    # filename of the sloccount report
    sloccount.report.file=sloccount.sc
    
    
    kytv's avatar
    kytv committed
    # Uncomment the next line to prevent "ant debian" from automatically
    # updating the changelog
    #noAutoDebchange=true
    
    
    kytv's avatar
    kytv committed
    # Building EXEs in x64 Linux requires that 32bit libraries are installed. In Debian,
    # for example, installing the libc6-i386 package will satisfy this requirement.
    
    # Uncomment the next line to prevent building EXEs (changing it to false will have no impact)
    
    kytv's avatar
    kytv committed
    #noExe=true
    
    # Change this to false if you don't have gettext or you want to prevent it from running during the build
    
    zzz's avatar
    zzz committed
    # Compile for this version of Java
    
    javac.version=1.7
    
    zzz's avatar
    zzz committed
    
    
    # Additional classpath if required
    
    zzz's avatar
    zzz committed
    #javac.classpath=/PATH/TO/pack200.jar
    
    
    # Optional compiler args
    # This one keeps gcj a lot quieter
    #javac.compilerargs=-warn:-unchecked,raw,unused,serial
    
    #
    # Note to packagers, embedders, distributors:
    #
    # Strictly speaking, you must either use the compiler for the minimum Java version you are
    
    # targeting (default 1.7, see above), or specify a bootclasspath, which means you need
    
    # the JRE for the target version installed as well.
    #
    # However, in practice, you can compile with 1.7 and target 1.6 without specifying a bootclasspath,
    # and it all works fine.
    #
    # But you cannot compile with 1.8 and target 1.6 or 1.7 without bootclasspath,
    # or your users will get runtime errors.
    # Below is an example of a bootclasspath that works on Ubuntu.
    #
    # For more info:
    #    http://zzz.i2p/topics/1668
    #    https://gist.github.com/AlainODea/1375759b8720a3f9f094
    #
    
    # You must set both.
    #
    # For embedded use only, and for a limited time,
    # the following subsystems ONLY may be built with Java 6 by setting javac.version=1.6 in override.properties,
    # and setting javac.compilerargs to use java 6 jars:
    # core, router, ministreaming, streaming, addressbook, i2ptunnel, BOB
    # Use the buildX ant targets to build these (see build.xml).
    # We may start using Java 7 features in these subsystems at any time and without notice.
    
    #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
    
    #
    # For standard builds, set both of the following in override.properties:
    #
    #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
    #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
    
    # Uncomment the next line to enable integration tests.
    # These require a running router with I2CP available on 127.0.0.1:7654.
    #runIntegrationTests=true
    
    
    # Location of the libraries required for the ScalaTest tests.
    # Define this in override.properties or pass in on the command line.
    # The directory must contain the following library names:
    # scala-compiler.jar
    # scala-library.jar
    
    # scala-reflect.jar
    # scala-xml.jar
    # scalactic.jar
    
    # Tested using Scala 2.12.1, scala-xml 1.0.6, and ScalaTest 3.0.1
    
    #scalatest.libs=/PATH/TO/SCALATEST/lib
    
    
    # Location of the junit libraries
    # Defaults to the ant library path if not set.
    
    # If set, this must point to a directory that contains the file junit4.jar
    
    zzz's avatar
    zzz committed
    # Debian/Ubuntu: sudo apt-get install junit4
    #junit.home=/usr/share/java
    
    
    # Location of the hamcrest libraries
    # Defaults to the ant library path if not set
    # If set, this must point to a directory containing the files
    #       hamcrest-core.jar, hamcrest-library.jar, and hamcrest-integration.jar
    
    # Tested using Hamcrest 1.3
    
    zzz's avatar
    zzz committed
    # Debian/Ubuntu: sudo apt-get install libhamcrest-java
    #hamcrest.home=/usr/share/java
    
    str4d's avatar
    str4d committed
    # Location of the mockito libraries
    # Defaults to the ant library path if not set
    # If set, this must point to a directory containing the files
    #       mockito-core.jar, byte-buddy.jar, objenesis.jar
    
    # Tested using Mockito 2.5.0 which requires byte-buddy 1.5.12 and objenesis 2.4
    
    str4d's avatar
    str4d committed
    #mockito.home=
    
    
    # Optional properties used in tests to enable additional tools.
    #with.cobertura=/PATH/TO/cobertura.jar
    #with.clover=/PATH/TO/clover.jar
    
    
    ### Bundle router infos ###
    # Set to bundle router infos from your local I2P install in the package
    #bundle.routerInfos=true
    #bundle.routerInfos.count=200
    #bundle.routerInfos.i2pConfigDir=/PATH/TO/.i2p
    
    zzz's avatar
    zzz committed
    
    ### Debian/Ubuntu packages ###
    # Don't include geoip files, we will use geoip-database package
    #with-geoip-database=true
    
    # Don't include jetty files, we will use libjetty9-java package. Requires with-libtomcat8-java=true.
    
    zzz's avatar
    zzz committed
    #with-libjetty9-java=true
    
    # Don't include tomcat files, we will use libtomcat8-java package
    #with-libtomcat8-java=true
    
    # Don't include jstl.jar and standard.jar, we will use glassfish-javaee package
    #with-glassfish-javaee=true
    
    zzz's avatar
    zzz committed
    # Don't include standard.jar, we will use libjakarta-taglibs-standard-java package
    #with-libjakarta-taglibs-standard-java=true
    # Don't include jstl.jar, we will use libjstl1.1-java package
    #with-libjstl1.1-java=true
    
    # Don't compile GettextResource.java, we will use libintl.jar from the gettext-base package
    #with-gettext-base=true
    
    # Don't compile gnu.getopt classes, we will use libgetopt-java package
    
    #with-libgetopt-java=true
    
    # Don't compile org.apache.http classes, we will use libhttpclient-java and libhttpcore-java packages
    
    # 2 MB of dependencies vs. 20 KB of copied source
    # Requires 4.4 or higher.
    # Debian: Not in wheezy/jessie
    # Ubuntu: Only in wily and later
    
    #with-libhttpclient-java=true