github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

jquery / jquery

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 2,047
    • 195
  • Source
  • Commits
  • Network (195)
  • Graphs
  • Tree: cde93dc

click here to add a description

click here to add a homepage

  • Switch Branches (3)
    • master
    • mobile
    • omgrequire
  • Switch Tags (41)
    • 1.4rc1
    • 1.4a2
    • 1.4a1
    • 1.4.2
    • 1.4.1
    • 1.4
    • 1.3rc1
    • 1.3b2
    • 1.3b1
    • 1.3.2
    • 1.3.1rc1
    • 1.3.1
    • 1.3
    • 1.2.6
    • 1.2.5
    • 1.2.4b
    • 1.2.4a
    • 1.2.4
    • 1.2.3b
    • 1.2.3a
    • 1.2.3
    • 1.2.2b2
    • 1.2.2b
    • 1.2.2
    • 1.2.1
    • 1.2
    • 1.1b
    • 1.1a
    • 1.1.4
    • 1.1.3a
    • 1.1.3.1
    • 1.1.3
    • 1.1.2
    • 1.1.1
    • 1.1
    • 1.0a
    • 1.0.4
    • 1.0.3
    • 1.0.2
    • 1.0.1
    • 1.0
  • Comments
Sending Request…

jQuery JavaScript Library — Read more

  Cancel

http://jquery.com/

  Cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

core: ant build - add Date and Revision to to header (just like make 
build)
jzaefferer (author)
Sun Jan 18 05:30:09 -0800 2009
commit  cde93dc547dc5f65df86a3da036677aa53e660e2
tree    62855e2f0d94a2193aad5bcd32cd5c245cff2f67
parent  2f536b3d4d6864994cc88ea72638e06609bc12d1
M build.xml 17 •••••
A build/ant-contrib-0.6.jar 0
Txt build.xml
  • View file @ cde93dc
... ...
@@ -29,6 +29,21 @@
29 29
     <property name="JQ_MIN" value="${DIST_DIR}/jquery.min.js" />
30 30
     <property name="JQ_PACK" value="${DIST_DIR}/jquery.pack.js" />
31 31
   <loadfile property="version" srcfile="version.txt" />
  32
+  
  33
+  <taskdef resource="net/sf/antcontrib/antcontrib.properties">
  34
+    <classpath>
  35
+      <pathelement location="build/ant-contrib-0.6.jar"/>
  36
+    </classpath>
  37
+  </taskdef>
  38
+  <exec executable="svn" outputproperty="svnlog.out" >  
  39
+    <arg line="info ."/>  
  40
+  </exec> 
  41
+  <propertyregex property="revision" input="${svnlog.out}" select="\1">  
  42
+    <regexp pattern="Revision: ([0-9]*)"/>  
  43
+  </propertyregex>
  44
+  <propertyregex property="date" input="${svnlog.out}" select="\1">  
  45
+    <regexp pattern="Date: (.+\))"/>  
  46
+  </propertyregex>  
32 47
 
33 48
     <!-- MAIN -->
34 49
 
... ...
@@ -49,6 +64,8 @@
49 64
             <fileset dir="${SRC_DIR}" includes="outro.js" />
50 65
         </concat>
51 66
       <replaceregexp match="@VERSION" replace="${version}" flags="g" byline="true" file="${JQ}" />
  67
+    <replaceregexp match="Date: " replace="Date: ${date}" file="${JQ}" />
  68
+    <replaceregexp match="Revision: " replace="Revision: ${revision}" file="${JQ}" />
52 69
         <echo message="${JQ} built." />
53 70
     </target>
54 71
 
Txt build/ant-contrib-0.6.jar
  • View file @ cde93dc
Binary file not shown

0 notes on commit cde93dc

Please log in to comment.
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server