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

Lance Norskog updated SOLR-3643:
--------------------------------

          Component/s: Build
    Affects Version/s: 5.0
                       4.0
    
> Bug in 'ant example' build - solr/example/solr-webapp might not exist
> ---------------------------------------------------------------------
>
>                 Key: SOLR-3643
>                 URL: https://issues.apache.org/jira/browse/SOLR-3643
>             Project: Solr
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 4.0, 5.0
>            Reporter: Lance Norskog
>
> In 4.x or trunk, 'ant example' assumes that there is an old 
> example/solr-webapp and attempts to remove it. The rule to remove it should 
> ignore errors.
> {code}
> diff --git solr/build.xml solr/build.xml
> index ec1fcee..142d2b6 100644
> --- solr/build.xml
> +++ solr/build.xml
> @@ -50,7 +50,7 @@
>          <attribute name="Main-Class" 
> value="org.apache.solr.util.SimplePostTool"/>
>        </manifest>
>      </jar>
> -    <delete includeemptydirs="true">
> +    <delete includeemptydirs="true" failonerror="false">
>        <fileset dir="${example}/solr-webapp" includes="**/*"/>
>      </delete>
>      <echo>See ${example}/README.txt for how to run the Solr example 
> configuration.</echo>
> {code}

--
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to