samples/libs/build.xml
changeset 371 6a0d94f47107
parent 370 b93eec0e207a
child 387 00a0b7267dce
     1.1 --- a/samples/libs/build.xml	Wed Mar 02 15:33:24 2011 +0100
     1.2 +++ b/samples/libs/build.xml	Thu Mar 03 15:04:51 2011 +0100
     1.3 @@ -80,11 +80,14 @@
     1.4          </fail>
     1.5      </target>
     1.6      <target name="-library-from-nbm-check">
     1.7 -        <resourcecount property="library.from.nbm.available" when="greater" count="0">
     1.8 -            <fileset dir="dist">
     1.9 -                <include name="${library.include}"/>
    1.10 -            </fileset>
    1.11 -        </resourcecount>
    1.12 +        <echo message="Checking for ${library} and its includes ${library.include}"/>
    1.13 +        <condition property="library.from.nbm.available">
    1.14 +            <resourcecount when="greater" count="0">
    1.15 +                <fileset dir="dist">
    1.16 +                    <include name="${library.include}"/>
    1.17 +                </fileset>
    1.18 +            </resourcecount>
    1.19 +        </condition>
    1.20      </target>
    1.21      <target name="-library-from-nbm" depends="-library-from-nbm-check" unless="library.from.nbm.available">
    1.22          <fail message="You need to specify library name" unless="library"/>