Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B043EDEA7 for ; Fri, 14 Sep 2012 01:01:09 +0000 (UTC) Received: (qmail 75992 invoked by uid 500); 14 Sep 2012 01:01:08 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 75918 invoked by uid 500); 14 Sep 2012 01:01:08 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 75909 invoked by uid 99); 14 Sep 2012 01:01:08 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Sep 2012 01:01:08 +0000 Date: Fri, 14 Sep 2012 12:01:08 +1100 (NCT) From: "Steven Rowe (JIRA)" To: dev@lucene.apache.org Message-ID: <797788145.78391.1347584468569.JavaMail.jiratomcat@arcas> In-Reply-To: <155435482.76489.1347565268149.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (LUCENE-4384) add top-level 'ant precommit' MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LUCENE-4384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13455504#comment-13455504 ] Steven Rowe commented on LUCENE-4384: ------------------------------------- Now that LUCENE-4385 is committed and I've added the {{rat-sources}} exclusions required to get rat to ignore my IntelliJ {{*.iml}} files, all three ant targets under discussion here ran successfully for me. I did hit a snag with {{javadocs-lint}} that I've resolved. I was getting errors complaining about permission being denied when creating a process. The property named {{python32.exe}} is used by {{javadocs-lint}}. Under Cygwin, because the default {{python32.exe}} property value ({{python3.2}}) is the same as a Cygwin symlink (to {{python3.2m.exe}}), and because native Java (Cygwin doesn't provide Java binaries) doesn't understand Cygwin symlinks, I had to add {{-Dpython32.exe=python3.2m.exe}} to my {{$ANT_OPTS}} to get {{ant javadocs-lint}} to work. > 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