[Laszlo-dev] "Unexpected element 'condition' " causing Windows build to fail

Benjamin Shine ben at laszlosystems.com
Tue Aug 1 00:09:26 EDT 2006


Hm. The condition element is built-in to ant:
http://ant.apache.org/manual/CoreTasks/condition.html
and trunk builds have been working, and work right now for me...

This implies that there is something wrong with your ant setup. Did  
this *just* break, or has this been broken? Have you been able to get  
a good build of trunk on this machine ever? If it's still endless  
pain, maybe it's time to restart the install in a clean user  
environment.

On Jul 31, 2006, at 4:38 PM, Frisco Del Rosario wrote:

> frisco at laszlo-frisco ~/src/svn/openlaszlo/trunk
> $ ant build
> Buildfile: build.xml
>
> BUILD FAILED
> file:C:/cygwin/home/frisco/src/svn/openlaszlo/trunk/build.xml:86:
> Unexpected ele
> ment "condition"
>
> Total time: 2 seconds
>
> This is the pertinent line in build.xml:
>
> <!-- Properties describing which OS as binary flags -->
>      <condition property="os.isunix">
>          <equals arg1="${build.platform}" arg2="unix"/>
>      </condition>
>
> --
> Frisco Del Rosario
> Tester, OpenLaszlo and IDE4Laszlo
>
>
>
> _______________________________________________
> Laszlo-dev mailing list
> Laszlo-dev at openlaszlo.org
> http://www.openlaszlo.org/mailman/listinfo/laszlo-dev



More information about the Laszlo-dev mailing list