summaryrefslogtreecommitdiffstats
path: root/build.xml
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2012-11-23 10:38:38 -0500
committerJames Moger <james.moger@gitblit.com>2012-11-23 10:38:38 -0500
commitd8a0f1e6e9d2420be31200cf0554336e84eec843 (patch)
tree7c7d94756c8d0accbdce55217a58269494440d24 /build.xml
parentb423580c552ff2c2d47829b0e1632a77958fec68 (diff)
downloadgitblit-d8a0f1e6e9d2420be31200cf0554336e84eec843.tar.gz
gitblit-d8a0f1e6e9d2420be31200cf0554336e84eec843.zip
Revised Gitblit GO certificate generation to use new X509 utility functions
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml18
1 files changed, 18 insertions, 0 deletions
diff --git a/build.xml b/build.xml
index 33b47d18..4e735195 100644
--- a/build.xml
+++ b/build.xml
@@ -111,6 +111,14 @@
<include name="users.conf" />
</fileset>
</copy>
+
+ <!-- copy required distribution files to project folder -->
+ <mkdir dir="${basedir}/certs" />
+ <copy todir="${basedir}/certs" overwrite="false">
+ <fileset dir="${basedir}/distrib">
+ <include name="authority.conf" />
+ </fileset>
+ </copy>
<!-- copy gitblit.properties to the WEB-INF folder.
this file is only used for parsing setting descriptions. -->
@@ -174,10 +182,20 @@
<include name="**/*" />
<exclude name="federation.properties" />
<exclude name="openshift.mkd" />
+ <exclude name="authority.conf" />
</fileset>
<fileset dir="${basedir}">
<include name="LICENSE" />
<include name="NOTICE" />
+ <include name="authority*.jar" />
+ </fileset>
+ </copy>
+
+ <!-- Certificate templates -->
+ <mkdir dir="${project.deploy.dir}/certs"/>
+ <copy todir="${project.deploy.dir}/certs">
+ <fileset dir="${basedir}/distrib">
+ <include name="authority.conf" />
</fileset>
</copy>