]> source.dussan.org Git - aspectj.git/commitdiff
no real changes, just better docs and an (untested) "all" target.
authorwisberg <wisberg>
Sat, 24 May 2003 13:46:50 +0000 (13:46 +0000)
committerwisberg <wisberg>
Sat, 24 May 2003 13:46:50 +0000 (13:46 +0000)
build/release/build.xml

index 897b8386dcab66c84f154eef2549e924c17c5ce4..add913711f99eac9bee01eb21a9bcc4473b754c1 100644 (file)
@@ -16,7 +16,7 @@
 
        <target name="info">
        <echo>
-  This downloads and build the AspectJ source tree:
+  This downloads and builds the AspectJ source tree:
   
   - checkout entire tree
   - build distribution
      aspectj.workspace     location for new cvs tree
      aspectj.modules.dir   location for existing cvs tree
      aj.build.install.dir  location for installed distribution
-     
+
+  Trails
+  - clean first
+
+    cd build
+    ant clean
+
+  - test only sources in local tree (junit and harness tests):
+  
+    cd build/release
+    ant test-sources \
+        -Dskip.cvs=true \
+        -Daspectj.modules.dir=../.. 
+
+  - build local tree and install distribution:
+  
+    cd build/release
+    ant install \
+        -Dskip.cvs=true \
+        -Daspectj.modules.dir=../.. 
+  
+  - test installation and sources in local tree:
+  
+    cd build/release
+    ant test \
+        -Dskip.cvs=true \
+        -Daspectj.modules.dir=../.. \
+        -Dskip.build=true 
+  
+  - do everything but checkout from cvs:
+  
+    cd build
+    ant clean
+    cd release
+    ant all \
+        -Dskip.cvs=true \
+        -Daspectj.modules.dir=../.. 
+  
        </echo>
        </target>
        
        
 <!-- ========================================================================= -->
 
+       <target name="all">
+               <antcall target="install"/>
+               <antcall target="test"/>
+       </target>
+
        <target name="test" depends="test-sources,test-install"/>
        
        <target name="test-sources" 
 
        <target name="compile-aspectj-using-aspectj" 
                depends="init-variables,sources-available">
+               <echo message="WARNING: output dir created in tests/product/build-aspectj"/>
                <antcall target="run-ant">
                        <param name="ant.dir" 
                                location="${aspectj.modules.dir}/tests/product/build-aspectj"/>