Lucene - Core
  1. Lucene - Core
  2. LUCENE-3651

some ant tasks use the wrong build directory

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      I noticed locally i had a build/ under the root with an analyzers.jar in it... i wondered where this came from,
      especially since it means we are recompiling this jar in some cases or not cleaning it correctly.

      reproduce quickest by making a build/ in the root of your checkout, chmod it 000 and run 'ant javadocs':
      BUILD FAILED
      /home/rmuir/workspace/lucene-trunk/build.xml:32: The following error occurred while executing this line:
      /home/rmuir/workspace/lucene-trunk/solr/common-build.xml:219: The following error occurred while executing this line:
      /home/rmuir/workspace/lucene-trunk/lucene/build.xml:229: The following error occurred while executing this line:
      /home/rmuir/workspace/lucene-trunk/lucene/common-build.xml:328: The following error occurred while executing this line:
      /home/rmuir/workspace/lucene-trunk/lucene/common-build.xml:812: Directory /home/rmuir/workspace/lucene-trunk/build/common/classes/java creation was not successful for an unknown reason

        Activity

        Robert Muir created issue -
        Hide
        Robert Muir added a comment -

        i started playing around testing, i also noticed i get a rogue solr/solrj/build when i do this.

        i added this javadocs task to the top-level for convenience, (e.g. test that you didnt break javadocs across the board before committing).
        Maybe there is somethign totally wrong with it, but it works like the other tasks. I suspect the real craziness is this lucene 'javadocs-all' task.

        separately also i noticed we javadoc/re-javadoc a lot when doing this... something we can think about optimizing later.

        Show
        Robert Muir added a comment - i started playing around testing, i also noticed i get a rogue solr/solrj/build when i do this. i added this javadocs task to the top-level for convenience, (e.g. test that you didnt break javadocs across the board before committing). Maybe there is somethign totally wrong with it, but it works like the other tasks. I suspect the real craziness is this lucene 'javadocs-all' task. separately also i noticed we javadoc/re-javadoc a lot when doing this... something we can think about optimizing later.
        Hide
        Robert Muir added a comment -

        I just hope this isnt related to that huge scary section "Basedir of the new project"

        ... The current behaviour is known to be confusing but cannot be changed without breaking backwards compatibility in subtle ways ...
        
        ... but if the dir attribute has been omitted an even more complex situation arises: ...
        
        ... If you add even deeper levels of nesting, things get even more complicated and you need to apply the above table recursively ...
        

        http://svn.apache.org/repos/asf/ant/core/tags/ANT_181/docs/manual/CoreTasks/ant.html

        Show
        Robert Muir added a comment - I just hope this isnt related to that huge scary section "Basedir of the new project" ... The current behaviour is known to be confusing but cannot be changed without breaking backwards compatibility in subtle ways ... ... but if the dir attribute has been omitted an even more complex situation arises: ... ... If you add even deeper levels of nesting, things get even more complicated and you need to apply the above table recursively ... http://svn.apache.org/repos/asf/ant/core/tags/ANT_181/docs/manual/CoreTasks/ant.html

          People

          • Assignee:
            Unassigned
            Reporter:
            Robert Muir
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development