Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
New
Description
HossmanSays: "ant compile" in lucene src artifacts builds jars for some contribs not
all – kind of confusing. I did a double take before i realized i
needed "build-contrib" to get them all and the ones i was seeing were just
because of cross-contrb dependencies.
Basically the ant -p is confusing in general. The 'default' task is actually 'jar-core',
which makes jars, but it has no description (doesnt show up in project help), and neither
does 'jar' (which maps to jar-core).
solr/build.xml does a much better job about this. The ant -p seems more userfriendly
and its obvious what targets do what. For lucene its not.
Also solr/build.xml defines 'ant compile' (lucene's doesnt, it maps to compile-core, which
then behaves differently than solr for people used to typing it).
Basically I think the best solution is to try to make these two build.xml's targets
as consistent as possible.