<!--\r
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r
Retrieve Moxie Toolkit\r
- \r
+\r
documentation @ http://gitblit.github.io/moxie\r
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r
-->\r
- <property name="moxie.version" value="0.7.2" />\r
+ <property name="moxie.version" value="0.7.3" />\r
<property name="moxie.url" value="http://gitblit.github.io/moxie/maven" />\r
<property name="moxie.jar" value="moxie-toolkit-${moxie.version}.jar" />\r
<property name="moxie.dir" value="${user.home}/.moxie" />\r
- \r
+\r
<!-- Download Moxie from it's Maven repository to user.home -->\r
<mkdir dir="${moxie.dir}" />\r
<get src="${moxie.url}/org/moxie/moxie-toolkit/${moxie.version}/${moxie.jar}"\r
dest="${moxie.dir}" skipexisting="true" verbose="true" />\r
- \r
+\r
<!-- Register Moxie tasks -->\r
<taskdef uri="antlib:org.moxie">\r
<classpath location="${moxie.dir}/${moxie.jar}" />\r
</taskdef>\r
\r
- \r
+\r
<!--\r
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r
Initialize Moxie and setup build properties\r
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r
-->\r
<target name="prepare" description="Retrieves dependencies and sets up build properties">\r
- \r
- <mx:init />\r
+\r
+ <mx:init mxroot="${moxie.dir}" />\r
\r
</target>\r
\r
\r
</target>\r
\r
- \r
+\r
<!--\r
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r
Compile\r
<mx:run scope="test" classname="com.iciql.test.IciqlSuite">\r
<arg value="--dbFile" />\r
<arg value="${project.outputDirectory}/performance_db.txt" />\r
- \r
+\r
<arg value="--sqlFile" />\r
<arg value="${project.outputDirectory}/performance_sql.txt" />\r
</mx:run>\r
</target>\r
\r
- \r
+\r
<!--\r
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r
Build\r
\r
<!-- Package the jar, javadoc, sources, and zip distribution -->\r
<mx:package />\r
- \r
- <!-- Deploy the artifacts into the version-controlled repository --> \r
+\r
+ <!-- Deploy the artifacts into the version-controlled repository -->\r
<mx:deploy basedir="${basedir}/maven" allowSnapshots="false" />\r
\r
</target>\r
- \r
+\r
\r
<!--\r
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r
-->\r
<target name="uploadArtifacts" depends="build">\r
- \r
- <mx:gcupload \r
- username="${googlecode.user}" \r
- password="${googlecode.password}" \r
- projectname="iciql" \r
- filename="${project.targetDirectory}/${project.artifactId}-${project.version}.zip" \r
+\r
+ <mx:gcupload\r
+ username="${googlecode.user}"\r
+ password="${googlecode.password}"\r
+ projectname="iciql"\r
+ filename="${project.targetDirectory}/${project.artifactId}-${project.version}.zip"\r
targetfilename="${project.artifactId}-${project.version}.zip"\r
summary="Version ${project.version} -- library, sources, and javadoc"\r
labels="Featured, Type-Package, OpSys-All" />\r
- \r
+\r
<mx:ftp server="${ftp.server}" userid="${ftp.user}" password="${ftp.password}"\r
remotedir="${ftp.maven.dir}" verbose="yes" depends="yes" timediffauto="true"\r
preservelastmodified="true">\r
</fileset>\r
</mx:ftp>\r
</target>\r
- \r
- \r
- <!-- \r
+\r
+\r
+ <!--\r
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r
Build the iciql website\r
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r
<fail message="Please run the "testsuite" target!"/>\r
</then>\r
</mx:if>\r
- \r
+\r
<!-- Download links -->\r
<property name="gc.url" value="http://code.google.com/p/iciql/downloads/detail?name=" />\r
<property name="releaselog" value="${basedir}/releases.moxie" />\r
- \r
- <mx:doc googleplusone="true" prettifyTheme="googlecode" minify="true" \r
+\r
+ <mx:doc googleplusone="true" prettifyTheme="googlecode" minify="true"\r
templateDir="${project.siteSourceDirectory}/templates"\r
customless="custom.less" rssFeed="rss.xml" atomFeed="atom.xml">\r
\r
replacePattern="<a href='${project.issuesUrl}/detail?id=$3'>issue $3</a>" />\r
\r
<structure>\r
- \r
+\r
<menu name="about" pager="true" pagerPlacement="bottom" pagerLayout="justified">\r
<page name="overview" src="index.mkd" out="index.html" />\r
<page name="performance" src="performance.mkd" out="performance.html" />\r
<page name="jaqu comparison" src="jaqu_comparison.mkd" out="jaqu_comparison.html" />\r
</menu>\r
- \r
+\r
<menu name="getting started" pager="true" pagerPlacement="bottom" pagerLayout="justified">\r
<page name="models" src="model_classes.mkd" out="model_classes.html" headerLinks="true" />\r
<page name="versioning" src="table_versioning.mkd" out="table_versioning.html" headerLinks="true" />\r
<page name="examples" src="examples.mkd" out="examples.html" headerLinks="true" />\r
<page name="tools" src="tools.mkd" out="tools.html" headerLinks="true" />\r
</menu>\r
- \r
+\r
<page name="building" src="building.mkd" out="building.html" />\r
<page name="javadoc" src="javadoc.mkd" out="javadoc.html" />\r
\r
<page out="releases.html" navbarlink="false">\r
<template src="releasehistory.ftl" data="${releaselog}" />\r
</page>\r
- \r
+\r
<menu name="downloads">\r
<link name="${project.artifactId}-${project.releaseVersion}"\r
src="${gc.url}${project.artifactId}-${project.releaseVersion}.zip" />\r
<divider />\r
<link name="Maven Repository" src="${project.mavenUrl}" />\r
</menu>\r
- \r
+\r
<menu name="links">\r
<link name="Github" src="${project.scmUrl}" />\r
<link name="Issues" src="${project.issuesUrl}" />\r
</menu>\r
<divider />\r
</structure>\r
- \r
+\r
<!-- Generate RSS and Atom feeds from the release history -->\r
<page as="atom.xml">\r
<template src="atom.ftl" data="${releaselog}" />\r
<page as="rss.xml">\r
<template src="rss.ftl" data="${releaselog}" />\r
</page>\r
- \r
+\r
</mx:doc>\r
- \r
+\r
<!-- Copy standard javadoc -->\r
<mkdir dir="${project.siteTargetDirectory}/javadoc" />\r
<copy todir="${project.siteTargetDirectory}/javadoc">\r
\r
\r
<!--\r
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ \r
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r
Copy the built site to the gh-pages branch\r
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ \r
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r
-->\r
<target name="updateGhpages" depends="buildSite">\r
<mx:ghpages obliterate="false" />\r
</target>\r
\r
- \r
+\r
<!--\r
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ \r
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r
Publish site to hosting service\r
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r
-->\r
</mx:ftp>\r
</target>\r
\r
- \r
+\r
<!--\r
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ \r
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r
Tag a new version and prepare for the next development cycle.\r
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ \r
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r
-->\r
<target name="tagRelease" depends="prepare">\r
<!-- release -->\r
<property name="dryrun" value="false" />\r
- <mx:version stage="release" dryrun="${dryrun}" /> \r
+ <mx:version stage="release" dryrun="${dryrun}" />\r
<property name="project.tag" value="v${project.version}" />\r
<!-- commit build.moxie & releases.moxie (automatic) -->\r
<mx:commit showtitle="no">\r
<message>Reset build identifiers for next development cycle</message>\r
</mx:commit>\r
</target>\r
- \r
+\r
\r
</project>\r