You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by mi...@apache.org on 2014/11/07 22:46:28 UTC

[2/3] cassandra git commit: (Eclipse) Re-use test classes from an ant build

(Eclipse) Re-use test classes from an ant build

patch by Mikhail Stepura; reviewed by T Jake Luciani for CASSANDRA-8277


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

Branch: refs/heads/trunk
Commit: 155eccd66e767db789a6115be2df24290ca166e4
Parents: 7920ebe
Author: Mikhail Stepura <mi...@apache.org>
Authored: Fri Nov 7 10:32:09 2014 -0800
Committer: Mikhail Stepura <mi...@apache.org>
Committed: Fri Nov 7 13:45:36 2014 -0800

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


http://git-wip-us.apache.org/repos/asf/cassandra/blob/155eccd6/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index b20ca90..43fa531 100644
--- a/build.xml
+++ b/build.xml
@@ -1477,7 +1477,7 @@
   </target>
 
   <!-- Generate Eclipse project description files -->
-  <target name="generate-eclipse-files" depends="build" description="Generate eclipse files">
+  <target name="generate-eclipse-files" depends="build-test" description="Generate eclipse files">
     <echo file=".project"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
 <projectDescription>
   <name>${eclipse.project.name}</name>
@@ -1499,14 +1499,14 @@
   <classpathentry kind="src" path="src/java"/>
   <classpathentry kind="src" path="src/resources"/>
   <classpathentry kind="src" path="src/gen-java"/>
-  <classpathentry kind="src" path="test/unit"/>
-  <classpathentry kind="src" path="test/long"/>
-  <classpathentry kind="src" path="test/pig"/>
+  <classpathentry kind="src" output="build/test/classes" path="test/unit"/>
+  <classpathentry kind="src" output="build/test/classes" path="test/long"/>
+  <classpathentry kind="src" output="build/test/classes" path="test/pig"/>
+  <classpathentry kind="src" output="build/test/classes" path="test/resources" />
   <classpathentry kind="src" path="tools/stress/src"/>
   <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
   <classpathentry kind="output" path="build/classes/main"/>
   <classpathentry kind="lib" path="build/classes/thrift" sourcepath="interface/thrift/gen-java/"/>
-  <classpathentry kind="lib" path="build/test/classes"/>
   <classpathentry kind="lib" path="test/conf"/>
 ]]>
 	</echo>