From 64f07707cc3c1d45c5ac3ba25bd0677636a93979 Mon Sep 17 00:00:00 2001 From: plynch Date: Thu, 24 Apr 2003 18:48:43 +0000 Subject: [PATCH] o making changes that consist of new features and a better interface of goals for version 2.0 o adding full use of reinstall and restart goals o nooping most goals if their action would be redundant o adding webserver:cycle to attempt a smart figuring of what a typical developer would need for rapid development. This replaces the smarts found in webserver:install and webserver:start in versions 1.x git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113384 13f79535-47bb-0310-9956-ffa450edef68 --- webserver/plugin.jelly | 261 +++++++++++++++++++++++++++++------------ 1 file changed, 184 insertions(+), 77 deletions(-) diff --git a/webserver/plugin.jelly b/webserver/plugin.jelly index 497da333..9d12b065 100644 --- a/webserver/plugin.jelly +++ b/webserver/plugin.jelly @@ -4,14 +4,17 @@ + xmlns:exception="http://www.maven.org/plugin/webserver/exception" + xmlns:webserver="http://www.maven.org/plugin/webserver" + xmlns:define="jelly:define" > + + @@ -27,7 +30,7 @@ 5. Check the ports to make sure they are numbers only --> - + -------------------------------------------------------------------------- @@ -242,104 +245,111 @@ Maven has determined your webserve - - + + + + + + : Deleting webserver instance ... - - - - - - + + - + + + : Installing webserver instance ... - + + + + : Re-installing webserver instance ... - + - - -: Re-starting webserver instance ... - - - - + + + : Starting webserver instance ... - + + + + + + +: Re-starting webserver instance ... + + + + + + + - - - - + : Stopping webserver instance ... - - - - - - - -: Already stopped! - - - - - + + - - + - + - + + + - + + - - - - - - + + @@ -358,6 +368,40 @@ Maven has determined your webserve + + + + + + + + + + + + + + + + + -------------------------------------------------------------------------- + | Plugin Warning | + -------------------------------------------------------------------------- + + Webserver already installed + + You may try + o webserver:reinstall + + -------------------------------------------------------------------------- + + + + + + + @@ -366,36 +410,67 @@ Maven has determined your webserve + prereqs="webserver:init" description="Reinstall a webserver instance" > + + + + + -------------------------------------------------------------------------- + | Plugin Warning | + -------------------------------------------------------------------------- + + Webserver not yet installed + + You may try + o webserver:install + + -------------------------------------------------------------------------- + + + + + + + + description="Start a webserver instance"> - - - - - - - + + -------------------------------------------------------------------------- + | Plugin Warning | + -------------------------------------------------------------------------- + + Webserver not yet installed + + You may try + o webserver:install webserver:start + o webserver:cycle + + -------------------------------------------------------------------------- + - - - + + + -------------------------------------------------------------------------- + | Plugin Warning | + -------------------------------------------------------------------------- + + Webserver already started + + You may try + o webserver:restart + o webserver:cycle + + -------------------------------------------------------------------------- + @@ -404,24 +479,58 @@ Maven has determined your webserve + + prereqs="webserver:init" + description="Restart a webserver instance"> + + + + + + + + -------------------------------------------------------------------------- + | Plugin Warning | + -------------------------------------------------------------------------- + + Webserver not yet started + + You may try + o webserver:start + o webserver:cycle + + -------------------------------------------------------------------------- + + + + - + description="Stop a webserver instance"> + + + + + + + +==> Webserver already stopped! + + + + @@ -432,9 +541,7 @@ Maven has determined your webserve - - @@ -446,7 +553,7 @@ Maven has determined your webserve -: Already cleaned! +==> Webserver already cleaned!