lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LUCENE-4432) Make top-level default ant task print -projecthelp
Date Wed, 26 Sep 2012 00:48:09 GMT

     [ https://issues.apache.org/jira/browse/LUCENE-4432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Uwe Schindler updated LUCENE-4432:
----------------------------------

    Attachment: LUCENE-4432.patch

Simple task for root only:

{noformat}
C:\Users\Uwe Schindler\Projects\lucene\trunk-lusolr1>ant
Buildfile: C:\Users\Uwe Schindler\Projects\lucene\trunk-lusolr1\build.xml

-projecthelp:
        [-] Buildfile: C:\Users\Uwe Schindler\Projects\lucene\trunk-lusolr1\build.xml

Main targets:

 clean                        Clean Lucene and Solr
 clean-idea                   Removes all IntelliJ IDEA configuration files
 clean-jars                   Clean local jars
 clean-maven-build            Remove
 compile                      Compile Lucene and Solr
 documentation                Generate Lucene and Solr Documentation
 eclipse                      Setup Eclipse configuration
 generate-maven-artifacts     Generate Maven Artifacts for Lucene and Solr
 get-maven-poms               Copy Maven POMs from dev-tools/maven/ to ${maven-build-dir}/
 idea                         Setup IntelliJ IDEA configuration
 ivy-bootstrap                Download and install Ivy in the users ant lib dir
 jar-checksums                Recompute SHA1 checksums for all JAR files.
 jenkins-clover               Runs nightly clover builds on Jenkins
 jenkins-hourly               Runs the Jenkins hourly test runs
 jenkins-maven-nightly        Runs the nightly Maven build on Jenkins, including artifact
deployment
 nightly-smoke                Builds an unsigned release and smoke tests it
 pitest                       Test both Lucene and Solr
 precommit                    Run basic checks before committing
 rat-sources                  Runs rat across all sources and tests
 remove-maven-artifacts       Removes all Lucene/Solr Maven artifacts from the local repository
 resolve                      Resolves all dependencies
 run-maven-build              Runs the Maven build using automatically generated POMs
 test                         Test both Lucene and Solr
 test-help                    Test runner help
 validate                     Validate dependencies, licenses, etc.
 validate-maven-dependencies  Validates maven dependencies, licenses, etc
Default target: -projecthelp

BUILD SUCCESSFUL
Total time: 0 seconds

C:\Users\Uwe Schindler\Projects\lucene\trunk-lusolr1>{noformat}
                
> Make top-level default ant task print -projecthelp
> --------------------------------------------------
>
>                 Key: LUCENE-4432
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4432
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: general/build
>            Reporter: Uwe Schindler
>            Assignee: Uwe Schindler
>            Priority: Trivial
>             Fix For: 4.1, 5.0
>
>         Attachments: LUCENE-4432.patch
>
>
> The top-level ant default task runs test, which is confusing. Instead it should alias
"-projecthelp". This is easily possible with a trick: invoke ant's main class with <java
fork="false"/>.
> Solr has a good default task, it may also use the same trick, but I don't care here.
> Lucene's default task is jar-core... Maybe move the above task to common-build.xml and
let all default targets depend on "-projecthelp" task from common-build.xml?

--
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