lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-4384) add top-level 'ant precommit'
Date Thu, 13 Sep 2012 20:19:07 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-4384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13455212#comment-13455212
] 

Robert Muir commented on LUCENE-4384:
-------------------------------------

Steve can you tell me the location of GenerateJFlexSupplementaryMacros.class in your build
directory?

I'm wondering if IntelliJ is compiling this and putting it under build/ in the wrong place?

Because this check is defined as:
{noformat}
      <fileset dir="${basedir}/build">
        <include name="**/classes/java/**/*.class"/>
{noformat}

So on my computer this .class file is:
{noformat}
rmuir@beast:~/workspace/lucene-trunk$ find . -name GenerateJFlexSupplementaryMacros.class
./lucene/build/analysis/icu/classes/tools/org/apache/lucene/analysis/icu/GenerateJFlexSupplementaryMacros.class
{noformat}

Eclipse is configured not to mess with the build/ directory at all, it uses a private bin/
directory.



                
> add top-level 'ant precommit'
> -----------------------------
>
>                 Key: LUCENE-4384
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4384
>             Project: Lucene - Core
>          Issue Type: Task
>          Components: general/build
>            Reporter: Robert Muir
>         Attachments: LUCENE-4384.patch
>
>
> We have a lot more checks in the build:
> If we added 'ant precommit' it would make it easier to run all the (reasonably fast)
checks beforehand... and save some typing.
> So I think we can just add precommit which is:
> * check-svn-working-copy (looks for un-added files, wrong eol-style)
> * validate (nocommit/author checks, license headers, 3rd party licenses, forbidden apis)
> * javadocs-lint (javadocs + missing/broken links checks)
> * test

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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


Mime
View raw message