continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r328470 - /maven/continuum/tags/continuum-1.0/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
Date Tue, 25 Oct 2005 20:30:51 GMT
Author: evenisse
Date: Tue Oct 25 13:30:45 2005
New Revision: 328470

URL: http://svn.apache.org/viewcvs?rev=328470&view=rev
Log:
Throw an exception when a project doesn't have a build definition.

Modified:
    maven/continuum/tags/continuum-1.0/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java

Modified: maven/continuum/tags/continuum-1.0/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
URL: http://svn.apache.org/viewcvs/maven/continuum/tags/continuum-1.0/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java?rev=328470&r1=328469&r2=328470&view=diff
==============================================================================
--- maven/continuum/tags/continuum-1.0/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
(original)
+++ maven/continuum/tags/continuum-1.0/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
Tue Oct 25 13:30:45 2005
@@ -799,6 +799,11 @@
             }
         }
 
+        if ( buildDefinition == null )
+        {
+            throw new ContinuumException( "Project requires a build definition." );
+        }
+
         return buildDefinition;
     }
 



Mime
View raw message