Author: lcorneliussen
Date: Fri Feb 11 13:50:16 2011
New Revision: 1069797
URL: http://svn.apache.org/viewvc?rev=1069797&view=rev
Log:
Forgot to check, if vendorInfo has executable paths.
Modified:
incubator/npanday/trunk/components/dotnet-executable/src/main/java/npanday/executable/impl/NetExecutableFactoryImpl.java
Modified:
incubator/npanday/trunk/components/dotnet-executable/src/main/java/npanday/executable/impl/NetExecutableFactoryImpl.java
URL:
http://svn.apache.org/viewvc/incubator/npanday/trunk/components/dotnet-executable/src/main/java/npanday/executable/impl/NetExecutableFactoryImpl.java?rev=1069797&r1=1069796&r2=1069797&view=diff
==============================================================================
---
incubator/npanday/trunk/components/dotnet-executable/src/main/java/npanday/executable/impl/NetExecutableFactoryImpl.java
(original)
+++
incubator/npanday/trunk/components/dotnet-executable/src/main/java/npanday/executable/impl/NetExecutableFactoryImpl.java
Fri Feb 11 13:50:16 2011
@@ -127,8 +127,10 @@ public class NetExecutableFactoryImpl
: compilerConfig.getExecutionPaths();
if (executionPaths == null || executionPaths.size() == 0 )
{
- for(File path : vendorInfo.getExecutablePaths()){
- executionPaths.add(path.getAbsolutePath());
+ if (vendorInfo.getExecutablePaths() != null) {
+ for(File path : vendorInfo.getExecutablePaths()){
+ executionPaths.add(path.getAbsolutePath());
+ }
}