Skip to content

Commit

Permalink
Merge branch 'integrate-jruby'
Browse files Browse the repository at this point in the history
Conflicts:
	Rakefile
  • Loading branch information
flori committed Oct 5, 2010
2 parents e3fe104 + 1db8643 commit e22b2f2
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 983 deletions.
12 changes: 8 additions & 4 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -339,8 +339,7 @@ if defined?(RUBY_ENGINE) and RUBY_ENGINE == 'jruby'
myruby '-S', 'testrb', '-Ilib', *Dir['tests/*.rb']
end

desc "Create parser jar"
task :create_parser_jar => :compile_jruby do
file JRUBY_PARSER_JAR => :compile_jruby do
cd 'java/src' do
parser_classes = FileList[
"json/ext/ByteListTranscoder*.class",
Expand All @@ -355,8 +354,10 @@ if defined?(RUBY_ENGINE) and RUBY_ENGINE == 'jruby'
end
end

desc "Create generator jar"
task :create_generator_jar => :compile_jruby do
desc "Create parser jar"
task :create_parser_jar => JRUBY_PARSER_JAR

file JRUBY_GENERATOR_JAR => :compile_jruby do
cd 'java/src' do
generator_classes = FileList[
"json/ext/ByteListTranscoder*.class",
Expand All @@ -371,6 +372,9 @@ if defined?(RUBY_ENGINE) and RUBY_ENGINE == 'jruby'
end
end

desc "Create generator jar"
task :create_generator_jar => JRUBY_GENERATOR_JAR

desc "Create parser and generator jars"
task :create_jar => [ :create_parser_jar, :create_generator_jar ]

Expand Down
80 changes: 0 additions & 80 deletions build.xml

This file was deleted.

Loading

0 comments on commit e22b2f2

Please sign in to comment.