larryi 01/09/22 14:13:27
Modified: src/admin/test test.jsp
Log:
Update to set a "not.standalone" property if port 80 is being used. With
Ant 1.4, the test-tomcat.xml will be able to skip certain tests that cause
problems by including: unless="not.standalone"
Revision Changes Path
1.18 +6 -2 jakarta-tomcat/src/admin/test/test.jsp
Index: test.jsp
===================================================================
RCS file: /home/cvs/jakarta-tomcat/src/admin/test/test.jsp,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- test.jsp 2001/09/22 00:53:35 1.17
+++ test.jsp 2001/09/22 21:13:27 1.18
@@ -21,11 +21,14 @@
if( request.getParameter("target") == null ) return;
String port = request.getParameter("port");
- String colonPort;
+ String colonPort=null;
+ String notStandAlone=null;
try {
colonPort = ":" + port;
- if ( Integer.parseInt(port) == 80 )
+ if ( Integer.parseInt(port) == 80 ) {
colonPort = "";
+ notStandAlone="Not standalone";
+ }
} catch (Exception e) {
out.println("ERROR: Invalid port number!");
return;
@@ -49,6 +52,7 @@
<ant:property name="colonPort" value="<%= colonPort %>" />
<ant:property name="http.protocol" param="server.proto" />
<ant:property name="host" param="host" />
+ <ant:property name="not.standalone" value="<%= notStandAlone %>" />
</ant:ant>
<% // Test completed, display the results ( outType=none means
// Gtest doesn't generate any output ( but we have to wait untill