ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeffrey Bacon <jba...@magmic.com>
Subject Re: <if>
Date Tue, 06 Jul 2004 02:49:28 GMT
it works if I use <magmic:exists ... /> (my own custom Condition) 
instead of the isset but it doesn't like the built-in conditions.

Is there a namespace for the default tasks? current: or ant: or something?
--
Jeffrey Bacon
jbacon@magmic.com
Creative Developer
http://www.magmic.com

Alexey N. Solofnenko wrote:
> Please try it without namespace. It works on my system. There were few 
> emails saying that namespace processing is broken. I still do not 
> understand how it works in ANT, so I never use it.
> 
> - Alexey.
> 
> Jeffrey Bacon wrote:
> 
>> Am I missing something stupid here?  I can use my own condition but 
>> when I use isset I get:
>>
>> build.xml:343: Class net.sf.antcontrib.logic.IfTask doesn't support the
>>  nested "isset" element.
>>
>>
>>
>>     <contrib:if>
>>       <isset property="com.magmic-libs-built" />
>>       <contrib:then>
>>         <contrib:var name="build_classpath" 
>> value="${build_classpath};${basedir}/${temp.dir}/com.magmic.jar" />
>>       </contrib:then>
>>     </contrib:if>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message