DO NOT REPLY [Bug 51972] sendRedirect does not support protocol relative URLs

2011-10-08 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51972

--- Comment #3 from Heikki Vesalainen  2011-10-08 
08:57:00 UTC ---
I would also suggest using the java.net.URI to resolve things in place of any
home-brewn code.

private String toAbsolute(String href) {
  URI base = URI.create(requestURI); // original request URI, including
protocol
  return base.resolve(URI.create(href)).toASCIIString();
}

And not just in this case, but all over tomcat where URIs are handled.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

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



svn commit: r1180425 - in /tomcat/maven-plugin/trunk: common-tomcat-maven-plugin/ common-tomcat-maven-plugin/src/main/java/org/apache/tomcat/maven/common/run/ tomcat6-maven-plugin/src/main/java/org/ap

2011-10-08 Thread olamy
Author: olamy
Date: Sat Oct  8 17:44:42 2011
New Revision: 1180425

URL: http://svn.apache.org/viewvc?rev=1180425&view=rev
Log:
[MTOMCAT-62] tomcat7 support: move webapp classLoader entries calculation to an 
external component.

Added:

tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/src/main/java/org/apache/tomcat/maven/common/run/

tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/src/main/java/org/apache/tomcat/maven/common/run/ClassLoaderEntriesCalculator.java
   (with props)

tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/src/main/java/org/apache/tomcat/maven/common/run/DefaultClassLoaderEntriesCalculator.java
   (with props)

tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/src/main/java/org/apache/tomcat/maven/common/run/TomcatRunException.java
   (with props)
Modified:
tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/pom.xml

tomcat/maven-plugin/trunk/tomcat6-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat6/RunMojo.java

Modified: tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/pom.xml
URL: 
http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/pom.xml?rev=1180425&r1=1180424&r2=1180425&view=diff
==
--- tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/pom.xml (original)
+++ tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/pom.xml Sat Oct  8 
17:44:42 2011
@@ -16,6 +16,10 @@
   maven-plugin-api
 
 
+  org.apache.maven
+  maven-project
+
+
   org.codehaus.plexus
   plexus-component-annotations
   1.5.5

Added: 
tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/src/main/java/org/apache/tomcat/maven/common/run/ClassLoaderEntriesCalculator.java
URL: 
http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/src/main/java/org/apache/tomcat/maven/common/run/ClassLoaderEntriesCalculator.java?rev=1180425&view=auto
==
--- 
tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/src/main/java/org/apache/tomcat/maven/common/run/ClassLoaderEntriesCalculator.java
 (added)
+++ 
tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/src/main/java/org/apache/tomcat/maven/common/run/ClassLoaderEntriesCalculator.java
 Sat Oct  8 17:44:42 2011
@@ -0,0 +1,36 @@
+package org.apache.tomcat.maven.common.run;
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+import org.apache.maven.artifact.Artifact;
+import org.apache.maven.plugin.logging.Log;
+import org.apache.maven.project.MavenProject;
+
+import java.util.List;
+import java.util.Set;
+
+/**
+ * @author Olivier Lamy
+ * @since 2.0
+ */
+public interface ClassLoaderEntriesCalculator
+{
+List calculateClassPathEntries( MavenProject mavenProject, 
Set dependencies, Log log )
+throws TomcatRunException;
+}

Propchange: 
tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/src/main/java/org/apache/tomcat/maven/common/run/ClassLoaderEntriesCalculator.java
--
svn:eol-style = native

Propchange: 
tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/src/main/java/org/apache/tomcat/maven/common/run/ClassLoaderEntriesCalculator.java
--
svn:keywords = Author Date Id Revision

Added: 
tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/src/main/java/org/apache/tomcat/maven/common/run/DefaultClassLoaderEntriesCalculator.java
URL: 
http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/src/main/java/org/apache/tomcat/maven/common/run/DefaultClassLoaderEntriesCalculator.java?rev=1180425&view=auto
==
--- 
tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/src/main/java/org/apache/tomcat/maven/common/run/DefaultClassLoaderEntriesCalculator.java
 (added)
+++ 
tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/src/main/java/org/apache/tomcat/maven/common/run/DefaultClassLoaderEntriesCalculator.java
 Sat Oct  8 17:44:42 2011
@@ -0,0 +1,113

svn commit: r1180426 - /tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/pom.xml

2011-10-08 Thread olamy
Author: olamy
Date: Sat Oct  8 17:45:07 2011
New Revision: 1180426

URL: http://svn.apache.org/viewvc?rev=1180426&view=rev
Log:
add missing license header

Modified:
tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/pom.xml

Modified: tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/pom.xml
URL: 
http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/pom.xml?rev=1180426&r1=1180425&r2=1180426&view=diff
==
--- tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/pom.xml (original)
+++ tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/pom.xml Sat Oct  8 
17:45:07 2011
@@ -1,4 +1,24 @@
 
+
+
+
 http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd"; 
xmlns="http://maven.apache.org/POM/4.0.0";
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
   4.0.0



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



svn commit: r1180427 - in /tomcat/maven-plugin/trunk: common-tomcat-maven-plugin/src/main/java/org/apache/tomcat/maven/common/run/ tomcat6-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tom

2011-10-08 Thread olamy
Author: olamy
Date: Sat Oct  8 17:45:36 2011
New Revision: 1180427

URL: http://svn.apache.org/viewvc?rev=1180427&view=rev
Log:
[MTOMCAT-62] tomcat7 support: move embedded registry and 
ExternalRepositoriesReloadableWebappLoader to common package.

Added:

tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/src/main/java/org/apache/tomcat/maven/common/run/EmbeddedRegistry.java
   (with props)

tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/src/main/java/org/apache/tomcat/maven/common/run/ExternalRepositoriesReloadableWebappLoader.java
   (with props)
Modified:

tomcat/maven-plugin/trunk/tomcat6-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat6/AbstractRunMojo.java

tomcat/maven-plugin/trunk/tomcat6-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat6/RunMojo.java

tomcat/maven-plugin/trunk/tomcat6-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat6/ShutdownMojo.java

Added: 
tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/src/main/java/org/apache/tomcat/maven/common/run/EmbeddedRegistry.java
URL: 
http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/src/main/java/org/apache/tomcat/maven/common/run/EmbeddedRegistry.java?rev=1180427&view=auto
==
--- 
tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/src/main/java/org/apache/tomcat/maven/common/run/EmbeddedRegistry.java
 (added)
+++ 
tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/src/main/java/org/apache/tomcat/maven/common/run/EmbeddedRegistry.java
 Sat Oct  8 17:45:36 2011
@@ -0,0 +1,181 @@
+package org.apache.tomcat.maven.common.run;
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+import org.apache.catalina.LifecycleException;
+import org.apache.catalina.startup.Embedded;
+import org.apache.maven.plugin.logging.Log;
+
+import java.lang.reflect.InvocationTargetException;
+import java.lang.reflect.Method;
+import java.util.HashSet;
+import java.util.Iterator;
+import java.util.Set;
+
+/**
+ * Registry which collects all embedded Tomcat Servers so that they will be 
shutdown
+ * through a shutdown hook when the JVM terminates or you can ask the registry 
to
+ * shutdown all started servers.
+ *
+ * @author Mark Michaelis
+ * @since 1.1
+ */
+public final class EmbeddedRegistry
+{
+private static EmbeddedRegistry instance;
+
+private Set containers = new HashSet(1);
+
+/**
+ * Don't instantiate - use the instance through {@link #getInstance()}.
+ */
+private EmbeddedRegistry()
+{
+// no op
+}
+
+/**
+ * Retrieve the lazily initialized instance of the registry.
+ *
+ * @return singleton instance of the registry
+ */
+public static EmbeddedRegistry getInstance()
+{
+if ( instance == null )
+{
+instance = new EmbeddedRegistry();
+Runtime.getRuntime().addShutdownHook(new Thread()
+{
+@Override
+public void run()
+{
+try
+{
+getInstance().shutdownAll(null);
+}
+catch ( Exception e )
+{
+// ignore, the exception should already have been 
reported
+}
+}
+});
+}
+return instance;
+}
+
+/**
+ * Adds the given container to the registry which automatically registers 
it for the shutdown
+ * hook.
+ *
+ * @param container the container to register
+ * @return true if it got added; false if not
+ */
+public synchronized boolean register(final Embedded container)
+{
+return containers.add(container);
+}
+
+/**
+ * Shuts down all registered embedded tomcats. All tomcats which 
successfully shut down will be
+ * removed from the registry.
+ *
+ * @param log the log to write possible shutdown exceptions to
+ * @throws org.apache.catalina.LifecycleException
+ *  the first exception which occurred will be rethrown
+ */
+public synchronized void shutdownAll(fi

svn commit: r1180430 - /tomcat/maven-plugin/trunk/BUILD.TXT

2011-10-08 Thread olamy
Author: olamy
Date: Sat Oct  8 17:48:40 2011
New Revision: 1180430

URL: http://svn.apache.org/viewvc?rev=1180430&view=rev
Log:
add a note on how to build

Added:
tomcat/maven-plugin/trunk/BUILD.TXT

Added: tomcat/maven-plugin/trunk/BUILD.TXT
URL: 
http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/BUILD.TXT?rev=1180430&view=auto
==
--- tomcat/maven-plugin/trunk/BUILD.TXT (added)
+++ tomcat/maven-plugin/trunk/BUILD.TXT Sat Oct  8 17:48:40 2011
@@ -0,0 +1,16 @@
+to build this project you must Apache Maven at least 2.2.1 .
+mvn clean install will install the mojos without running integration tests (as 
there are some hardcoded integration tests with port 8080, you could have some 
port allocation issues).
+mvn clean install -Prun-its will run integration tests too.
+To deploy a snaphot version to 
http://people.apache.org/repo/m2-snapshot-repository/ (which is proxying by 
https://repository.apache.org/content/groups/snapshots-group/) you must run : 
mvn clean deploy .
+Note you need some configuration in ~/.m2/settings.xml:
+
+  apache.snapshots
+  your asf id
+  
+  
+  
+  664
+  775
+

svn commit: r1180431 - /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/pom.xml

2011-10-08 Thread olamy
Author: olamy
Date: Sat Oct  8 17:49:16 2011
New Revision: 1180431

URL: http://svn.apache.org/viewvc?rev=1180431&view=rev
Log:
dbcp needed for database resource

Modified:
tomcat/maven-plugin/trunk/tomcat7-maven-plugin/pom.xml

Modified: tomcat/maven-plugin/trunk/tomcat7-maven-plugin/pom.xml
URL: 
http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/pom.xml?rev=1180431&r1=1180430&r2=1180431&view=diff
==
--- tomcat/maven-plugin/trunk/tomcat7-maven-plugin/pom.xml (original)
+++ tomcat/maven-plugin/trunk/tomcat7-maven-plugin/pom.xml Sat Oct  8 17:49:16 
2011
@@ -39,7 +39,6 @@
   ${tomcat.version}
 
 
-
 
   org.apache.tomcat
   tomcat-jdbc
@@ -48,6 +47,12 @@
 
 
   org.apache.tomcat
+  tomcat-dbcp
+  ${tomcat.version}
+
+
+
+  org.apache.tomcat
   tomcat-servlet-api
   ${tomcat.version}
 



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



svn commit: r1180432 - /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java

2011-10-08 Thread olamy
Author: olamy
Date: Sat Oct  8 17:49:35 2011
New Revision: 1180432

URL: http://svn.apache.org/viewvc?rev=1180432&view=rev
Log:
fix documentation on naming activation

Modified:

tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java

Modified: 
tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java
URL: 
http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java?rev=1180432&r1=1180431&r2=1180432&view=diff
==
--- 
tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java
 (original)
+++ 
tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java
 Sat Oct  8 17:49:35 2011
@@ -252,9 +252,7 @@ public abstract class AbstractRunMojo
 
 /**
  * 
- * Enables or disables naming support for the embedded Tomcat server. By 
default the embedded Tomcat
- * in Tomcat 6 comes with naming enabled. In contrast to this the embedded 
Tomcat 7 comes with
- * naming disabled by default.
+ * Enables or disables naming support for the embedded Tomcat server.
  * 
  * 
  * Note: This setting is ignored if you provide a 
server.xml for your
@@ -262,7 +260,6 @@ public abstract class AbstractRunMojo
  * 
  *
  * @parameter expression="${maven.tomcat.useNaming}" default-value="true"
- * @todo adopt documentation once Tomcat 7 is supported (MTOMCAT-62)
  * @see http://tomcat.apache.org/tomcat-6.0-doc/api/org/apache/catalina/startup/Embedded.html";>org.apache.catalina.startup.Embedded
  * @see http://tomcat.apache.org/tomcat-7.0-doc/api/org/apache/catalina/startup/Tomcat.html";>org.apache.catalina.startup.Tomcat
  * @since 2.0



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



svn commit: r1180433 - in /tomcat/maven-plugin/trunk/src/site: apt/index.apt apt/snapshot-test.apt site.xml

2011-10-08 Thread olamy
Author: olamy
Date: Sat Oct  8 17:50:01 2011
New Revision: 1180433

URL: http://svn.apache.org/viewvc?rev=1180433&view=rev
Log:
add a page on how to test SNAPSHOT build of this mojo

Added:
tomcat/maven-plugin/trunk/src/site/apt/snapshot-test.apt   (with props)
Modified:
tomcat/maven-plugin/trunk/src/site/apt/index.apt
tomcat/maven-plugin/trunk/src/site/site.xml

Modified: tomcat/maven-plugin/trunk/src/site/apt/index.apt
URL: 
http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/src/site/apt/index.apt?rev=1180433&r1=1180432&r2=1180433&view=diff
==
--- tomcat/maven-plugin/trunk/src/site/apt/index.apt (original)
+++ tomcat/maven-plugin/trunk/src/site/apt/index.apt Sat Oct  8 17:50:01 2011
@@ -3,7 +3,7 @@
  ---
  Oliver Lamy
  ---
- 2011-09-01
+ 2011-10-08
  ---
 
  ~~ Licensed to the Apache Software Foundation (ASF) under one
@@ -27,4 +27,7 @@
  ~~ http://maven.apache.org/doxia/references/apt-format.html
 
   This is the new for the Tomcat Maven Plugin (previously hosted at Codehaus).
-  TODO : complete documentation
+  The version 2.0 which will support Tomcat7 is under developpement.
+
+  Prior to version 2.0, tomcat mojos has been renamed to tomcat6 and tomcat7 
with the same goals.
+

Added: tomcat/maven-plugin/trunk/src/site/apt/snapshot-test.apt
URL: 
http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/src/site/apt/snapshot-test.apt?rev=1180433&view=auto
==
--- tomcat/maven-plugin/trunk/src/site/apt/snapshot-test.apt (added)
+++ tomcat/maven-plugin/trunk/src/site/apt/snapshot-test.apt Sat Oct  8 
17:50:01 2011
@@ -0,0 +1,89 @@
+ ---
+ Snapshots Tests
+ ---
+ Oliver Lamy
+ ---
+ 2011-10-08
+ ---
+
+ ~~ Licensed to the Apache Software Foundation (ASF) under one
+ ~~ or more contributor license agreements.  See the NOTICE file
+ ~~ distributed with this work for additional information
+ ~~ regarding copyright ownership.  The ASF licenses this file
+ ~~ to you under the Apache License, Version 2.0 (the
+ ~~ "License"); you may not use this file except in compliance
+ ~~ with the License.  You may obtain a copy of the License at
+ ~~
+ ~~   http://www.apache.org/licenses/LICENSE-2.0
+ ~~
+ ~~ Unless required by applicable law or agreed to in writing,
+ ~~ software distributed under the License is distributed on an
+ ~~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~~ KIND, either express or implied.  See the License for the
+ ~~ specific language governing permissions and limitations
+ ~~ under the License.
+
+ ~~ NOTE: For help with the syntax of this file, see:
+ ~~ http://maven.apache.org/doxia/references/apt-format.html
+
+Testing SNAPSHOT
+
+  You can test SNAPSHOT versions of the mojos tomcat6 and tomcat7 with the 
following configuration.
+
+* Declare the SNAPSHOT pluginRepository or repository if using Apache Maven 2.x
+
++--
+
+  
+
+  apache.snapshots
+  Apache Snapshots
+  https://repository.apache.org/content/groups/snapshots-group/
+  
+false
+  
+  
+true
+  
+
+  
+
++--
+
+
+* Mojo declaration
+
++--
+
+  
+  ...
+
+  org.apache.tomcat.maven
+  tomcat6-maven-plugin
+  2.0-SNAPSHOT
+  
+/
+  
+
+
+  org.apache.tomcat.maven
+  tomcat7-maven-plugin
+  2.0-SNAPSHOT
+  
+/
+  
+
+  ...
+  
+
+
++--
+
+* Running
+
+  Now you can have fun with tomcat6:run or tomcat7:run
+
+
+
+
+

Propchange: tomcat/maven-plugin/trunk/src/site/apt/snapshot-test.apt
--
svn:eol-style = native

Propchange: tomcat/maven-plugin/trunk/src/site/apt/snapshot-test.apt
--
svn:keywords = Author Date Id Revision

Modified: tomcat/maven-plugin/trunk/src/site/site.xml
URL: 
http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/src/site/site.xml?rev=1180433&r1=1180432&r2=1180433&view=diff
==
--- tomcat/maven-plugin/trunk/src/site/site.xml (original)
+++ tomcat/maven-plugin/trunk/src/site/site.xml Sat Oct  8 17:50:01 2011
@@ -44,6 +44,11 @@
   
 
 
+
+  
+  
+
+
 
 
 



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



svn commit: r1180434 - /tomcat/maven-plugin/trunk/.gitignore

2011-10-08 Thread olamy
Author: olamy
Date: Sat Oct  8 17:50:21 2011
New Revision: 1180434

URL: http://svn.apache.org/viewvc?rev=1180434&view=rev
Log:
ignore .DS_Store

Modified:
tomcat/maven-plugin/trunk/.gitignore

Modified: tomcat/maven-plugin/trunk/.gitignore
URL: 
http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/.gitignore?rev=1180434&r1=1180433&r2=1180434&view=diff
==
--- tomcat/maven-plugin/trunk/.gitignore (original)
+++ tomcat/maven-plugin/trunk/.gitignore Sat Oct  8 17:50:21 2011
@@ -5,3 +5,4 @@ target
 .classpath
 .project
 .settings
+.DS_Store



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



[jira] [Commented] (MTOMCAT-62) Support Tomcat 7

2011-10-08 Thread Hudson (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/MTOMCAT-62?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13123539#comment-13123539
 ] 

Hudson commented on MTOMCAT-62:
---

Integrated in TomcatMavenPlugin-mvn2.x #3 (See 
[https://builds.apache.org/job/TomcatMavenPlugin-mvn2.x/3/])
[MTOMCAT-62] tomcat7 support: run mojo works for tomcat7 yeahh :-)
[MTOMCAT-62] tomcat7 support: move embedded registry and 
ExternalRepositoriesReloadableWebappLoader to common package.
[MTOMCAT-62] tomcat7 support: move webapp classLoader entries calculation to an 
external component.

olamy : http://svn.apache.org/viewvc/?view=rev&rev=1180428
Files : 
* /tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/pom.xml
* 
/tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/src/main/java/org/apache/tomcat/maven/common/run/EmbeddedRegistry.java
* /tomcat/maven-plugin/trunk/pom.xml
* 
/tomcat/maven-plugin/trunk/tomcat-maven-plugin-it/src/main/java/org/codehaus/mojo/tomcat/it/AbstractWarProjectIT.java
* /tomcat/maven-plugin/trunk/tomcat6-maven-plugin/pom.xml
* 
/tomcat/maven-plugin/trunk/tomcat6-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat6/AbstractRunMojo.java
* 
/tomcat/maven-plugin/trunk/tomcat6-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat6/EmbeddedRegistry.java
* 
/tomcat/maven-plugin/trunk/tomcat6-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat6/ShutdownMojo.java
* 
/tomcat/maven-plugin/trunk/tomcat6-maven-plugin/src/test/java/org/codehaus/mojo/tomcat/it/Tomcat6DeployWarProjectIT.java
* /tomcat/maven-plugin/trunk/tomcat7-maven-plugin
* /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/pom.xml
* /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src
* /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main
* /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java
* /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org
* /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache
* 
/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat
* 
/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven
* 
/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin
* 
/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7
* 
/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/AbstractTomcat7Mojo.java
* 
/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run
* 
/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java
* 
/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/RunMojo.java
* 
/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/ShutdownMojo.java
* /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/resources
* /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/resources/conf
* 
/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/resources/conf/logging.properties
* 
/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/resources/conf/tomcat-users.xml
* 
/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/resources/conf/web.xml
* /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/test
* /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/test/java
* /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/test/java/org
* /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/test/java/org/apache
* 
/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/test/java/org/apache/tomcat
* 
/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/test/java/org/apache/tomcat/maven
* 
/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/test/java/org/apache/tomcat/maven/plugin
* 
/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/test/java/org/apache/tomcat/maven/plugin/tomcat7
* 
/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/test/java/org/apache/tomcat/maven/plugin/tomcat7/Tomcat7SimpleWarProjectIT.java
* /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/test/resources
* 
/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/test/resources/logback-test.xml
* 
/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/test/resources/simple-war-project
* 
/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/test/resources/simple-war-project/pom.xml
* 
/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/test/resources/simple-war-project/src
* 
/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/test/resources/simple-war-project/src/main
* 
/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/test/resources/simple-war-project/src/main/tomcatconf
* 
/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/test/resources/simple-war-project/src/main/tomcatconf/empty.txt
* 
/tomcat/maven-plugin/t

[jira] [Commented] (MTOMCAT-62) Support Tomcat 7

2011-10-08 Thread Hudson (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/MTOMCAT-62?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13123540#comment-13123540
 ] 

Hudson commented on MTOMCAT-62:
---

Integrated in TomcatMavenPlugin #20 (See 
[https://builds.apache.org/job/TomcatMavenPlugin/20/])
[MTOMCAT-62] tomcat7 support: run mojo works for tomcat7 yeahh :-)
[MTOMCAT-62] tomcat7 support: move embedded registry and 
ExternalRepositoriesReloadableWebappLoader to common package.
[MTOMCAT-62] tomcat7 support: move webapp classLoader entries calculation to an 
external component.

olamy : http://svn.apache.org/viewvc/?view=rev&rev=1180428
Files : 
* /tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/pom.xml
* 
/tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/src/main/java/org/apache/tomcat/maven/common/run/EmbeddedRegistry.java
* /tomcat/maven-plugin/trunk/pom.xml
* 
/tomcat/maven-plugin/trunk/tomcat-maven-plugin-it/src/main/java/org/codehaus/mojo/tomcat/it/AbstractWarProjectIT.java
* /tomcat/maven-plugin/trunk/tomcat6-maven-plugin/pom.xml
* 
/tomcat/maven-plugin/trunk/tomcat6-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat6/AbstractRunMojo.java
* 
/tomcat/maven-plugin/trunk/tomcat6-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat6/EmbeddedRegistry.java
* 
/tomcat/maven-plugin/trunk/tomcat6-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat6/ShutdownMojo.java
* 
/tomcat/maven-plugin/trunk/tomcat6-maven-plugin/src/test/java/org/codehaus/mojo/tomcat/it/Tomcat6DeployWarProjectIT.java
* /tomcat/maven-plugin/trunk/tomcat7-maven-plugin
* /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/pom.xml
* /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src
* /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main
* /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java
* /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org
* /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache
* 
/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat
* 
/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven
* 
/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin
* 
/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7
* 
/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/AbstractTomcat7Mojo.java
* 
/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run
* 
/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java
* 
/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/RunMojo.java
* 
/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/ShutdownMojo.java
* /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/resources
* /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/resources/conf
* 
/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/resources/conf/logging.properties
* 
/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/resources/conf/tomcat-users.xml
* 
/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/resources/conf/web.xml
* /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/test
* /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/test/java
* /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/test/java/org
* /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/test/java/org/apache
* 
/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/test/java/org/apache/tomcat
* 
/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/test/java/org/apache/tomcat/maven
* 
/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/test/java/org/apache/tomcat/maven/plugin
* 
/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/test/java/org/apache/tomcat/maven/plugin/tomcat7
* 
/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/test/java/org/apache/tomcat/maven/plugin/tomcat7/Tomcat7SimpleWarProjectIT.java
* /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/test/resources
* 
/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/test/resources/logback-test.xml
* 
/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/test/resources/simple-war-project
* 
/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/test/resources/simple-war-project/pom.xml
* 
/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/test/resources/simple-war-project/src
* 
/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/test/resources/simple-war-project/src/main
* 
/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/test/resources/simple-war-project/src/main/tomcatconf
* 
/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/test/resources/simple-war-project/src/main/tomcatconf/empty.txt
* 
/tomcat/maven-plugin/trunk/tomcat7

svn commit: r1180437 - in /tomcat/maven-plugin/trunk: common-tomcat-maven-plugin/ tomcat7-maven-plugin/

2011-10-08 Thread olamy
Author: olamy
Date: Sat Oct  8 17:56:11 2011
New Revision: 1180437

URL: http://svn.apache.org/viewvc?rev=1180437&view=rev
Log:
add svn:ignore

Modified:
tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/   (props changed)
tomcat/maven-plugin/trunk/tomcat7-maven-plugin/   (props changed)

Propchange: tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/
--
--- svn:ignore (added)
+++ svn:ignore Sat Oct  8 17:56:11 2011
@@ -0,0 +1,3 @@
+target
+*.iml
+

Propchange: tomcat/maven-plugin/trunk/tomcat7-maven-plugin/
--
--- svn:ignore (added)
+++ svn:ignore Sat Oct  8 17:56:11 2011
@@ -0,0 +1,2 @@
+target
+*.iml



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



svn commit: r1180486 - /tomcat/trunk/

2011-10-08 Thread olamy
Author: olamy
Date: Sat Oct  8 20:45:24 2011
New Revision: 1180486

URL: http://svn.apache.org/viewvc?rev=1180486&view=rev
Log:
ignore *.iml

Modified:
tomcat/trunk/   (props changed)

Propchange: tomcat/trunk/
--
--- svn:ignore (original)
+++ svn:ignore Sat Oct  8 20:45:24 2011
@@ -3,3 +3,4 @@ output
 build.properties
 work
 logs
+*.iml



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