incubator-nmaven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sisb...@apache.org
Subject svn commit: r520940 - /incubator/nmaven/branches/SI_IDE/components/dotnet-vendor/src/main/java/org/apache/maven/dotnet/vendor/impl/VendorInfoTransitionRuleFactory.java
Date Wed, 21 Mar 2007 16:29:50 GMT
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



Mime
View raw message