Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-4432

Make top-level default ant task print -projecthelp

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 4.0, 4.1, 6.0
    • general/build
    • None
    • New

    Description

      The top-level ant default task runs test, which is confusing. Instead it should alias "-projecthelp". This is easily possible with a trick: invoke ant's main class with <java fork="false"/>.

      Solr has a good default task, it may also use the same trick, but I don't care here.

      Lucene's default task is jar-core... Maybe move the above task to common-build.xml and let all default targets depend on "-projecthelp" task from common-build.xml?

      Attachments

        1. LUCENE-4432.patch
          1 kB
          Uwe Schindler
        2. LUCENE-4432.patch
          1 kB
          Uwe Schindler
        3. LUCENE-4432.patch
          0.7 kB
          Uwe Schindler

        Activity

          People

            uschindler Uwe Schindler
            uschindler Uwe Schindler
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: