aboutsummaryrefslogtreecommitdiffstats
path: root/build.xml
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2009-01-14 22:43:55 +0000
committerJörn Zaefferer <joern.zaefferer@gmail.com>2009-01-14 22:43:55 +0000
commitf649acd8abcd3ccd86de331737f42d0d85efbc0c (patch)
tree00bb11c44b19187d219123ce5b14910c0d2f5512 /build.xml
parent82958c79ff7604b1854a58cf161e8d6691bed6ac (diff)
downloadjquery-f649acd8abcd3ccd86de331737f42d0d85efbc0c.tar.gz
jquery-f649acd8abcd3ccd86de331737f42d0d85efbc0c.zip
core: Ant target to generate openAjaxMetadata; uses http://www.exfer.net/jquery/createjQueryXMLDocs.py to get the data from the wiki, and transforms it using xslt (see build/style.xsl)
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/build.xml b/build.xml
index 714399668..f49d3ddf5 100644
--- a/build.xml
+++ b/build.xml
@@ -19,6 +19,7 @@
<property description="Files for parsing etc." name="BUILD_DIR" value="build" />
<property description="Rhino JS Engine" name="JAR" value="${BUILD_DIR}/js.jar" />
<property description="YUICompressor" name="YUICompressor" value="${BUILD_DIR}/yuicompressor-2.4.2.jar" />
+ <loadfile description="Version to build" property="version" srcfile="version.txt" />
<property description="Folder for jquery, min, lite and packed target" name="DIST_DIR" value="./dist" />
@@ -95,5 +96,13 @@
<target name="all" depends="clean,jquery,min,pack">
<echo message="Build complete." />
</target>
+
+ <target name="openAjaxMetadata">
+ <property name="target" value="openAjaxMetadata-jquery-${version}.xml" />
+ <delete file="dist/jquery-*.xml" />
+ <get src="http://www.exfer.net/jquery/createjQueryXMLDocs.py?version=1.3" dest="${target}" />
+ <xslt includes="${target}" excludes="build.xml" destdir="./dist" style="build/style.xsl" extension=".xml" />
+ <delete file="${target}" />
+ </target>
</project>