Skip to content

Commit

Permalink
Specify 1.5 as target bytecode; ignore Ant warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
nicksieger committed Jan 31, 2011
1 parent 561ae9c commit 954ad0e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ end

desc 'Compile the library'
task :compile => ['build/kirk/classes'] + FILES do |t|
ant.property :name => "build.sysclasspath", :value => "ignore"
ant.javac :srcdir => "src", :destdir => t.prerequisites.first,
:debug => true, :source => "1.5", :target => "1.5",
:classpath => "#{class_path}:${java.class.path}:${sun.boot.class.path}"
end

Expand Down

0 comments on commit 954ad0e

Please sign in to comment.