incubator-nmaven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sisb...@apache.org
Subject svn commit: r592601 - /incubator/nmaven/trunk/plugins/maven-embedder-plugin/src/main/java/org/apache/maven/dotnet/plugin/embedder/EmbedderStarterMojo.java
Date Wed, 07 Nov 2007 03:42:30 GMT
Author: sisbell
Date: Tue Nov  6 19:42:30 2007
New Revision: 592601

URL: http://svn.apache.org/viewvc?rev=592601&view=rev
Log:
Need to create embedder-logs directory on startup.

Modified:
    incubator/nmaven/trunk/plugins/maven-embedder-plugin/src/main/java/org/apache/maven/dotnet/plugin/embedder/EmbedderStarterMojo.java

Modified: incubator/nmaven/trunk/plugins/maven-embedder-plugin/src/main/java/org/apache/maven/dotnet/plugin/embedder/EmbedderStarterMojo.java
URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/plugins/maven-embedder-plugin/src/main/java/org/apache/maven/dotnet/plugin/embedder/EmbedderStarterMojo.java?rev=592601&r1=592600&r2=592601&view=diff
==============================================================================
--- incubator/nmaven/trunk/plugins/maven-embedder-plugin/src/main/java/org/apache/maven/dotnet/plugin/embedder/EmbedderStarterMojo.java
(original)
+++ incubator/nmaven/trunk/plugins/maven-embedder-plugin/src/main/java/org/apache/maven/dotnet/plugin/embedder/EmbedderStarterMojo.java
Tue Nov  6 19:42:30 2007
@@ -155,6 +155,12 @@
     public void execute()
         throws MojoExecutionException, MojoFailureException
     {
+        File logs = new File(System.getProperty( "user.home" ) + "\\.m2\\embedder-logs");
+        if(!logs.exists())
+        {
+            logs.mkdir();
+        }
+
         try
         {
             logger.addHandler( new FileHandler(



Mime
View raw message