Skip to content

Commit

Permalink
Showing 15 changed files with 22 additions and 671 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -52,6 +52,7 @@ lib/native
lib/ruby/cext/
lib/ruby/gems
lib/ruby/stdlib/*.jar
lib/ruby/stdlib/ant*
lib/ruby/stdlib/did_you_mean*
lib/ruby/stdlib/gauntlet_rdoc.rb
lib/ruby/stdlib/jar*
1 change: 1 addition & 0 deletions lib/pom.rb
Original file line number Diff line number Diff line change
@@ -38,6 +38,7 @@ def initialize( name, version, default_spec = true )
ImportedGem.new( 'jar-dependencies', '${jar-dependencies.version}' ),
ImportedGem.new( 'net-telnet', '0.1.1'),
ImportedGem.new( 'did_you_mean', '1.0.1'),
ImportedGem.new( 'rake-ant', '1.0.4'),
]

project 'JRuby Lib Setup' do
13 changes: 13 additions & 0 deletions lib/pom.xml
Original file line number Diff line number Diff line change
@@ -187,6 +187,19 @@ DO NOT MODIFIY - GENERATED CODE
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>rubygems</groupId>
<artifactId>rake-ant</artifactId>
<version>1.0.4</version>
<type>gem</type>
<scope>provided</scope>
<exclusions>
<exclusion>
<artifactId>jar-dependencies</artifactId>
<groupId>rubygems</groupId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
<repositories>
<repository>
65 changes: 0 additions & 65 deletions lib/ruby/stdlib/ant.rb

This file was deleted.

222 changes: 0 additions & 222 deletions lib/ruby/stdlib/ant/ant.rb

This file was deleted.

103 changes: 0 additions & 103 deletions lib/ruby/stdlib/ant/element.rb

This file was deleted.

100 changes: 0 additions & 100 deletions lib/ruby/stdlib/ant/project_converter.rb

This file was deleted.

11 changes: 0 additions & 11 deletions lib/ruby/stdlib/ant/rake.rb

This file was deleted.

120 changes: 0 additions & 120 deletions lib/ruby/stdlib/ant/target.rb

This file was deleted.

29 changes: 0 additions & 29 deletions lib/ruby/stdlib/ant/tasks/raketasks.rb

This file was deleted.

8 changes: 6 additions & 2 deletions spec/java_integration/ant/ant_spec.rb
Original file line number Diff line number Diff line change
@@ -22,8 +22,12 @@
after :each do
ENV['JAVA_HOME'] = @previous_java_home
Ant.instance_eval do
remove_const(:JAVA_HOME)
const_set(:JAVA_HOME, @previous_java_home)
begin
remove_const(:JAVA_HOME)
const_set(:JAVA_HOME, @previous_java_home)
rescue NameError
# ignore, JAVA_HOME constant is not necessarily set now
end
end
end

1 change: 0 additions & 1 deletion spec/java_integration/ant/rake_spec.rb
Original file line number Diff line number Diff line change
@@ -2,7 +2,6 @@
require 'rake'
# Do this hoo-hah with import because we don't want Rake's version of "import".
def import(*args); java_import(*args); end
require 'ant/rake'

describe Ant, "Rake helpers" do
include Ant::RSpec::AntExampleGroup
2 changes: 1 addition & 1 deletion spec/java_integration/ant_spec_helper.rb
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
require 'ant'
require 'tmpdir'

class Ant
class Rake::Ant
module RSpec
module AntExampleGroup
def self.included(example_group)
4 changes: 0 additions & 4 deletions test/ant_example.xml

This file was deleted.

13 changes: 0 additions & 13 deletions test/jruby/test_ant.rb

This file was deleted.

0 comments on commit 625fac9

Please sign in to comment.