Skip to content
This repository has been archived by the owner on Mar 9, 2019. It is now read-only.

Commit

Permalink
fixed an ungly devopada
Browse files Browse the repository at this point in the history
  • Loading branch information
leandrosilva committed Dec 6, 2010
1 parent 0f144cd commit c6b318f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/iron_hammer/tasks/ivy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def all_dependencies
builder = IvyConfiguration.builder_for(SolutionProject.new(@anvil.solution.name, all_dependencies))

begin
sh builder.retrieve args.artifact, args.version
sh builder.get args.artifact, args.version
rescue RuntimeError
puts "\nThe artifact '#{args.artifact}' version '#{args.version}' not found in ivy repository"
end
Expand Down
2 changes: 1 addition & 1 deletion lib/iron_hammer/utils/ivy_builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def retrieve ivy_file
-retrieve Libraries/[artifact]-[revision].[ext]".gsub(/\s+/, ' ')
end

def retrieve artifact, version
def get artifact, version
"java -jar #{@config.ivy_jar}
-dependency #{@config.organisation} #{artifact} #{version}
-settings #{@config.ivy_settings}
Expand Down

0 comments on commit c6b318f

Please sign in to comment.