]> source.dussan.org Git - aspectj.git/commitdiff
variable renaming, verbosity - not much significant
authorwisberg <wisberg>
Wed, 14 May 2003 05:18:43 +0000 (05:18 +0000)
committerwisberg <wisberg>
Wed, 14 May 2003 05:18:43 +0000 (05:18 +0000)
tests/product/build-aspectj/build.xml

index e1007c2bd23399e74b9bf5f4d9ddb0d4472b8301..aea52183a1170e2fac51ac5c1ac9ada61b10337e 100644 (file)
 
   Setup:
 
-  Variables ASPECTJ_HOME and ASPECTJ_SRC refer to the 
+  Variables ASPECTJ_HOME and ASPECTJ_MODULES refer to the 
   base of an AspectJ install and the modules directory 
   of the AspectJ source tree.  By default they are
   
-    ASPECTJ_SRC:  $${basedir}/../..
+    ASPECTJ_MODULES:  $${basedir}/../..
     ASPECTJ_HOME: $${basedir}/../../aj-build/dist/tools
   
   which assumes the tools dist is built and this
-  runs from modules/tests/product/build-aspectj
+  runs from modules/tests/product/build-aspectj.
+  
+  To disable verbose mode, set iajc.verbose to false.
        
   You can also define the properties to run on any
   distribution from anywhere:
        
-    ant -DASPECTJ_HOME=dev/tools/aj -DASPECTJ_SRC=ec
+    ant -DASPECTJ_HOME=dev/tools/aj -DASPECTJ_MODULES=ec
 
       </echo>
     </target>
     <target name="init.variables" 
      description="init variables">
      
-      <property name="verbose" value="false"/>
+         <property name="iajc.verbose" value="true"/>
 
       <!-- build.compiler value to pick up our CompilerAdapter for javac -->
       <property name="ajc.adapter"
                   value="org.aspectj.tools.ant.taskdefs.Ajc11CompilerAdapter"/>
 
       <!-- required directories - run from examples or predefine -->
-      <property name="ASPECTJ_SRC"
+      <property name="ASPECTJ_MODULES"
             location="${basedir}/../../.."/> 
 
       <property name="ASPECTJ_HOME"
@@ -93,7 +95,7 @@
              property="aspectjrt.jar.available"/>
 
          <property name="aspectj.src"
-                   location="${ASPECTJ_SRC}"/>
+                   location="${ASPECTJ_MODULES}"/>
 
          <property name="output.aspectjtools"
                location="${output.dir}/aspectjtools.jar"/>
     <target name="build-runtime" depends="init">
        <iajc outjar="${output.aspectjrt}"
           classpath="${aspectjrt.jar}"
+          verbose="${iajc.verbose}"
           sourcerootsref="runtime.roots"/>
     </target>
     
     
     <target name="build-tools" depends="init">
        <iajc outjar="${output.aspectjtools}"
-                       verbose="${verbose}"
+                       verbose="${iajc.verbose}"
                        sourcerootsref="tools.roots"
                        sourcerootcopyfilter="**/CVS/*,**/*.java,**/*.aj">
                        <classpath>