forked from I2P_Developers/i2p.i2p
Allow some variables to be changed by end-users during build by use of a
properties file.
This commit is contained in:
@@ -23,3 +23,4 @@ _jsp\.java$
|
|||||||
/build/
|
/build/
|
||||||
/classes/
|
/classes/
|
||||||
^debian/copyright
|
^debian/copyright
|
||||||
|
override.properties
|
||||||
|
15
build.properties
Normal file
15
build.properties
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
# 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://download.oracle.com/javase/6/docs/api/
|
||||||
|
jettydocs.url=http://docs.i2p2.de/jetty/javadoc/
|
||||||
|
jrobindocs.url=http://docs.i2p-projekt.de/jrobin/javadoc/
|
||||||
|
wrapperdocs.url=http://wrapper.tanukisoftware.com/jdoc/
|
11
build.xml
11
build.xml
@@ -15,6 +15,9 @@
|
|||||||
|
|
||||||
<!-- change this to false if you don't have gettext -->
|
<!-- change this to false if you don't have gettext -->
|
||||||
<property name="require.gettext" value="true" />
|
<property name="require.gettext" value="true" />
|
||||||
|
<!-- Include property files so that values can be easily overridden. Currently just useful for javadoc hosters -->
|
||||||
|
<property file="override.properties"/>
|
||||||
|
<property file="build.properties"/>
|
||||||
|
|
||||||
<!-- You probably don't want to change anything from here down -->
|
<!-- You probably don't want to change anything from here down -->
|
||||||
<target name="help" depends="all" />
|
<target name="help" depends="all" />
|
||||||
@@ -386,10 +389,10 @@
|
|||||||
<pathelement location="installer/lib/wrapper/all/wrapper.jar" />
|
<pathelement location="installer/lib/wrapper/all/wrapper.jar" />
|
||||||
<pathelement location="core/lib/junit.jar" />
|
<pathelement location="core/lib/junit.jar" />
|
||||||
</classpath>
|
</classpath>
|
||||||
<link offline="true" href="http://download.oracle.com/javase/6/docs/api/" packagelistLoc="installer/resources/package-lists/java/" />
|
<link offline="true" href="${javasedocs.url}" packagelistLoc="installer/resources/package-lists/java/" />
|
||||||
<link offline="true" href="http://docs.i2p2.de/jetty/javadoc/" packagelistLoc="installer/resources/package-lists/jetty/" />
|
<link offline="true" href="${jettydocs.url}" packagelistLoc="installer/resources/package-lists/jetty/" />
|
||||||
<link offline="true" href="http://docs.i2p-projekt.de/jrobin/javadoc/" packagelistLoc="installer/resources/package-lists/jrobin/" />
|
<link offline="true" href="${jrobindocs.url}" packagelistLoc="installer/resources/package-lists/jrobin/" />
|
||||||
<link offline="true" href="http://wrapper.tanukisoftware.com/jdoc/" packagelistLoc="installer/resources/package-lists/wrapper/" />
|
<link offline="true" href="${wrapperdocs.url}" packagelistLoc="installer/resources/package-lists/wrapper/" />
|
||||||
</javadoc>
|
</javadoc>
|
||||||
<echo message="Warning, javadoc embeds timestamps in the output, run with 'TZ=UTC ant javadoc' if you plan to distribute" />
|
<echo message="Warning, javadoc embeds timestamps in the output, run with 'TZ=UTC ant javadoc' if you plan to distribute" />
|
||||||
</target>
|
</target>
|
||||||
|
Reference in New Issue
Block a user