maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James CE Johnson" <j...@tragus.org>
Subject Re: j:if and uptodate
Date Thu, 05 Dec 2002 16:08:27 GMT
Hey Dion,

> ! and a.b.c properties seem to have a clash.

not() and a.b.c seem to clash too :-)
I renamed xmlc.compiled to xmlc_compiled and it works fine now.

Whacky.

>
> Try:
>
> ${not(xmlc.compiled)}
>
> ?
> --
> dIon Gillard, Multitask Consulting
> Blog:      http://www.freeroller.net/page/dion/Weblog
> Work:      http://www.multitask.com.au
>
>
> "James CE Johnson" <jcej@tragus.org> wrote on 06/12/2002 02:31:48 AM:
>
>> Ok, I've apparently lost my mind...
>>
>> I have this:
>>
>>   <goal name="xmlc:compile">
>>     <uptodate property="xmlc.compiled"
>>               targetfile="${basedir}/target/.xmlcc">
>>       <srcfiles dir="${xmlc.source.dir}" includes="*.html"/>
>>     </uptodate>
>>     <echo message="xmlc.compiled = ${xmlc.compiled}"/>
>>     <j:if test="${!xmlc.compiled}">
>>       <echo message="Compiling xmlc..."/>
>>       <echo message="" file="${basedir}/target/.xmlcc"/>
>>     </j:if>
>>   </goal>
>>
>> The j:if test alwasy fails. Even when the preceeding <echo> spews out
>> "true". What stupid thing am I doing?
>>
>> Thanks,
>> J
>>
>>



Mime
View raw message