continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r350246 - /maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/utils/shell/DefaultShellCommandHelper.java
Date Thu, 01 Dec 2005 13:31:31 GMT
Author: evenisse
Date: Thu Dec  1 05:31:27 2005
New Revision: 350246

URL: http://svn.apache.org/viewcvs?rev=350246&view=rev
Log: (empty)

Modified:
    maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/utils/shell/DefaultShellCommandHelper.java

Modified: maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/utils/shell/DefaultShellCommandHelper.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/utils/shell/DefaultShellCommandHelper.java?rev=350246&r1=350245&r2=350246&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/utils/shell/DefaultShellCommandHelper.java
(original)
+++ maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/utils/shell/DefaultShellCommandHelper.java
Thu Dec  1 05:31:27 2005
@@ -68,7 +68,14 @@
 
         Commandline cl = new Commandline();
 
-        cl.addSystemEnvironment();
+        try
+        {
+            cl.addSystemEnvironment();
+        }
+        catch( Exception e )
+        {
+            throw new MojoExecutionException( "Can't add system environment variables to
mvn command line.", e );
+        }
 
         cl.addEnvironment( "MAVEN_TERMINATE_CMD", "on" );
 



Mime
View raw message