You are viewing a plain text version of this content. The canonical link for it is here.
Posted to npanday-commits@incubator.apache.org by br...@apache.org on 2012/01/16 21:34:58 UTC

svn commit: r1232174 - /incubator/npanday/trunk/components/dotnet-executable/src/main/java/npanday/executable/compiler/impl/AspxCompiler.java

Author: brett
Date: Mon Jan 16 21:34:58 2012
New Revision: 1232174

URL: http://svn.apache.org/viewvc?rev=1232174&view=rev
Log:
make sure aspnet_compiler path can be found

Modified:
    incubator/npanday/trunk/components/dotnet-executable/src/main/java/npanday/executable/compiler/impl/AspxCompiler.java

Modified: incubator/npanday/trunk/components/dotnet-executable/src/main/java/npanday/executable/compiler/impl/AspxCompiler.java
URL: http://svn.apache.org/viewvc/incubator/npanday/trunk/components/dotnet-executable/src/main/java/npanday/executable/compiler/impl/AspxCompiler.java?rev=1232174&r1=1232173&r2=1232174&view=diff
==============================================================================
--- incubator/npanday/trunk/components/dotnet-executable/src/main/java/npanday/executable/compiler/impl/AspxCompiler.java (original)
+++ incubator/npanday/trunk/components/dotnet-executable/src/main/java/npanday/executable/compiler/impl/AspxCompiler.java Mon Jan 16 21:34:58 2012
@@ -19,6 +19,7 @@ package npanday.executable.compiler.impl
  * under the License.
  */
 
+import npanday.PathUtil;
 import npanday.PlatformUnsupportedException;
 import npanday.executable.CommandExecutor;
 import npanday.executable.CommandFilter;
@@ -70,7 +71,8 @@ public class AspxCompiler
             (String)configuration.get( "switchformats" )
         );
         commandExecutor.setLogger( logger );
-        commandExecutor.executeCommand( getExecutable(), getCommands(), null, failOnErrorOutput() );
+        String executable = PathUtil.getExecutable( getExecutable(), compilerContext.getProbingPaths(), logger );
+        commandExecutor.executeCommand( executable, getCommands(), null, failOnErrorOutput() );
     }
 
 }
\ No newline at end of file