Author: jdcasey
Date: Tue Jan 22 13:52:28 2008
New Revision: 614337

URL: http://svn.apache.org/viewvc?rev=614337&view=rev
Log:
adding basic bootstrapping instructions to the README.

Modified:
    maven/components/trunk/README.txt
    
maven/components/trunk/maven-core/src/main/aspect/org/apache/maven/CoreDebuggingAspect.aj

Modified: maven/components/trunk/README.txt
URL: 
http://svn.apache.org/viewvc/maven/components/trunk/README.txt?rev=614337&r1=614336&r2=614337&view=diff
==============================================================================
--- maven/components/trunk/README.txt (original)
+++ maven/components/trunk/README.txt Tue Jan 22 13:52:28 2008
@@ -1,3 +1,25 @@
 See: 
 
 http://maven.apache.org/guides/development/guide-building-m2.html
+
+for complete instructions.
+
+BOOTSTRAPPING BASICS
+-----------------------
+
+You'll need:
+
+- Java 1.4
+- Ant 1.6.5 or later
+
+First, give Ant a location into which the completed Maven distro should be 
installed:
+
+    export M2_HOME=$HOME/apps/maven/apache-maven-2.1-SNAPSHOT
+
+Then, run Ant:
+
+    ant
+
+Once the build completes, you should have a new Maven distro ready to roll in 
your $M2_HOME directory!
+
+Enjoy.
\ No newline at end of file

Modified: 
maven/components/trunk/maven-core/src/main/aspect/org/apache/maven/CoreDebuggingAspect.aj
URL: 
http://svn.apache.org/viewvc/maven/components/trunk/maven-core/src/main/aspect/org/apache/maven/CoreDebuggingAspect.aj?rev=614337&r1=614336&r2=614337&view=diff
==============================================================================
--- 
maven/components/trunk/maven-core/src/main/aspect/org/apache/maven/CoreDebuggingAspect.aj
 (original)
+++ 
maven/components/trunk/maven-core/src/main/aspect/org/apache/maven/CoreDebuggingAspect.aj
 Tue Jan 22 13:52:28 2008
@@ -7,12 +7,23 @@
 import org.apache.maven.plugin.Mojo;
 import org.apache.maven.plugin.DefaultPluginManager;
 import org.apache.maven.plugin.descriptor.PluginDescriptor;
+import org.aspectj.lang.JoinPoint;
 
 import java.util.Iterator;
 import java.util.List;
 
 public aspect CoreDebuggingAspect
 {
+
+    after() throwing ( RuntimeException e ):
+//        adviceexecution( )
+//        && args( jp )
+        call( * *..*.*(..))
+        && !within( CoreDebuggingAspect+ )
+        && !handler( * )
+    {
+        System.out.println( "Error: " + e.getClass().getName() + "\nwas in 
join point: " + thisJoinPoint.toLongString() + "\n(at: " + 
thisJoinPoint.getSourceLocation() + ")" );
+    }
 
 //    after( MavenExecutionRequest request ) returning( List projects ):
 //        call( List DefaultMaven.getProjects( MavenExecutionRequest ) )


Reply via email to