| | |
| | | <project name="gitblit" default="compile" basedir=".">
|
| | |
|
| | | <!-- Google Code upload task -->
|
| | | <taskdef classname="net.bluecow.googlecode.ant.GoogleCodeUploadTask" classpath="${basedir}/tools/ant-googlecode-0.0.3.jar" name="gcupload"/>
|
| | | <taskdef classname="net.bluecow.googlecode.ant.GoogleCodeUploadTask" |
| | | classpath="${basedir}/tools/ant-googlecode-0.0.3.jar" name="gcupload"/>
|
| | |
|
| | | <!-- Project Properties -->
|
| | | <property name="project.jar" value="gitblit.jar" />
|
| | |
| | | <arg value="--substitute" />
|
| | | <arg value="%JGIT%=${jgit.version}" />
|
| | |
|
| | | <arg value="--load" />
|
| | | <arg value="--properties" />
|
| | | <arg value="%PROPERTIES%=${basedir}/distrib/gitblit.properties" />
|
| | |
|
| | | <arg value="--nomarkdown" />
|
| | | <arg value="%BEGINCODE%:%ENDCODE%" />
|
| | |
|
| | | <arg value="--substitute" />
|
| | | <arg value=""%BEGINCODE%=<pre class='prettyprint lang-java'>"" />
|
| | |
|
| | | <arg value="--substitute" />
|
| | | <arg value="%ENDCODE%=</pre>" />
|
| | | |
| | | <arg value="--regex" />
|
| | | <arg value=""\b(issue)(\s*[#]?|-){0,1}(\d+)\b!!!<a href='http://code.google.com/p/gitblit/issues/detail?id=$3'>issue $3</a>"" />
|
| | | |
| | | </java>
|
| | | </target>
|
| | |
|
| | |
| | | </fileset>
|
| | | </copy>
|
| | |
|
| | | <!-- Copy google-code-prettify -->
|
| | | <mkdir dir="${basedir}/src/com/gitblit/wicket/pages/prettify" />
|
| | | <copy todir="${project.site.dir}/prettify">
|
| | | <fileset dir="${basedir}/src/com/gitblit/wicket/pages/prettify">
|
| | | <exclude name="thumbs.db" />
|
| | | </fileset>
|
| | | </copy>
|
| | |
|
| | | <!-- Generate thumbnails of screenshots -->
|
| | | <java classpath="${project.build.dir}" classname="com.gitblit.build.BuildThumbnails">
|
| | | <classpath refid="master-classpath" />
|
| | |
| | |
|
| | | <arg value="--properties" />
|
| | | <arg value="%PROPERTIES%=${basedir}/distrib/gitblit.properties" />
|
| | | |
| | | <arg value="--nomarkdown" />
|
| | | <arg value="%BEGINCODE%:%ENDCODE%" />
|
| | |
|
| | | <arg value="--substitute" />
|
| | | <arg value=""%BEGINCODE%=<pre class='prettyprint lang-java'>"" />
|
| | |
|
| | | <arg value="--substitute" />
|
| | | <arg value="%ENDCODE%=</pre>" />
|
| | |
|
| | | <arg value="--regex" />
|
| | | <arg value=""\b(issue)(\s*[#]?|-){0,1}(\d+)\b!!!<a href='http://code.google.com/p/gitblit/issues/detail?id=$3'>issue $3</a>"" />
|
| | |
|
| | | </java>
|
| | | </target>
|