cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sn...@apache.org
Subject cassandra git commit: Fix uptodate check for antlr files after 11372
Date Sun, 03 Apr 2016 14:17:41 GMT
Repository: cassandra
Updated Branches:
  refs/heads/trunk 2ca2fffee -> 5e933c542


Fix uptodate check for antlr files after 11372

patch by Robert Stupp; reviewed by Sylvain Lebresne for CASSANDRA-11480


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/5e933c54
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/5e933c54
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/5e933c54

Branch: refs/heads/trunk
Commit: 5e933c542a2c452adefce7e652015933f9d75f8a
Parents: 2ca2fff
Author: Robert Stupp <snazy@snazy.de>
Authored: Sun Apr 3 16:17:15 2016 +0200
Committer: Robert Stupp <snazy@snazy.de>
Committed: Sun Apr 3 16:17:15 2016 +0200

----------------------------------------------------------------------
 build.xml | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/5e933c54/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index 1855a16..c6b2246 100644
--- a/build.xml
+++ b/build.xml
@@ -212,8 +212,11 @@
     -->
     <target name="check-gen-cql3-grammar">
         <uptodate property="cql3current"
-                srcfile="${build.src.antlr}/Cql.g"
-                targetfile="${build.src.gen-java}/org/apache/cassandra/cql3/Cql.tokens"/>
+                targetfile="${build.src.gen-java}/org/apache/cassandra/cql3/Cql.tokens">
+            <srcfiles dir="${build.src.antlr}">
+                <include name="*.g"/>
+            </srcfiles>
+        </uptodate>
     </target>
  
     <target name="gen-cql3-grammar" depends="check-gen-cql3-grammar" unless="cql3current">


Mime
View raw message