Skip to content

Commit

Permalink
Need to enhance :eclipse task itself (not just dependencies) to get a…
Browse files Browse the repository at this point in the history
…rtifacts set up correctly
  • Loading branch information
aboisvert committed Oct 3, 2011
1 parent c57d8b5 commit 81abeab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/buildr/ivy_extension.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ def add_ivy_deps_to_java_tasks(project)
project.task :javadoc => "#{project.name}:javadocdeps" project.task :javadoc => "#{project.name}:javadocdeps"


[project.task(:eclipse), project.task(:idea), project.task(:idea7x)].each do |task| [project.task(:eclipse), project.task(:idea), project.task(:idea7x)].each do |task|
task.prerequisites.each{|p| p.enhance ["#{project.name}:compiledeps", "#{project.name}:testdeps"]} [task, task.prerequisites].flatten.each{|p| p.enhance ["#{project.name}:compiledeps", "#{project.name}:testdeps"]}
end end
end end


Expand Down

0 comments on commit 81abeab

Please sign in to comment.