tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1351716 - /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/RunMojo.java
Date Tue, 19 Jun 2012 13:54:35 GMT
Author: olamy
Date: Tue Jun 19 13:54:34 2012
New Revision: 1351716

URL: http://svn.apache.org/viewvc?rev=1351716&view=rev
Log:
[MTOMCAT-162] for tomcat7
Submitted by Neale Upstone.

Modified:
    tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/RunMojo.java

Modified: tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/RunMojo.java
URL: http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/RunMojo.java?rev=1351716&r1=1351715&r2=1351716&view=diff
==============================================================================
--- tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/RunMojo.java
(original)
+++ tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/RunMojo.java
Tue Jun 19 13:54:34 2012
@@ -22,7 +22,6 @@ import org.apache.catalina.loader.Webapp
 import org.apache.commons.io.FileUtils;
 import org.apache.commons.lang.StringUtils;
 import org.apache.maven.artifact.Artifact;
-import org.apache.maven.execution.MavenSession;
 import org.apache.maven.plugin.MojoExecutionException;
 import org.apache.maven.shared.filtering.MavenFileFilter;
 import org.apache.maven.shared.filtering.MavenFileFilterRequest;
@@ -127,8 +126,6 @@ public class RunMojo
      */
     private List<String> additionalClasspathDirs;
 
-    private File temporaryContextFile = null;
-
     /**
      *
      * @component role="org.apache.maven.shared.filtering.MavenFileFilter" role-hint="default"
@@ -152,10 +149,8 @@ public class RunMojo
     protected File getContextFile()
         throws MojoExecutionException
     {
-        if ( temporaryContextFile != null )
-        {
-            return temporaryContextFile;
-        }
+        File temporaryContextFile = null;
+
         //----------------------------------------------------------------------------
         // context attributes backgroundProcessorDelay reloadable cannot be modified at runtime.
         // It looks only values from the file are used



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message