The goal of this PR is to make the package names consistent between scala and java. Now they all are 'com.pants.examples'
If you would really rather have 'example' rather than 'examples', I'm game for that too.
Also keep in mind that we wanted to move all of our directores and artifacts from com.pants... to org.pantsbuild... I could do a different PR that just moved everything to the package we want so please chime in.
Rename directory com/pants/example used in scala example.
Review Request #2034 — Created April 5, 2015 and discarded
|benjyw, fkorotkov, jsirois, patricklaw, stuhood|
Rename examples/src/scala/com/pants/example to examples/src/scala/com/pants/examples to mirror the
convention used in the Java examples.
Also renamed some test directories and resource directories
CI is green at https://travis-ci.org/pantsbuild/pants/builds/57278606
lgtm. I would prefer the full move to
org.pantsbuild. .... Also note your desciption is missing a period (
Maybe this is a python thing, but I tend to think of package names as a namespace that describes the thing on the right, and generally doesn't describe a bundle of things--that is, I feel like "foo.example.SomeExample" is better than "foo.examples.SomeExample", since when reading
SomeExampleI expect its namespace to describe it singularly.