<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -44,10 +44,18 @@ Rcov::RcovTask.new(:rcov_ccanalyzer) do |t|
 end
 
 desc &quot;Run the unit tests with rcovrt.&quot;
-Rake::TestTask.new(:test_rcovrt =&gt; [&quot;ext/rcovrt/rcovrt.so&quot;]) do |t|
-  t.libs &lt;&lt; &quot;ext/rcovrt&quot;
-  t.test_files = FileList['test/*_test.rb']
-  t.verbose = true
+if RUBY_PLATFORM == 'java'
+  Rake::TestTask.new(:test_rcovrt =&gt; [&quot;lib/rcovrt.jar&quot;]) do |t|
+    t.libs &lt;&lt; &quot;lib&quot;
+    t.test_files = FileList['test/*_test.rb']
+    t.verbose = true
+  end
+else
+  Rake::TestTask.new(:test_rcovrt =&gt; [&quot;ext/rcovrt/rcovrt.so&quot;]) do |t|
+    t.libs &lt;&lt; &quot;ext/rcovrt&quot;
+    t.test_files = FileList['test/*_test.rb']
+    t.verbose = true
+  end
 end
 
 file &quot;ext/rcovrt/rcovrt.so&quot; =&gt; FileList[&quot;ext/rcovrt/*.c&quot;] do</diff>
      <filename>Rakefile</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>0061c105257844fe38768dab046a8faf91ae03ec</id>
    </parent>
  </parents>
  <author>
    <name>Ryan L. Bell</name>
    <email>ryan.l.bell@gmail.com</email>
  </author>
  <url>http://github.com/hooligan495/rcov/commit/5b28d5492f9061a0e66bde0164a02644a848480d</url>
  <id>5b28d5492f9061a0e66bde0164a02644a848480d</id>
  <committed-date>2008-08-31T15:14:28-07:00</committed-date>
  <authored-date>2008-08-31T15:14:28-07:00</authored-date>
  <message>Added some platform specific checks to the Rakefile so, for example,
JRuby runs don't mess with the C extension.</message>
  <tree>6e0d425d8e80625e7313008817fea2f042d399ef</tree>
  <committer>
    <name>Ryan L. Bell</name>
    <email>ryan.l.bell@gmail.com</email>
  </committer>
</commit>
