You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (Created) (JIRA)" <ji...@apache.org> on 2011/12/16 13:32:30 UTC

[jira] [Created] (LUCENE-3651) some ant tasks use the wrong build directory

some ant tasks use the wrong build directory
--------------------------------------------

                 Key: LUCENE-3651
                 URL: https://issues.apache.org/jira/browse/LUCENE-3651
             Project: Lucene - Java
          Issue Type: Bug
            Reporter: Robert Muir


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


--
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Commented] (LUCENE-3651) some ant tasks use the wrong build directory

Posted by "Robert Muir (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENE-3651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13170970#comment-13170970 ] 

Robert Muir commented on LUCENE-3651:
-------------------------------------

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.


                
> some ant tasks use the wrong build directory
> --------------------------------------------
>
>                 Key: LUCENE-3651
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3651
>             Project: Lucene - Java
>          Issue Type: Bug
>            Reporter: Robert Muir
>
> 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

--
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Commented] (LUCENE-3651) some ant tasks use the wrong build directory

Posted by "Robert Muir (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENE-3651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13170982#comment-13170982 ] 

Robert Muir commented on LUCENE-3651:
-------------------------------------

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

{noformat}
... 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 ...
{noformat}

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

                
> some ant tasks use the wrong build directory
> --------------------------------------------
>
>                 Key: LUCENE-3651
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3651
>             Project: Lucene - Java
>          Issue Type: Bug
>            Reporter: Robert Muir
>
> 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

--
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org