Author: tchemit Date: 2013-04-30 10:53:32 +0200 (Tue, 30 Apr 2013) New Revision: 264 Url: http://nuiton.org/projects/nuiton-web/repository/revisions/264 Log: fixes #2680: Updates struts2 to 2.3.14 refs #2675: Customize JettyLauncher port and contextPath Modified: trunk/nuiton-web/src/site/apt/Warlauncher.apt.vm trunk/pom.xml Modified: trunk/nuiton-web/src/site/apt/Warlauncher.apt.vm =================================================================== --- trunk/nuiton-web/src/site/apt/Warlauncher.apt.vm 2013-04-29 18:54:33 UTC (rev 263) +++ trunk/nuiton-web/src/site/apt/Warlauncher.apt.vm 2013-04-30 08:53:32 UTC (rev 264) @@ -108,6 +108,20 @@ </plugin> -------------------------------------------------------------------- +** Extra configuration + + You can since version 1.13 configure the port and the contextPath when + starting the executable war. + + To change the port, use the <<--port>> option and to change the + contextPath use the <<--path>> option. + + In next example we change both: + +-------------------------------------------------------------------- +java -jar mywar.war --port 8889 --contextPath /mycontextPath +-------------------------------------------------------------------- + * Use Winstone war launcher ** Maven configuration Modified: trunk/pom.xml =================================================================== --- trunk/pom.xml 2013-04-29 18:54:33 UTC (rev 263) +++ trunk/pom.xml 2013-04-30 08:53:32 UTC (rev 264) @@ -280,7 +280,7 @@ <gwtPluginVersion>2.2.0</gwtPluginVersion> <!-- Strust 2 --> - <struts2Version>2.3.12</struts2Version> + <struts2Version>2.3.14</struts2Version> <shiroVersion>1.2.1</shiroVersion> <servletApiVersion>2.5</servletApiVersion>
participants (1)
-
tchemit@users.nuiton.org