| | |
| | | documentation @ http://gitblit.github.io/moxie
|
| | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
| | | -->
|
| | | <property name="moxie.version" value="0.9.3" />
|
| | | <property name="moxie.version" value="0.9.4" />
|
| | | <property name="moxie.url" value="http://gitblit.github.io/moxie/maven" />
|
| | | <property name="moxie.jar" value="moxie-toolkit-${moxie.version}.jar" />
|
| | | <property name="moxie.dir" value="${user.home}/.moxie" />
|
| | |
| | | <fileset dir="${project.distrib.dir}/data" />
|
| | | </copy>
|
| | |
|
| | | <!-- copy gitblit.properties to the source directory.
|
| | | this file is only used for parsing setting descriptions. -->
|
| | | <copy tofile="${project.src.dir}/reference.properties" overwrite="true"
|
| | | file="${project.distrib.dir}/data/gitblit.properties" />
|
| | | <!-- copy defaults.properties to the source directory -->
|
| | | <copy tofile="${project.src.dir}/defaults.properties" overwrite="true"
|
| | | file="${project.distrib.dir}/data/defaults.properties" />
|
| | |
|
| | | <!-- copy clientapps.json to the source directory.
|
| | | this file is only used if a local file is not provided. -->
|
| | |
| | | -->
|
| | | <target name="compile" depends="setup" description="compiles Gitblit from source">
|
| | |
|
| | | <!-- Generate the Keys class from the properties file -->
|
| | | <mx:keys propertiesfile="${project.distrib.dir}/data/gitblit.properties"
|
| | | <!-- Generate the Keys class from the defaults.properties file -->
|
| | | <mx:keys propertiesfile="${project.distrib.dir}/data/defaults.properties"
|
| | | outputclass="com.gitblit.Keys"
|
| | | todir="${project.src.dir}" />
|
| | |
|
| | |
| | | </mx:webxml>
|
| | |
|
| | | <!-- Gitblit jar -->
|
| | | <mx:jar destfile="${webinf}/lib/gitblit.jar" includeresources="false" />
|
| | | <mx:jar destfile="${webinf}/lib/gitblit-${project.version}.jar" includeresources="false" />
|
| | |
|
| | | <!-- Build the WAR file -->
|
| | | <mx:zip basedir="${war.dir}" destfile="${project.targetDirectory}/${distribution.warfile}" compress="true" >
|
| | |
| | | classes, exclude any classes in classpath jars -->
|
| | | <mx:genjar tag="" includeresources="false" excludeClasspathJars="true"
|
| | | destfile="${project.targetDirectory}/fedclient.jar"
|
| | | excludes="**/.class,**/*.java, **/Thumbs.db, **/*.mkd, com/gitblit/wicket/**">
|
| | | excludes="**/.class, **/*.java, **/Thumbs.db, **/*.mkd, **/*.md, **/*.css, com/gitblit/wicket/**">
|
| | | <mainclass name="com.gitblit.FederationClient" />
|
| | | <class name="com.gitblit.Keys" />
|
| | | <launcher paths="ext" />
|
| | |
| | | <!-- generate jar by traversing the class hierarchy of the specified
|
| | | classes, exclude any classes in classpath jars -->
|
| | | <mx:genjar tag="" includeResources="false" excludeClasspathJars="true"
|
| | | destfile="${project.targetDirectory}/manager.jar">
|
| | | destfile="${project.targetDirectory}/manager.jar"
|
| | | excludes="**/.class, **/*.java, **/Thumbs.db, **/*.mkd, **/*.md, **/*.css, com/gitblit/wicket/**">
|
| | | <resource file="${project.src.dir}/com/gitblit/client/splash.png" />
|
| | | <resource file="${project.resources.dir}/gitblt-favicon.png" />
|
| | | <resource file="${project.resources.dir}/gitweb-favicon.png" />
|
| | |
| | |
|
| | | <!-- Build API Library jar -->
|
| | | <mx:genjar tag="" includeResources="false" excludeClasspathJars="true"
|
| | | destfile="${project.targetDirectory}/gbapi-${project.version}.jar">
|
| | | destfile="${project.targetDirectory}/gbapi-${project.version}.jar"
|
| | | excludes="**/.class, **/*.java, **/Thumbs.db, **/*.mkd, **/*.md, **/*.css, com/gitblit/wicket/**">
|
| | | <mainclass name="com.gitblit.client.GitblitClient" />
|
| | | <class name="com.gitblit.Keys" />
|
| | | <class name="com.gitblit.client.GitblitClient" />
|
| | | <class name="com.gitblit.models.FederationModel" />
|
| | | <class name="com.gitblit.models.FederationProposal" />
|
| | | <class name="com.gitblit.models.FederationSet" />
|
| | |
| | | <page name="bugtraq" src="setup_bugtraq.mkd" />
|
| | | <page name="mirrors" src="setup_mirrors.mkd" />
|
| | | <page name="scaling" src="setup_scaling.mkd" />
|
| | | <page name="fail2ban" src="setup_fail2ban.mkd" />
|
| | | <page name="filestore (Git LFS)" src="setup_filestore.mkd" />
|
| | | <divider />
|
| | | <page name="Gitblit as a viewer" src="setup_viewer.mkd" />
|
| | | </menu>
|
| | |
| | | <page name="release history" out="releases.html">
|
| | | <template src="releasehistory.ftl" data="${releaselog}" />
|
| | | </page>
|
| | | <divider />
|
| | | <page name="roadmap" src="roadmap.mkd" /> |
| | | </menu>
|
| | |
|
| | | <menu name="downloads">
|
| | |
| | | <link name="Github" src="${project.scmUrl}" />
|
| | | <link name="Issues" src="${project.issuesUrl}" />
|
| | | <link name="Discussion" src="${project.forumUrl}" />
|
| | | <link name="Google+" src="${project.socialNetworkUrl}" />
|
| | | <link name="Twitter" src="https://twitter.com/gitblit" />
|
| | | <link name="Ohloh" src="http://www.ohloh.net/p/gitblit" />
|
| | | <divider />
|
| | | <link name="Gitblit Tickets screencast" src="https://vimeo.com/86164723" />
|
| | | <link name="Gitblit SSH and Plugin Management asciicast" src="https://asciinema.org/a/9342" />
|
| | | <link name="GitMinutes #29: James Moger on Gitblit" src="http://episodes.gitminutes.com/2014/05/gitminutes-29-james-moger-on-gitblit.html" />
|
| | | <divider />
|
| | | <link name="+JamesMoger" src="https://plus.google.com/+JamesMoger" />
|
| | | <link name="@JamesMoger" src="https://twitter.com/JamesMoger" />
|
| | | </menu>
|
| | | <divider />
|
| | |
| | |
|
| | | <replace token="%GCURL%" value="${gc.url}" />
|
| | |
|
| | | <properties token="%PROPERTIES%" file="${project.distrib.dir}/data/gitblit.properties" />
|
| | | <properties token="%PROPERTIES%" file="${project.distrib.dir}/data/defaults.properties" />
|
| | |
|
| | | <regex searchPattern="\b(issue)(\s*[#]?|-){0,1}(\d+)\b" replacePattern="<a href='http://code.google.com/p/gitblit/issues/detail?id=$3'>issue $3</a>" />
|
| | | <regex searchPattern="\b(pr|pull request)(\s*[#]?|-){0,1}(\d+)\b" replacePattern="<a href='https://github.com/gitblit/gitblit/pull/$3'>pull request #$3</a>" />
|
| | |
| | | <link name="Github" src="${project.scmUrl}" />
|
| | | <link name="Issues" src="${project.issuesUrl}" />
|
| | | <link name="Discussion" src="${project.forumUrl}" />
|
| | | <link name="Google+" src="${project.socialNetworkUrl}" />
|
| | | <link name="Ohloh" src="http://www.ohloh.net/p/gitblit" />
|
| | | </menu>
|
| | | </structure>
|
| | |
|
| | | <properties token="%PROPERTIES%" file="${project.distrib.dir}/data/gitblit.properties" />
|
| | | <properties token="%PROPERTIES%" file="${project.distrib.dir}/data/defaults.properties" />
|
| | |
|
| | | <regex searchPattern="\b(issue)(\s*[#]?|-){0,1}(\d+)\b" replacePattern="<a href='http://code.google.com/p/gitblit/issues/detail?id=$3'>issue $3</a>" />
|
| | | <regex searchPattern="\b(pr|pull request)(\s*[#]?|-){0,1}(\d+)\b" replacePattern="<a href='https://github.com/gitblit/gitblit/pull/$3'>pull request #$3</a>" />
|
| | |
| | | <fileset dir="${project.distrib.dir}/data">
|
| | | <include name="users.conf" />
|
| | | <include name="projects.conf" />
|
| | | <include name="defaults.properties" />
|
| | | <include name="gitblit.properties" />
|
| | | </fileset>
|
| | | </copy>
|
| | |
| | | <mx:install />
|
| | | </target>
|
| | |
|
| | | |
| | | <!--
|
| | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
| | | Build Gitblit UI via npm
|
| | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| | | -->
|
| | | <target name="buildUI" description="Build Gitblit UI via npm">
|
| | | <exec executable="npm" dir="src/main/js/" failonerror="true" vmlauncher="false" searchpath="true" >
|
| | | <arg value="install" />
|
| | | </exec>
|
| | | |
| | | <exec executable="npm" dir="src/main/js/" failonerror="true" vmlauncher="false" searchpath="true" >
|
| | | <arg value="run" />
|
| | | <arg value="build" />
|
| | | </exec>
|
| | | </target>
|
| | | |
| | | </project>
|