You are viewing a plain text version of this content. The canonical link for it is here.
Posted to nmaven-commits@incubator.apache.org by si...@apache.org on 2007/03/21 16:29:50 UTC

svn commit: r520940 - /incubator/nmaven/branches/SI_IDE/components/dotnet-vendor/src/main/java/org/apache/maven/dotnet/vendor/impl/VendorInfoTransitionRuleFactory.java

Author: sisbell
Date: Wed Mar 21 09:29:50 2007
New Revision: 520940

URL: http://svn.apache.org/viewvc?view=rev&rev=520940
Log:
Fix NPE on linux. Need to check for existence of the nmaven-settings.xml file first.

Modified:
    incubator/nmaven/branches/SI_IDE/components/dotnet-vendor/src/main/java/org/apache/maven/dotnet/vendor/impl/VendorInfoTransitionRuleFactory.java

Modified: incubator/nmaven/branches/SI_IDE/components/dotnet-vendor/src/main/java/org/apache/maven/dotnet/vendor/impl/VendorInfoTransitionRuleFactory.java
URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/SI_IDE/components/dotnet-vendor/src/main/java/org/apache/maven/dotnet/vendor/impl/VendorInfoTransitionRuleFactory.java?view=diff&rev=520940&r1=520939&r2=520940
==============================================================================
--- incubator/nmaven/branches/SI_IDE/components/dotnet-vendor/src/main/java/org/apache/maven/dotnet/vendor/impl/VendorInfoTransitionRuleFactory.java (original)
+++ incubator/nmaven/branches/SI_IDE/components/dotnet-vendor/src/main/java/org/apache/maven/dotnet/vendor/impl/VendorInfoTransitionRuleFactory.java Wed Mar 21 09:29:50 2007
@@ -127,7 +127,8 @@
             public VendorInfoState process( VendorInfo vendorInfo )
             {
                 logger.debug( "NMAVEN-103-034: Entering State = Post Process" );
-                if ( vendorInfo.getExecutablePaths() == null || vendorInfo.getExecutablePaths().size() == 0 )
+                if ( vendorInfo.getExecutablePaths() == null ||
+                    vendorInfo.getExecutablePaths().size() == 0 && vendorInfoRepository.exists() )
                 {
                     File sdkInstallRoot = null;
                     try