]> source.dussan.org Git - aspectj.git/commitdiff
error messages for undefined ${module.name}
authorwisberg <wisberg>
Tue, 29 Apr 2003 17:50:43 +0000 (17:50 +0000)
committerwisberg <wisberg>
Tue, 29 Apr 2003 17:50:43 +0000 (17:50 +0000)
build/build.xml

index 5c1cecd7a1f7313c04a9cfe1e8761a216c16856a..bd51ebb0dc8102433827e751eceb1af34d82640c 100644 (file)
 
        <!-- for any-[module|product], define [module|product].name -->
        <target name="any-module" depends="init">
+         <fail unless="module.name" message="use -Dmodule.name=... to define"/>
          <antcall target="build-module">
            <param name="module.name" value="${module.name}"/>
          </antcall>
        </target>
 
        <target name="any-module-all" depends="init">
+         <fail unless="module.name" message="use -Dmodule.name=... to define"/>
          <antcall target="build-module-all">
            <param name="module.name" value="${module.name}"/>
          </antcall>
        </target>
 
        <target name="any-product" depends="init">
+         <fail unless="product.name" message="use -Dproduct.name=... to define"/>
          <antcall target="build-product">
            <param name="product.name" value="${product.name}"/>
          </antcall>