forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Turner <je...@apache.org>
Subject XML links (Re: cvs commit: xml-forrest/src/resources/forrest-shbat forrest.build.xml)
Date Mon, 15 Sep 2003 10:35:00 GMT
On Sun, Sep 14, 2003 at 01:40:57PM -0000, cheche@apache.org wrote:
> cheche      2003/09/14 06:40:57
> 
>   Modified:    src/resources/forrest-shbat forrest.build.xml
>   Log:
>   Validate-site target fail if a site does not have xml link enable.
...
>   -  <target name="validate-site" depends="validation-props" >
>   +  <target name="validate-site" depends="load-project-props">
>   +    <condition property="forrest.validate.skinconf.disable-xml-link">
>   +      <and>
>   +        <istrue value="${skinconfig.disable-xml-link}"/>
>   +      </and>
>   +    </condition>
>   +    <fail if="forrest.validate.skinconf.disable-xml-link">
>   +---------------------------------------     
>   +${skinconfig.project-name} have disable-xml-link
>   +please change it on ${project.skinconf} 
>   +to validate this site.
>   +---------------------------------------     
>   +    </fail>


It looks like you have the logic backwards here.  This fails is
disable-xml-link is true, which is the default.

I have never understood why the value of disable-xml-links affects
pre-render validation.  Could you explain it to me again?  Thanks..


--Jeff

Mime
View raw message