From 31f11f1b4ab0304f57cdfb1c769866be2fabcfd6 Mon Sep 17 00:00:00 2001 From: plynch Date: Sat, 25 Jan 2003 10:04:04 +0000 Subject: [PATCH] Recovery of changes made before the big plugin overhaul plugin.jelly o extraneous markup removed o improved logging o improved filters for goals that copy o added ability for each webserver to have a clean target plugin.properties o adding maven.webserver.root which says where to serve documents from apache-2.x.jelly o add goals that start apache for Windows NT/XP/2000 o add a clean goal to cleanup installed services git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112737 13f79535-47bb-0310-9956-ffa450edef68 --- webserver/plugin.jelly | 58 +++-- webserver/plugin.properties | 6 +- .../src/plugin-resources/apache-2.x.jelly | 210 ++++++++++++++++-- 3 files changed, 231 insertions(+), 43 deletions(-) diff --git a/webserver/plugin.jelly b/webserver/plugin.jelly index c166bacc..dcf07d73 100644 --- a/webserver/plugin.jelly +++ b/webserver/plugin.jelly @@ -8,7 +8,7 @@ - + @@ -17,15 +17,28 @@ + + + file="${maven.webserver.root}" type="dir" /> + + + + + + + - + @@ -33,10 +46,10 @@ - + - - + + @@ -57,8 +70,7 @@ - -Maven has determined your webserver instance is in directory [ ] and on + Maven has determined your webserver instance is in directory [ ] and on @@ -123,9 +135,10 @@ Maven has determined your webserve - - Installing the - webserver instance before starting it..."/> + + +Installing the webserver instance before starting it ... + @@ -136,7 +149,7 @@ Maven has determined your webserve Restarting the - webserver instance ..."/> + webserver instance ... @@ -144,7 +157,7 @@ Maven has determined your webserve Installing the - webserver instance before starting it ..."/> + webserver instance before starting it ... @@ -161,7 +174,7 @@ Maven has determined your webserve - + @@ -198,27 +211,32 @@ Maven has determined your webserve - Stopping the - webserver instance before deleting it..."/> + Stopping the + webserver instance before deleting it... - Deleting the - webserver instance ..."/> + Deleting the + webserver instance ... + + + + + The - webserver instance is already cleaned!"/> + webserver instance is already cleaned! - + \ No newline at end of file diff --git a/webserver/plugin.properties b/webserver/plugin.properties index a0ac2aa0..cb5f242b 100644 --- a/webserver/plugin.properties +++ b/webserver/plugin.properties @@ -61,7 +61,7 @@ maven.webserver.host=localhost maven.webserver.url=http://${maven.webserver.host}:${maven.webserver.port.http}/index.html # -# The directory out of which you will server your documents -# FIXME: Let's make a webapp plugin and put this property there +# The root directory out of which you will server will serve your documents # -maven.webapp.dir=${maven.webserver.dir}/webapps/ROOT +maven.webserver.root=${maven.webserver.dir}/webapps/ROOT + diff --git a/webserver/src/plugin-resources/apache-2.x.jelly b/webserver/src/plugin-resources/apache-2.x.jelly index 62f7bd6e..7aff240a 100644 --- a/webserver/src/plugin-resources/apache-2.x.jelly +++ b/webserver/src/plugin-resources/apache-2.x.jelly @@ -7,8 +7,7 @@ + type="file" property="maven.webserver.apache2x.has.conf" value="true" /> To use this webserver, you must have a project specific @@ -17,15 +16,27 @@ configuration file at the following location: ${maven.webserver.conf.dir}/conf/httpd.conf + + + + + + + + + - + + @@ -35,26 +46,185 @@ ${maven.webserver.conf.dir}/conf/httpd.conf + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - Not implemented yet! - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - Not implemented yet! - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - Not implemented yet! - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +