cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmcken...@apache.org
Subject git commit: fix generate-eclipse-files build.xml target on JDK 8
Date Wed, 13 Aug 2014 22:13:02 GMT
Repository: cassandra
Updated Branches:
  refs/heads/cassandra-2.1 50fc8ba0c -> 74e7f28f7


fix generate-eclipse-files build.xml target on JDK 8

Patch by Robert Stupp, reviewed by Josh McKenzie for CASSANDRA-7430


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

Branch: refs/heads/cassandra-2.1
Commit: 74e7f28f7f01adfe8b5cbd493231b0d64d210af8
Parents: 50fc8ba
Author: Joshua McKenzie <josh.mckenzie@datastax.com>
Authored: Wed Aug 13 17:10:23 2014 -0500
Committer: Joshua McKenzie <josh.mckenzie@datastax.com>
Committed: Wed Aug 13 17:10:23 2014 -0500

----------------------------------------------------------------------
 build.xml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/74e7f28f/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index 0bff88d..54f5f3d 100644
--- a/build.xml
+++ b/build.xml
@@ -1416,7 +1416,7 @@
     </path>
     <property name="all-test-classes" refid="all-test-classes-path"/>
     <script language="javascript"> <![CDATA[
-	importClass(java.lang.Integer)
+	var Integer = java.lang.Integer;
 	sep = project.getProperty("path.separator");
 	all = project.getProperty("all-test-classes").split(sep);
 	dir = project.getProperty("test.unit.src");
@@ -1447,7 +1447,7 @@
 	    task.setTarget("testlist");
 	    param = task.createParam();
 	    param.setName("test.file.list");
-	    param.setValue(buckets[i]);
+	    param.setValue("" + buckets[i]);
 
 	    param = task.createParam();
 	    param.setName("testlist.name");
@@ -1455,7 +1455,7 @@
 
 	    param = task.createParam();
 	    param.setName("testlist.offset");
-	    param.setValue(i);  
+	    param.setValue("" + i);
 
 	    p.addTask(task); 
   	}
@@ -1513,7 +1513,7 @@
   	</path>
   	<property name="eclipse-project-libs" refid="eclipse-project-libs-path"/>
   	<script language="javascript"> <![CDATA[
-  		importClass(java.io.File);
+  		var File = java.io.File;
   		jars = project.getProperty("eclipse-project-libs").split(project.getProperty("path.separator"));
   		
   		cp = "";


Mime
View raw message