svn commit: r1332124 - in /tomcat/maven-plugin/trunk: tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractExecWarMojo.java tomcat7-war-runner/src/main/java/org/apache
Author: olamy Date: Mon Apr 30 08:54:45 2012 New Revision: 1332124 URL: http://svn.apache.org/viewvc?rev=1332124&view=rev Log: fix issues thanks Konstantin for review Modified: tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractExecWarMojo.java tomcat/maven-plugin/trunk/tomcat7-war-runner/src/main/java/org/apache/tomcat/maven/runner/Tomcat7Runner.java Modified: tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractExecWarMojo.java URL: http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractExecWarMojo.java?rev=1332124&r1=1332123&r2=1332124&view=diff == --- tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractExecWarMojo.java (original) +++ tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractExecWarMojo.java Mon Apr 30 08:54:45 2012 @@ -294,7 +294,7 @@ public abstract class AbstractExecWarMoj Properties properties = new Properties(); -properties.put( Tomcat7Runner.ARCHIVE_GENERATION_TIMESTAMP_KEY, Long.toString( new Date().getTime() ) ); +properties.put( Tomcat7Runner.ARCHIVE_GENERATION_TIMESTAMP_KEY, Long.toString( System.currentTimeMillis() ) ); properties.put( Tomcat7Runner.ENABLE_NAMING_KEY, Boolean.toString( enableNaming ) ); properties.put( Tomcat7Runner.ACCESS_LOG_VALVE_FORMAT_KEY, accessLogValveFormat ); properties.put( Tomcat7Runner.HTTP_PROTOCOL_KEY, connectorHttpProtocol ); Modified: tomcat/maven-plugin/trunk/tomcat7-war-runner/src/main/java/org/apache/tomcat/maven/runner/Tomcat7Runner.java URL: http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/tomcat7-war-runner/src/main/java/org/apache/tomcat/maven/runner/Tomcat7Runner.java?rev=1332124&r1=1332123&r2=1332124&view=diff == --- tomcat/maven-plugin/trunk/tomcat7-war-runner/src/main/java/org/apache/tomcat/maven/runner/Tomcat7Runner.java (original) +++ tomcat/maven-plugin/trunk/tomcat7-war-runner/src/main/java/org/apache/tomcat/maven/runner/Tomcat7Runner.java Mon Apr 30 08:54:45 2012 @@ -31,10 +31,9 @@ import org.apache.tomcat.util.http.fileu import java.io.BufferedOutputStream; import java.io.File; +import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; -import java.io.FileReader; -import java.io.FileWriter; import java.io.IOException; import java.io.InputStream; import java.lang.reflect.InvocationTargetException; @@ -134,11 +133,10 @@ public class Tomcat7Runner // compare timestamp stored during previous run if exists File timestampFile = new File( extractDirectoryFile, ".tomcat_executable_archive.timestamp" ); -Properties timestampProps = new Properties(); +Properties timestampProps = loadProperties( timestampFile ); if ( timestampFile.exists() ) { -timestampProps.load( new FileReader( timestampFile ) ); String timestampValue = timestampProps.getProperty( Tomcat7Runner.ARCHIVE_GENERATION_TIMESTAMP_KEY ); if ( timestampValue != null ) { @@ -158,12 +156,12 @@ public class Tomcat7Runner if ( !extractDirectoryFile.exists() || resetExtract || archiveTimestampChanged ) { extract(); -// first run so create timestamp file -if ( !timestampFile.exists() ) +//if archiveTimestampChanged or timestamp file not exists store the last timestamp from the archive +if ( archiveTimestampChanged || !timestampFile.exists() ) { timestampProps.put( Tomcat7Runner.ARCHIVE_GENERATION_TIMESTAMP_KEY, runtimeProperties.getProperty( Tomcat7Runner.ARCHIVE_GENERATION_TIMESTAMP_KEY ) ); -timestampProps.store( new FileWriter( timestampFile ), "Timestamp file for executable war/jar" ); +saveProperties( timestampProps, timestampFile ); } } else @@ -644,4 +642,39 @@ public class Tomcat7Runner System.out.println( "WARNING: loggerName " + loggerName + " not supported, skip it" ); } } + +private Properties loadProperties( File file ) +throws FileNotFoundException, IOException +{ +Properties properties = new Properties(); +if ( file.exists() ) +{ + +FileInputStream fileInputStream = new FileInputStream( file ); +try +{ +properties.load( fileInputStream ); +} +
svn commit: r1332125 - in /tomcat/maven-plugin/trunk: pom.xml tomcat6-maven-plugin/pom.xml tomcat7-maven-plugin/pom.xml
Author: olamy Date: Mon Apr 30 08:55:00 2012 New Revision: 1332125 URL: http://svn.apache.org/viewvc?rev=1332125&view=rev Log: pom cleanup move plugin version in root pom Modified: tomcat/maven-plugin/trunk/pom.xml tomcat/maven-plugin/trunk/tomcat6-maven-plugin/pom.xml tomcat/maven-plugin/trunk/tomcat7-maven-plugin/pom.xml Modified: tomcat/maven-plugin/trunk/pom.xml URL: http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/pom.xml?rev=1332125&r1=1332124&r2=1332125&view=diff == --- tomcat/maven-plugin/trunk/pom.xml (original) +++ tomcat/maven-plugin/trunk/pom.xml Mon Apr 30 08:55:00 2012 @@ -502,6 +502,11 @@ + org.apache.maven.plugins + maven-antrun-plugin + 1.6 + + maven-compiler-plugin 2.3.2 Modified: tomcat/maven-plugin/trunk/tomcat6-maven-plugin/pom.xml URL: http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/tomcat6-maven-plugin/pom.xml?rev=1332125&r1=1332124&r2=1332125&view=diff == --- tomcat/maven-plugin/trunk/tomcat6-maven-plugin/pom.xml (original) +++ tomcat/maven-plugin/trunk/tomcat6-maven-plugin/pom.xml Mon Apr 30 08:55:00 2012 @@ -173,20 +173,6 @@ true - - - - org.apache.maven.plugins - maven-resources-plugin - 2.5 - - - war - - - - - org.apache.maven.plugins @@ -200,7 +186,6 @@ org.apache.maven.plugins maven-antrun-plugin -1.6 pre-integration-test @@ -212,7 +197,6 @@ - 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=1332125&r1=1332124&r2=1332125&view=diff == --- tomcat/maven-plugin/trunk/tomcat7-maven-plugin/pom.xml (original) +++ tomcat/maven-plugin/trunk/tomcat7-maven-plugin/pom.xml Mon Apr 30 08:55:00 2012 @@ -238,7 +238,6 @@ org.apache.maven.plugins maven-antrun-plugin -1.6 pre-integration-test @@ -250,7 +249,6 @@ - - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1332126 - in /tomcat/maven-plugin/trunk: pom.xml tomcat6-maven-plugin/pom.xml tomcat7-maven-plugin/pom.xml
Author: olamy Date: Mon Apr 30 08:55:12 2012 New Revision: 1332126 URL: http://svn.apache.org/viewvc?rev=1332126&view=rev Log: [MTOMCAT-147] Add help goal. Modified: tomcat/maven-plugin/trunk/pom.xml tomcat/maven-plugin/trunk/tomcat6-maven-plugin/pom.xml tomcat/maven-plugin/trunk/tomcat7-maven-plugin/pom.xml Modified: tomcat/maven-plugin/trunk/pom.xml URL: http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/pom.xml?rev=1332126&r1=1332125&r2=1332126&view=diff == --- tomcat/maven-plugin/trunk/pom.xml (original) +++ tomcat/maven-plugin/trunk/pom.xml Mon Apr 30 08:55:12 2012 @@ -536,7 +536,7 @@ org.apache.maven.plugins maven-plugin-plugin - 2.6 + 2.9 org.apache.maven.plugins Modified: tomcat/maven-plugin/trunk/tomcat6-maven-plugin/pom.xml URL: http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/tomcat6-maven-plugin/pom.xml?rev=1332126&r1=1332125&r2=1332126&view=diff == --- tomcat/maven-plugin/trunk/tomcat6-maven-plugin/pom.xml (original) +++ tomcat/maven-plugin/trunk/tomcat6-maven-plugin/pom.xml Mon Apr 30 08:55:12 2012 @@ -176,6 +176,18 @@ org.apache.maven.plugins +maven-plugin-plugin + + +generated-helpmojo + + helpmojo + + + + + +org.apache.maven.plugins maven-surefire-plugin 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=1332126&r1=1332125&r2=1332126&view=diff == --- tomcat/maven-plugin/trunk/tomcat7-maven-plugin/pom.xml (original) +++ tomcat/maven-plugin/trunk/tomcat7-maven-plugin/pom.xml Mon Apr 30 08:55:12 2012 @@ -228,6 +228,18 @@ org.apache.maven.plugins +maven-plugin-plugin + + +generated-helpmojo + + helpmojo + + + + + +org.apache.maven.plugins maven-surefire-plugin - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Re: svn commit: r1331833 - in /tomcat/maven-plugin/trunk: tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractExecWarMojo.java tomcat7-war-runner/src/main/java/org/ap
fixed. Thanks for review. 2012/4/29 Konstantin Kolinko : > 2012/4/29 : >> Author: olamy >> Date: Sat Apr 28 21:11:01 2012 >> New Revision: 1331833 >> >> URL: http://svn.apache.org/viewvc?rev=1331833&view=rev >> Log: >> for exec war extraction mode, generate a file containing the archive >> timestamp creation to force reextract when users regenerate it and miss to >> reset extract folder. >> >> Modified: >> >> tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractExecWarMojo.java >> >> tomcat/maven-plugin/trunk/tomcat7-war-runner/src/main/java/org/apache/tomcat/maven/runner/Tomcat7Runner.java >> >> Modified: >> tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractExecWarMojo.java >> URL: >> http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractExecWarMojo.java?rev=1331833&r1=1331832&r2=1331833&view=diff >> == >> --- >> tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractExecWarMojo.java >> (original) >> +++ >> tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractExecWarMojo.java >> Sat Apr 28 21:11:01 2012 >> @@ -51,6 +51,7 @@ import java.io.InputStream; >> import java.io.OutputStream; >> import java.io.PrintWriter; >> import java.util.ArrayList; >> +import java.util.Date; >> import java.util.Enumeration; >> import java.util.Iterator; >> import java.util.List; >> @@ -293,6 +294,7 @@ public abstract class AbstractExecWarMoj >> >> Properties properties = new Properties(); >> >> + properties.put( Tomcat7Runner.ARCHIVE_GENERATION_TIMESTAMP_KEY, >> Long.toString( new Date().getTime() ) ); > > > The above "new Date().getTime()" call produces the same result as > calling System.currentTimeMillis() directly, but creates an unneeded > Date object. > > >> properties.put( Tomcat7Runner.ENABLE_NAMING_KEY, >> Boolean.toString( enableNaming ) ); >> properties.put( Tomcat7Runner.ACCESS_LOG_VALVE_FORMAT_KEY, >> accessLogValveFormat ); >> properties.put( Tomcat7Runner.HTTP_PROTOCOL_KEY, >> connectorHttpProtocol ); >> @@ -369,7 +371,6 @@ public abstract class AbstractExecWarMoj >> IOUtils.copy( getClass().getResourceAsStream( "/conf/web.xml" ), >> os ); >> os.closeArchiveEntry(); >> >> - >> properties.store( tmpPropertiesFileOutputStream, "created by >> Apache Tomcat Maven plugin" ); >> >> tmpPropertiesFileOutputStream.flush(); >> >> Modified: >> tomcat/maven-plugin/trunk/tomcat7-war-runner/src/main/java/org/apache/tomcat/maven/runner/Tomcat7Runner.java >> URL: >> http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/tomcat7-war-runner/src/main/java/org/apache/tomcat/maven/runner/Tomcat7Runner.java?rev=1331833&r1=1331832&r2=1331833&view=diff >> == >> --- >> tomcat/maven-plugin/trunk/tomcat7-war-runner/src/main/java/org/apache/tomcat/maven/runner/Tomcat7Runner.java >> (original) >> +++ >> tomcat/maven-plugin/trunk/tomcat7-war-runner/src/main/java/org/apache/tomcat/maven/runner/Tomcat7Runner.java >> Sat Apr 28 21:11:01 2012 >> @@ -33,6 +33,8 @@ import java.io.BufferedOutputStream; >> import java.io.File; >> import java.io.FileNotFoundException; >> import java.io.FileOutputStream; >> +import java.io.FileReader; >> +import java.io.FileWriter; >> import java.io.IOException; >> import java.io.InputStream; >> import java.lang.reflect.InvocationTargetException; >> @@ -58,6 +60,8 @@ public class Tomcat7Runner >> // contains war name wars=foo.war,bar.war >> public static final String WARS_KEY = "wars"; >> >> + public static final String ARCHIVE_GENERATION_TIMESTAMP_KEY = >> "generationTimestamp"; >> + >> public static final String ENABLE_NAMING_KEY = "enableNaming"; >> >> public static final String ACCESS_LOG_VALVE_FORMAT_KEY = >> "accessLogValveFormat"; >> @@ -125,15 +129,48 @@ public class Tomcat7Runner >> >> debugMessage( "use extractDirectory:" + >> extractDirectoryFile.getPath() ); >> >> - // do we have to extract content >> - if ( !extractDirectoryFile.exists() || resetExtract ) >> + boolean archiveTimestampChanged = false; >> + >> + // compare timestamp stored during previous run if exists >> + File timestampFile = new File( extractDirectoryFile, >> ".tomcat_executable_archive.timestamp" ); >> + >> + Properties timestampProps = new Properties(); >> + >> + if ( timestampFile.exists() ) >> { >> - extract(); >> + timestampProps.load( new FileReader( timestampFile ) ); > > The above is bad coding. You should us
[jira] [Closed] (MTOMCAT-147) Add help goal
[ https://issues.apache.org/jira/browse/MTOMCAT-147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Olivier Lamy (*$^¨%`£) closed MTOMCAT-147. -- Resolution: Fixed fixed. > Add help goal > - > > Key: MTOMCAT-147 > URL: https://issues.apache.org/jira/browse/MTOMCAT-147 > Project: Apache Tomcat Maven Plugin > Issue Type: Improvement > Components: tomcat6, tomcat7 >Affects Versions: 2.0-beta-1 >Reporter: Jeff MAURY >Assignee: Olivier Lamy (*$^¨%`£) >Priority: Trivial > Fix For: 2.0 > > > Add an help goal that is found on numerous Mojo now -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[jira] [Commented] (MTOMCAT-147) Add help goal
[ https://issues.apache.org/jira/browse/MTOMCAT-147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13264744#comment-13264744 ] Hudson commented on MTOMCAT-147: Integrated in TomcatMavenPlugin-mvn3.x #144 (See [https://builds.apache.org/job/TomcatMavenPlugin-mvn3.x/144/]) [MTOMCAT-147] Add help goal. (Revision 1332126) Result = FAILURE olamy : http://svn.apache.org/viewvc/?view=rev&rev=1332126 Files : * /tomcat/maven-plugin/trunk/pom.xml * /tomcat/maven-plugin/trunk/tomcat6-maven-plugin/pom.xml * /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/pom.xml > Add help goal > - > > Key: MTOMCAT-147 > URL: https://issues.apache.org/jira/browse/MTOMCAT-147 > Project: Apache Tomcat Maven Plugin > Issue Type: Improvement > Components: tomcat6, tomcat7 >Affects Versions: 2.0-beta-1 >Reporter: Jeff MAURY >Assignee: Olivier Lamy (*$^¨%`£) >Priority: Trivial > Fix For: 2.0 > > > Add an help goal that is found on numerous Mojo now -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[jira] [Updated] (MTOMCAT-144) resourcePaths returns null
[ https://issues.apache.org/jira/browse/MTOMCAT-144?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Olivier Lamy (*$^¨%`£) updated MTOMCAT-144: --- Fix Version/s: (was: moreinfo) 2.0 > resourcePaths returns null > -- > > Key: MTOMCAT-144 > URL: https://issues.apache.org/jira/browse/MTOMCAT-144 > Project: Apache Tomcat Maven Plugin > Issue Type: Bug > Components: tomcat7 >Affects Versions: 2.0 > Environment: windows tomcat7:run >Reporter: Per Wramdemark >Assignee: Olivier Lamy (*$^¨%`£) > Fix For: 2.0 > > > Hi, > Suddenly a few days ago (unclear exactly when) when i run the code below it > returns null. It worked two weeks ago and still works if I step back to > version 2.0-beta-1. > I'm running the goal "tomcat7:run" > code that returns null: > getServletContext().getResourcePaths(path); > pom config: > org.apache.tomcat.maven > tomcat7-maven-plugin > > 2.0-SNAPSHOT -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1332183 - /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java
Author: olamy Date: Mon Apr 30 13:15:11 2012 New Revision: 1332183 URL: http://svn.apache.org/viewvc?rev=1332183&view=rev Log: [MTOMCAT-144] resourcePaths returns null 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=1332183&r1=1332182&r2=1332183&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 Mon Apr 30 13:15:11 2012 @@ -589,7 +589,7 @@ public abstract class AbstractRunMojo return Collections.singletonList( namingEntry ); } -return null; +return super.doListBindings( name ); } } - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[jira] [Commented] (MTOMCAT-144) resourcePaths returns null
[ https://issues.apache.org/jira/browse/MTOMCAT-144?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13264930#comment-13264930 ] Hudson commented on MTOMCAT-144: Integrated in TomcatMavenPlugin-mvn3.x #145 (See [https://builds.apache.org/job/TomcatMavenPlugin-mvn3.x/145/]) [MTOMCAT-144] resourcePaths returns null (Revision 1332183) Result = FAILURE olamy : http://svn.apache.org/viewvc/?view=rev&rev=1332183 Files : * /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java > resourcePaths returns null > -- > > Key: MTOMCAT-144 > URL: https://issues.apache.org/jira/browse/MTOMCAT-144 > Project: Apache Tomcat Maven Plugin > Issue Type: Bug > Components: tomcat7 >Affects Versions: 2.0 > Environment: windows tomcat7:run >Reporter: Per Wramdemark >Assignee: Olivier Lamy (*$^¨%`£) > Fix For: 2.0 > > > Hi, > Suddenly a few days ago (unclear exactly when) when i run the code below it > returns null. It worked two weeks ago and still works if I step back to > version 2.0-beta-1. > I'm running the goal "tomcat7:run" > code that returns null: > getServletContext().getResourcePaths(path); > pom config: > org.apache.tomcat.maven > tomcat7-maven-plugin > > 2.0-SNAPSHOT -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Tomcat Wiki] Update of "PoweredBy" by Bestinweb
Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change notification. The "PoweredBy" page has been changed by Bestinweb: http://wiki.apache.org/tomcat/PoweredBy?action=diff&rev1=407&rev2=408 === Bodhost.com === [[http://www.bodhost.com/|BODHost]] - Proud to be Apache Tomcat Hosting Provider + === Bestinweb.it === + {{http://images.bestinweb.it/logowebsite.jpg}} [[http://www.bestinweb.it/|Bestinweb]] is a little hosting provider that provides, hosting apart, many other services like: [[http://www.bestinweb.it/web-design/|Web Design]], [[http://www.bestinweb.it/|Sviluppo siti internet]] and [[http://www.bestinweb.it/|Posizionamento siti]]. + === DreamShared === {{http://www.dreamshared.com/site/images/v2/logo_no_bg.png}} [[http://www.dreamshared.com/|DreamShared]] uses Tomcat to help people design and host unique, stylish, custom business websites and wedding websites. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[jira] [Closed] (MTOMCAT-144) resourcePaths returns null
[ https://issues.apache.org/jira/browse/MTOMCAT-144?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Olivier Lamy (*$^¨%`£) closed MTOMCAT-144. -- Resolution: Fixed fixed and SNAPSHOT deployed. > resourcePaths returns null > -- > > Key: MTOMCAT-144 > URL: https://issues.apache.org/jira/browse/MTOMCAT-144 > Project: Apache Tomcat Maven Plugin > Issue Type: Bug > Components: tomcat7 >Affects Versions: 2.0 > Environment: windows tomcat7:run >Reporter: Per Wramdemark >Assignee: Olivier Lamy (*$^¨%`£) > Fix For: 2.0 > > > Hi, > Suddenly a few days ago (unclear exactly when) when i run the code below it > returns null. It worked two weeks ago and still works if I step back to > version 2.0-beta-1. > I'm running the goal "tomcat7:run" > code that returns null: > getServletContext().getResourcePaths(path); > pom config: > org.apache.tomcat.maven > tomcat7-maven-plugin > > 2.0-SNAPSHOT -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[GUMP@vmgump]: Project tomcat-tc7.0.x-test (in module tomcat-7.0.x) failed
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at gene...@gump.apache.org. Project tomcat-tc7.0.x-test has an issue affecting its community integration. This issue affects 1 projects. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - tomcat-tc7.0.x-test : Tomcat 7.x, a web server implementing Java Servlet 3.0, ... Full details are available at: http://vmgump.apache.org/gump/public/tomcat-7.0.x/tomcat-tc7.0.x-test/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Dependency on tomcat-tc7.0.x-dbcp exists, no need to add for property tomcat-dbcp-src.jar. -DEBUG- Dependency on commons-daemon exists, no need to add for property commons-daemon.native.src.tgz. -DEBUG- Dependency on commons-daemon exists, no need to add for property tomcat-native.tar.gz. -DEBUG- Dependency on tomcat-tc7.0.x-dbcp exists, no need to add for property tomcat-dbcp.home. -INFO- Failed with reason build failed -INFO- Project Reports in: /srv/gump/public/workspace/tomcat-7.0.x/output/build/logs The following work was performed: http://vmgump.apache.org/gump/public/tomcat-7.0.x/tomcat-tc7.0.x-test/gump_work/build_tomcat-7.0.x_tomcat-tc7.0.x-test.html Work Name: build_tomcat-7.0.x_tomcat-tc7.0.x-test (Type: Build) Work ended in a state of : Failed Elapsed: 21 mins 45 secs Command Line: /usr/lib/jvm/java-6-openjdk/bin/java -Djava.awt.headless=true -Dbuild.sysclasspath=only org.apache.tools.ant.Main -Dgump.merge=/srv/gump/public/gump/work/merge.xml -Djunit.jar=/srv/gump/public/workspace/junit/dist/junit-30042012.jar -Dcommons-daemon.native.src.tgz=/srv/gump/public/workspace/apache-commons/daemon/dist/bin/commons-daemon-30042012-native-src.tar.gz -Dtomcat-native.tar.gz=/srv/gump/public/workspace/apache-commons/daemon/dist/bin/commons-daemon-30042012-native-src.tar.gz -Dexamples.sources.skip=true -Dtomcat-dbcp.home=/srv/gump/public/workspace/tomcat-7.0.x/tomcat-deps -Djdt.jar=/srv/gump/packages/eclipse/plugins/org.eclipse.jdt.core_3.4.2/jdtcore.jar -Dcommons-daemon.jar=/srv/gump/public/workspace/apache-commons/daemon/dist/commons-daemon-30042012.jar -Dtomcat-dbcp-src.jar=/srv/gump/public/workspace/tomcat-7.0.x/tomcat-deps/tomcat-dbcp-src.jar -Dtest.accesslog=true -Dcommons-pool.home=/srv/gump/public/workspace/commons-pool-1.x -Dcommons-dbcp.home=/ srv/gump/public/workspace/commons-dbcp-1.x -Dtomcat-dbcp.jar=/srv/gump/public/workspace/tomcat-7.0.x/tomcat-deps/tomcat-dbcp-30042012.jar test [Working Directory: /srv/gump/public/workspace/tomcat-7.0.x] CLASSPATH: /usr/lib/jvm/java-6-openjdk/lib/tools.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/webapps/examples/WEB-INF/classes:/srv/gump/public/workspace/tomcat-7.0.x/output/testclasses:/srv/gump/public/workspace/ant/dist/lib/ant.jar:/srv/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/srv/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit.jar:/srv/gump/public/workspace/ant/dist/lib/ant-swing.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-xalan2.jar:/srv/gump/public/workspace/xml-commons/java/build/resolver.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/bin/bootstrap.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/bin/tomcat-juli.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/annotations-api.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/servlet-api.jar:/srv/gump/public/workspace/tomcat-7.0.x/outp ut/build/lib/jsp-api.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/el-api.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/catalina.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/catalina-ant.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/tomcat-coyote.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/jasper.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/jasper-el.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/catalina-tribes.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/catalina-ha.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/tomcat-api.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/tomcat-util.jar:/srv/gump/packages/eclipse/plugins/org.eclipse.jdt.core_3.4.2/jdtcore.jar:/srv/gump/public/workspace/tomcat-7.0.x/tomcat-deps/tomcat-dbcp-30042012.jar:/srv/gump/public/workspace/apache-commons/daemon/dist/commons-daemon-30042012.jar:/srv/gump/ public/workspace/junit/dist/junit-30042012.jar - [junit] Apr 30, 2012 4:55:30 PM org.apache.catalina.startup.Conte
[jira] [Created] (MTOMCAT-148) Clarify run goal with respect to war overlays
Jeff MAURY created MTOMCAT-148: -- Summary: Clarify run goal with respect to war overlays Key: MTOMCAT-148 URL: https://issues.apache.org/jira/browse/MTOMCAT-148 Project: Apache Tomcat Maven Plugin Issue Type: Improvement Components: tomcat6, tomcat7 Affects Versions: 2.0-beta-1 Reporter: Jeff MAURY Assignee: Olivier Lamy (*$^¨%`£) Fix For: 2.0 When a war project use war overlays, it may have resources that are inherited from its war dependencies (JSP files, conf files, ...). As the tomcat run goal uses warSourceDirectory as docRoot, it will lead to inconsistent behaviour as some files will not be found by Tomcat. This should either fixed or clearly stated in the documentation -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[GUMP@vmgump]: Project tomcat-tc7.0.x-test (in module tomcat-7.0.x) failed
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at gene...@gump.apache.org. Project tomcat-tc7.0.x-test has an issue affecting its community integration. This issue affects 1 projects. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - tomcat-tc7.0.x-test : Tomcat 7.x, a web server implementing Java Servlet 3.0, ... Full details are available at: http://vmgump.apache.org/gump/public/tomcat-7.0.x/tomcat-tc7.0.x-test/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Dependency on tomcat-tc7.0.x-dbcp exists, no need to add for property tomcat-dbcp-src.jar. -DEBUG- Dependency on commons-daemon exists, no need to add for property commons-daemon.native.src.tgz. -DEBUG- Dependency on commons-daemon exists, no need to add for property tomcat-native.tar.gz. -DEBUG- Dependency on tomcat-tc7.0.x-dbcp exists, no need to add for property tomcat-dbcp.home. -INFO- Failed with reason build failed -INFO- Project Reports in: /srv/gump/public/workspace/tomcat-7.0.x/output/build/logs The following work was performed: http://vmgump.apache.org/gump/public/tomcat-7.0.x/tomcat-tc7.0.x-test/gump_work/build_tomcat-7.0.x_tomcat-tc7.0.x-test.html Work Name: build_tomcat-7.0.x_tomcat-tc7.0.x-test (Type: Build) Work ended in a state of : Failed Elapsed: 22 mins 21 secs Command Line: /usr/lib/jvm/java-6-openjdk/bin/java -Djava.awt.headless=true -Dbuild.sysclasspath=only org.apache.tools.ant.Main -Dgump.merge=/srv/gump/public/gump/work/merge.xml -Djunit.jar=/srv/gump/public/workspace/junit/dist/junit-01052012.jar -Dcommons-daemon.native.src.tgz=/srv/gump/public/workspace/apache-commons/daemon/dist/bin/commons-daemon-01052012-native-src.tar.gz -Dtomcat-native.tar.gz=/srv/gump/public/workspace/apache-commons/daemon/dist/bin/commons-daemon-01052012-native-src.tar.gz -Dexamples.sources.skip=true -Dtomcat-dbcp.home=/srv/gump/public/workspace/tomcat-7.0.x/tomcat-deps -Djdt.jar=/srv/gump/packages/eclipse/plugins/org.eclipse.jdt.core_3.4.2/jdtcore.jar -Dcommons-daemon.jar=/srv/gump/public/workspace/apache-commons/daemon/dist/commons-daemon-01052012.jar -Dtomcat-dbcp-src.jar=/srv/gump/public/workspace/tomcat-7.0.x/tomcat-deps/tomcat-dbcp-src.jar -Dtest.accesslog=true -Dcommons-pool.home=/srv/gump/public/workspace/commons-pool-1.x -Dcommons-dbcp.home=/ srv/gump/public/workspace/commons-dbcp-1.x -Dtomcat-dbcp.jar=/srv/gump/public/workspace/tomcat-7.0.x/tomcat-deps/tomcat-dbcp-01052012.jar test [Working Directory: /srv/gump/public/workspace/tomcat-7.0.x] CLASSPATH: /usr/lib/jvm/java-6-openjdk/lib/tools.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/webapps/examples/WEB-INF/classes:/srv/gump/public/workspace/tomcat-7.0.x/output/testclasses:/srv/gump/public/workspace/ant/dist/lib/ant.jar:/srv/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/srv/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit.jar:/srv/gump/public/workspace/ant/dist/lib/ant-swing.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-xalan2.jar:/srv/gump/public/workspace/xml-commons/java/build/resolver.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/bin/bootstrap.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/bin/tomcat-juli.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/annotations-api.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/servlet-api.jar:/srv/gump/public/workspace/tomcat-7.0.x/outp ut/build/lib/jsp-api.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/el-api.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/catalina.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/catalina-ant.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/tomcat-coyote.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/jasper.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/jasper-el.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/catalina-tribes.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/catalina-ha.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/tomcat-api.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/tomcat-util.jar:/srv/gump/packages/eclipse/plugins/org.eclipse.jdt.core_3.4.2/jdtcore.jar:/srv/gump/public/workspace/tomcat-7.0.x/tomcat-deps/tomcat-dbcp-01052012.jar:/srv/gump/public/workspace/apache-commons/daemon/dist/commons-daemon-01052012.jar:/srv/gump/ public/workspace/junit/dist/junit-01052012.jar - [junit] May 1, 2012 4:58:48 AM org.apache.catalina.startup.Contex
[GUMP@vmgump]: Project tomcat-trunk-test (in module tomcat-trunk) failed
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at gene...@gump.apache.org. Project tomcat-trunk-test has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 2 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - tomcat-trunk-test : Tomcat 8.x, a web server implementing Java Servlet 3.1, ... Full details are available at: http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk-test/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Dependency on tomcat-trunk-dbcp exists, no need to add for property tomcat-dbcp-src.jar. -DEBUG- Dependency on commons-daemon exists, no need to add for property commons-daemon.native.src.tgz. -DEBUG- Dependency on commons-daemon exists, no need to add for property tomcat-native.tar.gz. -DEBUG- Dependency on tomcat-trunk-dbcp exists, no need to add for property tomcat-dbcp.home. -INFO- Failed with reason build failed -INFO- Project Reports in: /srv/gump/public/workspace/tomcat-trunk/output/build/logs The following work was performed: http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk-test/gump_work/build_tomcat-trunk_tomcat-trunk-test.html Work Name: build_tomcat-trunk_tomcat-trunk-test (Type: Build) Work ended in a state of : Failed Elapsed: 22 mins 41 secs Command Line: /usr/lib/jvm/java-6-openjdk/bin/java -Djava.awt.headless=true -Dbuild.sysclasspath=only org.apache.tools.ant.Main -Dgump.merge=/srv/gump/public/gump/work/merge.xml -Djunit.jar=/srv/gump/public/workspace/junit/dist/junit-01052012.jar -Dcommons-daemon.native.src.tgz=/srv/gump/public/workspace/apache-commons/daemon/dist/bin/commons-daemon-01052012-native-src.tar.gz -Dtomcat-native.tar.gz=/srv/gump/public/workspace/apache-commons/daemon/dist/bin/commons-daemon-01052012-native-src.tar.gz -Dexamples.sources.skip=true -Dtomcat-dbcp.home=/srv/gump/public/workspace/tomcat-trunk/tomcat-deps -Djdt.jar=/srv/gump/packages/eclipse/plugins/org.eclipse.jdt.core_3.4.2/jdtcore.jar -Dcommons-daemon.jar=/srv/gump/public/workspace/apache-commons/daemon/dist/commons-daemon-01052012.jar -Dtomcat-dbcp-src.jar=/srv/gump/public/workspace/tomcat-trunk/tomcat-deps/tomcat-dbcp-src.jar -Dtest.accesslog=true -Dcommons-pool.home=/srv/gump/public/workspace/commons-pool-1.x -Dcommons-dbcp.home=/ srv/gump/public/workspace/commons-dbcp-1.x -Dtomcat-dbcp.jar=/srv/gump/public/workspace/tomcat-trunk/tomcat-deps/tomcat-dbcp-01052012.jar test [Working Directory: /srv/gump/public/workspace/tomcat-trunk] CLASSPATH: /usr/lib/jvm/java-6-openjdk/lib/tools.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/webapps/examples/WEB-INF/classes:/srv/gump/public/workspace/tomcat-trunk/output/testclasses:/srv/gump/public/workspace/ant/dist/lib/ant.jar:/srv/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/srv/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit.jar:/srv/gump/public/workspace/ant/dist/lib/ant-swing.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-xalan2.jar:/srv/gump/public/workspace/xml-commons/java/build/resolver.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/bin/bootstrap.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/bin/tomcat-juli.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/annotations-api.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/servlet-api.jar:/srv/gump/public/workspace/tomcat-trunk/outp ut/build/lib/jsp-api.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/el-api.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/catalina.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/catalina-ant.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/tomcat-coyote.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/jasper.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/jasper-el.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/catalina-tribes.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/catalina-ha.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/tomcat-api.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/tomcat-jni.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/tomcat-util.jar:/srv/gump/packages/javamail-1.4/mail.jar:/srv/gump/packages/javamail-1.4/lib/mailapi.jar:/srv/gump/packages/jaf-1.1ea/activation.jar:/srv/gump/packages/eclipse/plugins/org .eclipse.jdt.core_3.4.2/jdtcore.jar:/srv/gump/public/workspace/tomcat-trunk/tomcat-deps/tomcat-dbcp-01052012.jar:/srv/gump/public/workspace