From 078e8cfdfa70e1fc7de8a7bc33711eb791d18054 Mon Sep 17 00:00:00 2001 From: plynch Date: Thu, 22 May 2003 23:52:00 +0000 Subject: [PATCH] o sometimes properties fetched using the ${some.property} notation don't always come through. in particular when I added a maven.webserver.port.http calue to my project.properties and ran the plugin, the plugin failed on the check for maven.webserver.test.socket because the ${maven.webserver.test.socket} notation was used. when I switched to context.getVariable('maven.webserver.test.socket') it found my project.properties specified value no problem. Amazing.... o added maven.appserver properties to the filterset so that the two plugins can integrate better. git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113433 13f79535-47bb-0310-9956-ffa450edef68 --- webserver/plugin.jelly | 77 +++++++++++++++++++++++++++++++----------- 1 file changed, 57 insertions(+), 20 deletions(-) diff --git a/webserver/plugin.jelly b/webserver/plugin.jelly index 9d4c4d32..b9b62bbf 100644 --- a/webserver/plugin.jelly +++ b/webserver/plugin.jelly @@ -187,43 +187,80 @@ + + + + + + + value="${context.getVariable('maven.webserver.home.path')}" /> + value="${context.getVariable('maven.webserver.name')}" /> + value="${context.getVariable('maven.webserver.version')}" /> + value="${context.getVariable('maven.webserver.port.http')}" /> + value="${context.getVariable('maven.webserver.port.https')}" /> + value="${context.getVariable('maven.webserver.port.A')}" /> + value="${context.getVariable('maven.webserver.port.B')}" /> + value="${context.getVariable('maven.webserver.port.C')}" /> + value="${context.getVariable('maven.webserver.conf.dir.path')}" /> + value="${context.getVariable('maven.webserver.host')}" /> + value="${context.getVariable('maven.webserver.dir.path')}" /> + value="${context.getVariable('maven.webserver.root.path')}" /> + + + + + + + + + + + + + + + - + - + @@ -232,8 +269,8 @@ - - + + @@ -243,14 +280,14 @@ - installed + installed not installed - started + started not started @@ -263,7 +300,7 @@ Maven has determined your webserve -Maven has determined your webserver instance is in directory [ ] and using socket on host . +Maven has determined your webserver instance is in directory [ ] and using socket on host .