continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r330087 - /maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/execution/shell/ShellBuildExecutor.java
Date Tue, 01 Nov 2005 16:24:17 GMT
Author: evenisse
Date: Tue Nov  1 08:24:13 2005
New Revision: 330087

URL: http://svn.apache.org/viewcvs?rev=330087&view=rev
Log:
Allow absolute path for shell command

Modified:
    maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/execution/shell/ShellBuildExecutor.java

Modified: maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/execution/shell/ShellBuildExecutor.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/execution/shell/ShellBuildExecutor.java?rev=330087&r1=330086&r2=330087&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/execution/shell/ShellBuildExecutor.java
(original)
+++ maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/execution/shell/ShellBuildExecutor.java
Tue Nov  1 08:24:13 2005
@@ -61,12 +61,6 @@
         // TODO: this should be validated earlier?
         String executable = buildDefinition.getBuildFile();
 
-        if ( new File( executable ).isAbsolute() )
-        {
-            throw new ContinuumBuildExecutorException(
-                "The shell script must be a relative path. It will be relative to the checkout."
);
-        }
-
         return executeShellCommand( project, executable, buildDefinition.getArguments(),
buildOutput );
     }
 



Mime
View raw message