summaryrefslogtreecommitdiffstats
path: root/build.xml
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2011-05-26 17:11:38 -0400
committerJames Moger <james.moger@gitblit.com>2011-05-26 17:11:38 -0400
commit2a7306a1d92522569a8bb6e5a7c0bcdd5cf4cfaa (patch)
treeb9bc648068b0af5cbbbc3e2e0ad707e0c59d4db2 /build.xml
parentf13c4c5a35a18d8478b276cc44570bbc3398aa73 (diff)
downloadgitblit-2a7306a1d92522569a8bb6e5a7c0bcdd5cf4cfaa.tar.gz
gitblit-2a7306a1d92522569a8bb6e5a7c0bcdd5cf4cfaa.zip
Findbugs. CodePro Audit. Checkstyle. Unit test refactoring.
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml10
1 files changed, 6 insertions, 4 deletions
diff --git a/build.xml b/build.xml
index 7f6279f1..2c8a24ae 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 = &quot;" to="" />
+ <replacestring from="public static final String VERSION = &quot;" to="" />
<replacestring from="&quot;;" 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 = &quot;" to="" />
+ <replacestring from="public static final String JGIT_VERSION = &quot;" to="" />
<replacestring from="&quot;;" to="" />
<trim />
</tokenfilter>
@@ -201,5 +201,7 @@
<arg value="%JGIT%=${jgit.version}" />
</java>
+ <!-- Cleanup -->
+ <delete dir="${project.build.dir}" />
</target>
</project>