You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-dev@xml.apache.org by Neil Cook <nc...@acm.org> on 2004/01/08 21:20:07 UTC

BUG & FIX for build.xml

For 1.1b3, many build properties were extracted into build.properties so:

    <property file="local.build.properties"/>
    <property file="build.properties"/>
    <property environment="ENVIRONMENT"/>

Previously, the actual properties followed the declaration of ENVIRONMENT.
Now, it follows their references in local.build.properties and
build.properties. As build.properties references ENVIRONMENT, those
references fail: "Property ${ENVIRONMENT.TOMCAT_HOME} has not been set".

The ant target 'tomcat-clean' fails as a consequence.

The fix:

    <property environment="ENVIRONMENT"/>
    <property file="local.build.properties"/>
    <property file="build.properties"/>

As I build from the source zip file, I could not produce a diff - sorry.

/Neil


Re: BUG & FIX for build.xml

Posted by Vadim Gritsenko <va...@reverycodes.com>.
Neil Cook wrote:

>For 1.1b3, many build properties were extracted into build.properties so:
>
>    <property file="local.build.properties"/>
>    <property file="build.properties"/>
>    <property environment="ENVIRONMENT"/>
>
>Previously, the actual properties followed the declaration of ENVIRONMENT.
>Now, it follows their references in local.build.properties and
>build.properties. As build.properties references ENVIRONMENT, those
>references fail: "Property ${ENVIRONMENT.TOMCAT_HOME} has not been set".
>
>The ant target 'tomcat-clean' fails as a consequence.
>
>The fix:
>
>    <property environment="ENVIRONMENT"/>
>    <property file="local.build.properties"/>
>    <property file="build.properties"/>
>
>As I build from the source zip file, I could not produce a diff - sorry.
>  
>

Thanks, will be fixed shortly.

Vadim