From 2a7306a1d92522569a8bb6e5a7c0bcdd5cf4cfaa Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Thu, 26 May 2011 17:11:38 -0400 Subject: [PATCH] Findbugs. CodePro Audit. Checkstyle. Unit test refactoring. --- build.xml | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/build.xml b/build.xml index 7f6279f..2c8a24a 100644 --- a/build.xml +++ b/build.xml @@ -17,11 +17,11 @@ <loadfile property="gb.version" srcfile="${basedir}/src/com/gitblit/Constants.java"> <filterchain> <linecontains> - <contains value="public final static String VERSION = " /> + <contains value="public static final String VERSION = " /> </linecontains> <striplinebreaks /> <tokenfilter> - <replacestring from="public final static String VERSION = "" to="" /> + <replacestring from="public static final String VERSION = "" to="" /> <replacestring from="";" to="" /> <trim /> </tokenfilter> @@ -32,11 +32,11 @@ <loadfile property="jgit.version" srcfile="${basedir}/src/com/gitblit/Constants.java"> <filterchain> <linecontains> - <contains value="public final static String JGIT_VERSION = " /> + <contains value="public static final String JGIT_VERSION = " /> </linecontains> <striplinebreaks /> <tokenfilter> - <replacestring from="public final static String JGIT_VERSION = "" to="" /> + <replacestring from="public static final String JGIT_VERSION = "" to="" /> <replacestring from="";" to="" /> <trim /> </tokenfilter> @@ -201,5 +201,7 @@ <arg value="%JGIT%=${jgit.version}" /> </java> + <!-- Cleanup --> + <delete dir="${project.build.dir}" /> </target> </project> -- Gitblit v1.9.1