Sam Ruby wrote:
> 
> >cziegeler    01/11/26 05:05:37
> >
> >  Modified:    .        Tag: cocoon_20_branch build.xml
> >  Log:
> >  unless with two values seems not to work..
> 
> If you are interested in doing this, try ceating a new value with the
> <condition> task.  For details (including an example), see
> http://jakarta.apache.org/ant/manual/CoreTasks/condition.html .
> 
Thanks Sam, for the pointer.
I already found it, but the problem is that <condition> can only <and>
some <available> or <uptodate> tasks, but not custom ones.

I would like to write something like
<condition>
  <and>
    <property svg.present must be set>
    <ClassAvailable ...test for fop class-->
  </and>
</condition>

I could do it also this way:
<condition>
  <and>
    <ClassAvailable ...test for svg class-->
    <ClassAvailable ...test for fop class-->
  </and>
</condition>

But due to the class loading problems of the available task, we
can't use that one.

Carsten

> - Sam Ruby
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to