Properly order resources for pants goal test and pants goal run.

Review Request #845 - Created Aug. 7, 2014 and submitted

Information
Eric Ayers
pants
zundel/duplicate-resource-paths
449
Reviewers
pants-reviews
benjyw, jinfeng, jsirois, patricklaw
Fixed a problem with goal run and test for resources being put on the classpath in the
wrong order when multiple resource sources define a file with different contents
at the same resource path.

Added a project with resources that collide and an integration test to prove
that resources are bundled and added to the classpath in the right order.

Note that the JVM tests will still fail if all run together with a command like:

   pants goal test maven_src/resource_collision::

because pants runs all the tests in the same junit test runner instance.
Added an integration test for pants goal bundle and pants goal run.

Ci is baking at https://travis-ci.org/pantsbuild/pants/builds/32999609

Issues

  • 0
  • 9
  • 0
  • 9
Description From Last Updated
Eric Ayers
Patrick Lawson
Eric Ayers
Benjy Weinberger
Eric Ayers
Eric Ayers
Eric Ayers
Jin Feng
Eric Ayers
John Sirois
Eric Ayers
John Sirois
John Sirois
Eric Ayers
Review request changed

Status: Closed (submitted)

Change Summary:

@Benjy, I think I addressed all of your feedback, I'll be happy to circle back if you have more.

commit 541f13c
Loading...