diff options
author | James Moger <james.moger@gitblit.com> | 2012-11-23 10:38:38 -0500 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2012-11-23 10:38:38 -0500 |
commit | d8a0f1e6e9d2420be31200cf0554336e84eec843 (patch) | |
tree | 7c7d94756c8d0accbdce55217a58269494440d24 /build.xml | |
parent | b423580c552ff2c2d47829b0e1632a77958fec68 (diff) | |
download | gitblit-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.xml | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -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>
|