Lucene - Core
  1. Lucene - Core
  2. LUCENE-1405

Support for new Resources model in ant 1.7 in Lucene ant task.

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.2
    • Fix Version/s: 2.9
    • Component/s: modules/other
    • Labels:
      None
    • Lucene Fields:
      New, Patch Available

      Description

      Ant Task for Lucene should use modern Resource model (not only FileSet child element).
      There is a patch with required changes.

      Supported by old (ant 1.6) and new (ant 1.7) resources model:
      <index ....> <!-- Lucene Ant Task -->
      <fileset ... />
      </index>

      Supported only by new (ant 1.7) resources model:
      <index ....> <!-- Lucene Ant Task -->
      <filelist ... />
      </index>

      <index ....> <!-- Lucene Ant Task -->
      <userdefinied-filesource ... />
      </index>

        Activity

        Hide
        Przemyslaw Sztoch added a comment -

        Patch for current lucene SVN (rev 698454).

        Show
        Przemyslaw Sztoch added a comment - Patch for current lucene SVN (rev 698454).
        Hide
        Mark Miller added a comment -

        Hey Erik, does this make sense? It looks like a simple patch, so I'd hate to kick it out of 2.9, but I'm not in the mood to brush up on my ant

        Show
        Mark Miller added a comment - Hey Erik, does this make sense? It looks like a simple patch, so I'd hate to kick it out of 2.9, but I'm not in the mood to brush up on my ant
        Hide
        Erik Hatcher added a comment -

        Przemyslaw - apologies for the delay in addressing this valuable patch. It's now been tested and committed. I also added a comment to example.xml showing how to run the <index> task from a source checkout.

        Show
        Erik Hatcher added a comment - Przemyslaw - apologies for the delay in addressing this valuable patch. It's now been tested and committed. I also added a comment to example.xml showing how to run the <index> task from a source checkout.

          People

          • Assignee:
            Erik Hatcher
            Reporter:
            Przemyslaw Sztoch
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development