You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@santuario.apache.org by Davanum Srinivas <di...@yahoo.com> on 2003/11/12 15:51:32 UTC
[PATCH] Use external build.properties
Team,
here's a patch that allows users to customize the properties by dropping a build.properties in
user.home or the same directory as build.xml. Also attached is a sample build.properties that
upgrades the bouncy castle jar.
-- dims
=====
Davanum Srinivas - http://webservices.apache.org/~dims/
Re: [PATCH] Use external build.properties
Posted by Berin Lautenbach <be...@ozemail.com.au>.
Dims,
Have applied in CVS. Your timing was fantastic. I was looking at the
best way to set a debug flag on javac without turning it on by default
and this works a treat. (You can now set "build.compile.debug=on" in
build.properties.)
Thanks!
Cheers,
Berin
Davanum Srinivas wrote:
> Team,
>
> here's a patch that allows users to customize the properties by dropping a build.properties in
> user.home or the same directory as build.xml. Also attached is a sample build.properties that
> upgrades the bouncy castle jar.
>
> -- dims
>
> =====
> Davanum Srinivas - http://webservices.apache.org/~dims/
>
>
> ------------------------------------------------------------------------
>
> Index: build.xml
> ===================================================================
> RCS file: /home/cvs/xml-security/build.xml,v
> retrieving revision 1.61
> diff -d -u -b -B -w -u -r1.61 build.xml
> --- build.xml 17 Sep 2003 22:34:39 -0000 1.61
> +++ build.xml 12 Nov 2003 14:44:57 -0000
> @@ -23,6 +23,11 @@
> <property name="year" value="2000-2002" />
> <property name="copyright" value="Copyright © ${year} Apache XML Project. All Rights Reserved." />
>
> + <!-- Give user a chance to override without editing this file
> + (and without typing -D each time it compiles it) -->
> + <property file="./build.properties"/>
> + <property file="${user.home}/build.properties"/>
> +
> <!--<property name="build.compiler" value="classic" />
> <property name="build.compiler" value="jikes" />-->
>