diff options
author | James Moger <james.moger@gitblit.com> | 2016-04-05 11:05:08 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2016-04-05 11:05:08 -0400 |
commit | 520d49f6f2fc2ae6817e1d1b72afee53ae052830 (patch) | |
tree | 26ec592cf44f66920c1945306e590011cb8fd03d /build.xml | |
parent | 9b1fe8f5946e1834ccc91be0311979fdae81e6cd (diff) | |
download | iciql-520d49f6f2fc2ae6817e1d1b72afee53ae052830.tar.gz iciql-520d49f6f2fc2ae6817e1d1b72afee53ae052830.zip |
Drop site sources from project in favor of wiki repo
Diffstat (limited to 'build.xml')
-rw-r--r-- | build.xml | 173 |
1 files changed, 0 insertions, 173 deletions
@@ -95,177 +95,4 @@ </target> - - <!-- - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - Build the iciql website - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - --> - <target name="buildSite" description="Build the iciql website"> - <!-- ensure we have performance data --> - <mx:if> - <not> - <available file="${project.outputDirectory}/performance_db.txt" /> - </not> - <then> - <fail message="Please run the "testsuite" target!"/> - </then> - </mx:if> - - <!-- Download links --> - <property name="gc.url" value="http://gitblit.github.io/iciql/maven/com/iciql/${project.artifactId}/${project.releaseVersion}/" /> - <property name="releaselog" value="${basedir}/releases.moxie" /> - - <mx:doc googleplusone="true" prettifyTheme="googlecode" minify="true" - templateDir="${project.siteSourceDirectory}/templates" - customless="custom.less" rssFeed="rss.xml" atomFeed="atom.xml"> - - <logo file="iciql_white.png" /> - <favicon file="iciql-favicon.png" /> - - <load token="%DBPERFORMANCE%" file="${project.outputDirectory}/performance_db.txt" /> - <regex searchPattern="\b(issue)(\s*[#]?|-){0,1}(\d+)\b" - replacePattern="<a href='${project.issuesUrl}/detail?id=$3'>issue $3</a>" /> - - <structure> - - <menu name="about" pager="true" pagerPlacement="bottom" pagerLayout="justified"> - <page name="overview" src="index.mkd" out="index.html" /> - <page name="performance" src="performance.mkd" out="performance.html" /> - <page name="jaqu comparison" src="jaqu_comparison.mkd" out="jaqu_comparison.html" /> - </menu> - - <menu name="getting started" pager="true" pagerPlacement="bottom" pagerLayout="justified"> - <page name="table model classes" src="model_classes.mkd" out="model_classes.html" headerLinks="true" /> - <page name="data type adapters (DTA)" src="dta.mkd" out="dta.html" headerLinks="true" /> - <page name="data access object (DAO) usage" src="dao.mkd" out="dao.html" headerLinks="true" /> - <page name="database and table versioning" src="table_versioning.mkd" out="table_versioning.html" headerLinks="true" /> - <divider /> - <page name="SQL DSL usage" src="usage.mkd" out="usage.html" headerLinks="true" /> - <page name="SQL DSL examples" src="examples.mkd" out="examples.html" headerLinks="true" /> - <page name="tools" src="tools.mkd" out="tools.html" headerLinks="true" /> - </menu> - - <page name="building" src="building.mkd" out="building.html" /> - - <page name="release notes" out="releasenotes.html"> - <template src="releasecurrent.ftl" data="${releaselog}" /> - </page> - <page out="releases.html" navbarlink="false"> - <template src="releasehistory.ftl" data="${releaselog}" /> - </page> - - <menu name="downloads"> - <link name="Maven Central (2.0.0+)" - src="http://search.maven.org/#search|ga|1|com.gitblit.iciql" /> - <divider /> - <link name="Iciql Maven Repository (pre-2.0.0)" src="${project.mavenUrl}" /> - </menu> - - <menu name="links"> - <link name="Github" src="${project.scmUrl}" /> - <link name="Issues" src="${project.issuesUrl}" /> - </menu> - <divider /> - </structure> - - <!-- Generate RSS and Atom feeds from the release history --> - <page as="atom.xml"> - <template src="atom.ftl" data="${releaselog}" /> - </page> - <page as="rss.xml"> - <template src="rss.ftl" data="${releaselog}" /> - </page> - - </mx:doc> - - <!-- Copy standard javadoc --> - <mkdir dir="${project.siteTargetDirectory}/javadoc" /> - <copy todir="${project.siteTargetDirectory}/javadoc"> - <fileset dir="${project.javadocTargetDirectory}" /> - </copy> - </target> - - - <!-- - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - Copy the built site to the gh-pages branch - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - --> - <target name="updateGhpages" depends="buildSite"> - <mx:ghpages obliterate="false" /> - </target> - - - <!-- - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - Publish site to hosting service - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - --> - <target name="publishSite" depends="updateGhpages" description="Publish the iciql site to a webserver" > - - <echo>Uploading ${project.artifactId} ${project.version} website</echo> - - <mx:ftp server="${ftp.server}" - userid="${ftp.user}" - password="${ftp.password}" - remotedir="${ftp.site.dir}" - passive="true" - verbose="yes"> - <fileset dir="${project.siteTargetDirectory}" /> - </mx:ftp> - </target> - - - <!-- - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - Tag a new version and prepare for the next development cycle. - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - --> - <target name="tagRelease" depends="prepare" description="Tags a release"> - <!-- release --> - <property name="dryrun" value="false" /> - <mx:version stage="release" dryrun="${dryrun}" /> - <property name="project.tag" value="v${project.version}" /> - <!-- commit build.moxie & releases.moxie (automatic) --> - <mx:commit showtitle="no"> - <message>Prepare ${project.version} release</message> - <tag name="${project.tag}"> - <message>${project.name} ${project.version} release</message> - </tag> - </mx:commit> - - <!-- create the release process script --> - <mx:if> - <os family="windows" /> - <then> - <!-- Windows PowerShell script --> - <!-- set-executionpolicy remotesigned --> - <property name="recipe" value="release_${project.version}.ps1" /> - </then> - <else> - <!-- Bash script --> - <property name="recipe" value="release_${project.version}.sh" /> - </else> - </mx:if> - <delete file="${recipe}" failonerror="false" quiet="true" verbose="false" /> - <!-- Work-around for lack of proper ant property substitution in copy --> - <property name="dollar" value="$"/> - <copy file="release.template" tofile="${recipe}"> - <filterset begintoken="${dollar}{" endtoken="}"> - <filter token="project.version" value="${project.version}" /> - <filter token="project.commitId" value="${project.commitId}" /> - <filter token="project.tag" value="${project.tag}" /> - </filterset> - </copy> - <chmod file="${recipe}" perm="ugo+rx" /> - - <!-- next cycle --> - <mx:version stage="snapshot" incrementNumber="minor" dryrun="${dryrun}" /> - <mx:commit showtitle="no"> - <message>Reset build identifiers for next development cycle</message> - </mx:commit> - </target> - - </project> |