improve build -projecthelp as far as building jars and such
-----------------------------------------------------------

                 Key: LUCENE-3960
                 URL: https://issues.apache.org/jira/browse/LUCENE-3960
             Project: Lucene - Java
          Issue Type: Improvement
          Components: general/build
            Reporter: Robert Muir
             Fix For: 4.0


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to