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 2011/12/20 04:32:39 UTC

svn commit: r1221094 - in /incubator/npanday/branches/npanday-1.4.x: ./ plugins/netplugins/NPanday.Plugin.Settings/javabinding/src/main/java/NPanday/Plugin/Settings/SettingsGeneratorMojo.java

Author: brett
Date: Tue Dec 20 04:32:39 2011
New Revision: 1221094

URL: http://svn.apache.org/viewvc?rev=1221094&view=rev
Log:
improve logging on settings generation

Modified:
    incubator/npanday/branches/npanday-1.4.x/   (props changed)
    incubator/npanday/branches/npanday-1.4.x/plugins/netplugins/NPanday.Plugin.Settings/javabinding/src/main/java/NPanday/Plugin/Settings/SettingsGeneratorMojo.java

Propchange: incubator/npanday/branches/npanday-1.4.x/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Tue Dec 20 04:32:39 2011
@@ -1,3 +1,4 @@
 /incubator/npanday/branches/NPANDAY-410:1210743-1210765
 /incubator/npanday/branches/npanday-uac-removed:1002005-1024539
 /incubator/npanday/branches/npanday-vs2010-support:1002029-1025477
+/incubator/npanday/trunk:1221092

Modified: incubator/npanday/branches/npanday-1.4.x/plugins/netplugins/NPanday.Plugin.Settings/javabinding/src/main/java/NPanday/Plugin/Settings/SettingsGeneratorMojo.java
URL: http://svn.apache.org/viewvc/incubator/npanday/branches/npanday-1.4.x/plugins/netplugins/NPanday.Plugin.Settings/javabinding/src/main/java/NPanday/Plugin/Settings/SettingsGeneratorMojo.java?rev=1221094&r1=1221093&r2=1221094&view=diff
==============================================================================
--- incubator/npanday/branches/npanday-1.4.x/plugins/netplugins/NPanday.Plugin.Settings/javabinding/src/main/java/NPanday/Plugin/Settings/SettingsGeneratorMojo.java (original)
+++ incubator/npanday/branches/npanday-1.4.x/plugins/netplugins/NPanday.Plugin.Settings/javabinding/src/main/java/NPanday/Plugin/Settings/SettingsGeneratorMojo.java Tue Dec 20 04:32:39 2011
@@ -165,11 +165,13 @@ public class SettingsGeneratorMojo
     {
         if ( !System.getProperty( "os.name" ).contains( "Windows" ) )
         {
+            getLog().info( "NPANDAY-119-001: Skipping settings generation, only valid on Windows operating systems" );
             return false;
         }
 
         if ( skip )
         {
+            getLog().info( "NPANDAY-119-000: Excecution of generate-settings has been skipped." );
             return false;
         }
 
@@ -182,11 +184,13 @@ public class SettingsGeneratorMojo
             {
                 if ( isFrameworkVersionExisting( frameworkVersion ) )
                 {
+                    getLog().info( "NPANDAY-119-002: Skipping settings generation, requested framework " + frameworkVersion + " is already configured" );
                     return false;
                 }
             }
             catch ( IOException e )
             {
+                getLog().info( "NPANDAY-119-003: Skipping settings generation, error reading existing file: " + e.getLocalizedMessage() );
                 return false;
             }
         }