Author: donaldp
Date: Mon May 21 05:11:35 2012
New Revision: 1340898
URL: http://svn.apache.org/viewvc?rev=1340898&view=rev
Log:
Stop attempting to run the emma and cobertura specs under jdk 1.7 as the
underlying tools are not compatible
Modified:
buildr/trunk/spec/java/cobertura_spec.rb
buildr/trunk/spec/java/emma_spec.rb
Modified: buildr/trunk/spec/java/cobertura_spec.rb
URL:
http://svn.apache.org/viewvc/buildr/trunk/spec/java/cobertura_spec.rb?rev=1340898&r1=1340897&r2=1340898&view=diff
==============================================================================
--- buildr/trunk/spec/java/cobertura_spec.rb (original)
+++ buildr/trunk/spec/java/cobertura_spec.rb Mon May 21 05:11:35 2012
@@ -15,6 +15,8 @@
require File.expand_path(File.join(File.dirname(__FILE__),
'test_coverage_helper'))
+if ENV_JAVA['java.version'] < "1.7"
+
Sandbox.require_optional_extension 'buildr/java/cobertura'
artifacts(Buildr::Cobertura::dependencies).map(&:invoke)
@@ -110,3 +112,5 @@ JAVA
end
end
end
+
+end
Modified: buildr/trunk/spec/java/emma_spec.rb
URL:
http://svn.apache.org/viewvc/buildr/trunk/spec/java/emma_spec.rb?rev=1340898&r1=1340897&r2=1340898&view=diff
==============================================================================
--- buildr/trunk/spec/java/emma_spec.rb (original)
+++ buildr/trunk/spec/java/emma_spec.rb Mon May 21 05:11:35 2012
@@ -13,8 +13,9 @@
# License for the specific language governing permissions and limitations under
# the License.
-
require File.expand_path(File.join(File.dirname(__FILE__),
'test_coverage_helper'))
+if ENV_JAVA['java.version'] < "1.7"
+
Sandbox.require_optional_extension 'buildr/java/emma'
artifacts(Buildr::Emma::dependencies).map(&:invoke)
@@ -119,3 +120,5 @@ describe Buildr::Emma do
end
end
end
+
+end
\ No newline at end of file