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

Commit

Permalink
Merge pull request #23 from slackhappy/fs-nonbeta-warsupport
Browse files Browse the repository at this point in the history
Add .war extension to _map_jar
  • Loading branch information
benjyw committed Oct 6, 2013
2 parents 0d12338 + 2d81408 commit 608afd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/python/twitter/pants/tasks/ivy_resolve.py
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ def _mapto_dir(self):

def _map_jar(self, path):
"""Subclasses can override to determine whether a given path represents a mappable artifact."""
return path.endswith('.jar')
return path.endswith('.jar') or path.endswith('.war')

def _exec_ivy(self, target_workdir, targets, args):
ivyxml = os.path.join(target_workdir, 'ivy.xml')
Expand Down

0 comments on commit 608afd7

Please sign in to comment.