Removing some of the SVN-specific stuff from the Ant build file (should probably be updated to use the new Git functionality.
This commit is contained in:
parent
10068d5fd0
commit
339708cda9
16
build.xml
16
build.xml
|
@ -17,7 +17,6 @@
|
|||
|
||||
<property description="Source Folder" name="SRC_DIR" value="src" />
|
||||
<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" />
|
||||
|
||||
|
@ -29,21 +28,6 @@
|
|||
<property name="JQ_MIN" value="${DIST_DIR}/jquery.min.js" />
|
||||
<property name="JQ_PACK" value="${DIST_DIR}/jquery.pack.js" />
|
||||
<loadfile property="version" srcfile="version.txt" />
|
||||
|
||||
<taskdef resource="net/sf/antcontrib/antcontrib.properties">
|
||||
<classpath>
|
||||
<pathelement location="build/ant-contrib-0.6.jar"/>
|
||||
</classpath>
|
||||
</taskdef>
|
||||
<exec executable="svn" outputproperty="svnlog.out" >
|
||||
<arg line="info ."/>
|
||||
</exec>
|
||||
<propertyregex property="revision" input="${svnlog.out}" select="\1">
|
||||
<regexp pattern="Revision: ([0-9]*)"/>
|
||||
</propertyregex>
|
||||
<propertyregex property="date" input="${svnlog.out}" select="\1">
|
||||
<regexp pattern="Date: (.+\))"/>
|
||||
</propertyregex>
|
||||
|
||||
<!-- MAIN -->
|
||||
|
||||
|
|
Loading…
Reference in a new issue