View | Details | Raw Unified | Return to bug 57701
Collapse All | Expand All

(-)java/org/apache/catalina/ant/catalina.tasks (+1 lines)
Lines 20-25 Link Here
20
reload=org.apache.catalina.ant.ReloadTask
20
reload=org.apache.catalina.ant.ReloadTask
21
stop=org.apache.catalina.ant.StopTask
21
stop=org.apache.catalina.ant.StopTask
22
undeploy=org.apache.catalina.ant.UndeployTask
22
undeploy=org.apache.catalina.ant.UndeployTask
23
redeploy=org.apache.catalina.ant.RedeployTask
23
resources=org.apache.catalina.ant.ResourcesTask
24
resources=org.apache.catalina.ant.ResourcesTask
24
sessions=org.apache.catalina.ant.SessionsTask
25
sessions=org.apache.catalina.ant.SessionsTask
25
validator=org.apache.catalina.ant.ValidatorTask
26
validator=org.apache.catalina.ant.ValidatorTask
(-)java/org/apache/catalina/manager/HTMLManagerServlet.java (-24 / +59 lines)
Lines 147-153 Link Here
147
        } else if (command.equals("/upload") || command.equals("/deploy") ||
147
        } else if (command.equals("/upload") || command.equals("/deploy") ||
148
                command.equals("/reload") || command.equals("/undeploy") ||
148
                command.equals("/reload") || command.equals("/undeploy") ||
149
                command.equals("/expire") || command.equals("/start") ||
149
                command.equals("/expire") || command.equals("/start") ||
150
                command.equals("/stop")) {
150
                command.equals("/stop") || command.equals("/redeploy") ) {
151
            message =
151
            message =
152
                smClient.getString("managerServlet.postCommand", command);
152
                smClient.getString("managerServlet.postCommand", command);
153
        } else {
153
        } else {
Lines 209-214 Link Here
209
                    smClient);
209
                    smClient);
210
        } else if (command.equals("/reload")) {
210
        } else if (command.equals("/reload")) {
211
            message = reload(cn, smClient);
211
            message = reload(cn, smClient);
212
        } else if (command.equals("/redeploy")) {
213
            message = redeploy(cn, smClient);
212
        } else if (command.equals("/undeploy")) {
214
        } else if (command.equals("/undeploy")) {
213
            message = undeploy(cn, smClient);
215
            message = undeploy(cn, smClient);
214
        } else if (command.equals("/expire")) {
216
        } else if (command.equals("/expire")) {
Lines 397-402 Link Here
397
        String appsStart = smClient.getString("htmlManagerServlet.appsStart");
399
        String appsStart = smClient.getString("htmlManagerServlet.appsStart");
398
        String appsStop = smClient.getString("htmlManagerServlet.appsStop");
400
        String appsStop = smClient.getString("htmlManagerServlet.appsStop");
399
        String appsReload = smClient.getString("htmlManagerServlet.appsReload");
401
        String appsReload = smClient.getString("htmlManagerServlet.appsReload");
402
        String appsRedeploy = smClient.getString("htmlManagerServlet.appsRedeploy");
400
        String appsUndeploy =
403
        String appsUndeploy =
401
            smClient.getString("htmlManagerServlet.appsUndeploy");
404
            smClient.getString("htmlManagerServlet.appsUndeploy");
402
        String appsExpire = smClient.getString("htmlManagerServlet.appsExpire");
405
        String appsExpire = smClient.getString("htmlManagerServlet.appsExpire");
Lines 472-478 Link Here
472
                writer.print
475
                writer.print
473
                    (MessageFormat.format(APPS_ROW_DETAILS_SECTION, args));
476
                    (MessageFormat.format(APPS_ROW_DETAILS_SECTION, args));
474
477
475
                args = new Object[14];
478
                args = new Object[16];
476
                args[0] = RequestUtil.filter(response.encodeURL(request
479
                args[0] = RequestUtil.filter(response.encodeURL(request
477
                        .getContextPath() + "/html/start?" + pathVersion));
480
                        .getContextPath() + "/html/start?" + pathVersion));
478
                args[1] = appsStart;
481
                args[1] = appsStart;
Lines 486-501 Link Here
486
                        .getContextPath() + "/html/undeploy?" + pathVersion));
489
                        .getContextPath() + "/html/undeploy?" + pathVersion));
487
                args[7] = appsUndeploy;
490
                args[7] = appsUndeploy;
488
                args[8] = RequestUtil.filter(response.encodeURL(request
491
                args[8] = RequestUtil.filter(response.encodeURL(request
492
                        .getContextPath() + "/html/redeploy?" + pathVersion));
493
                args[9] = appsRedeploy;
494
                args[10] = RequestUtil.filter(response.encodeURL(request
489
                        .getContextPath() + "/html/expire?" + pathVersion));
495
                        .getContextPath() + "/html/expire?" + pathVersion));
490
                args[9] = appsExpire;
496
                args[11] = appsExpire;
491
                args[10] = smClient.getString("htmlManagerServlet.expire.explain");
497
                args[12] = smClient.getString("htmlManagerServlet.expire.explain");
492
                if (manager == null) {
498
                if (manager == null) {
493
                    args[11] = smClient.getString("htmlManagerServlet.noManager");
499
                    args[13] = smClient.getString("htmlManagerServlet.noManager");
494
                } else {
500
                } else {
495
                    args[11] = Integer.valueOf(ctxt.getSessionTimeout());
501
                    args[13] = Integer.valueOf(ctxt.getSessionTimeout());
496
                }
502
                }
497
                args[12] = smClient.getString("htmlManagerServlet.expire.unit");
503
                args[14] = smClient.getString("htmlManagerServlet.expire.unit");
498
                args[13] = highlightColor;
504
                args[15] = highlightColor;
499
505
500
                if (ctxt.getName().equals(this.context.getName())) {
506
                if (ctxt.getName().equals(this.context.getName())) {
501
                    writer.print(MessageFormat.format(
507
                    writer.print(MessageFormat.format(
Lines 610-615 Link Here
610
    }
616
    }
611
617
612
    /**
618
    /**
619
     * Redeploy the web application at the specified context path.
620
     *
621
     * @see ManagerServlet#redeploy(PrintWriter, ContextName, StringManager)
622
     *
623
     * @param cn Name of the application to be redeployed
624
     * @param smClient  StringManager for the client's locale
625
     * @return message String
626
     */
627
    protected String redeploy(ContextName cn, StringManager smClient) {
628
629
        StringWriter stringWriter = new StringWriter();
630
        PrintWriter printWriter = new PrintWriter(stringWriter);
631
632
        super.redeploy(printWriter, cn, smClient);
633
634
        return stringWriter.toString();
635
    }
636
637
638
    /**
613
     * Undeploy the web application at the specified context path.
639
     * Undeploy the web application at the specified context path.
614
     *
640
     *
615
     * @see ManagerServlet#undeploy(PrintWriter, ContextName, StringManager)
641
     * @see ManagerServlet#undeploy(PrintWriter, ContextName, StringManager)
Lines 1114-1132 Link Here
1114
        "<small><a href=\"{4}\">{5}</a></small></td>\n";
1140
        "<small><a href=\"{4}\">{5}</a></small></td>\n";
1115
1141
1116
    private static final String MANAGER_APP_ROW_BUTTON_SECTION =
1142
    private static final String MANAGER_APP_ROW_BUTTON_SECTION =
1117
        " <td class=\"row-left\" bgcolor=\"{13}\">\n" +
1143
        " <td class=\"row-left\" bgcolor=\"{15}\">\n" +
1118
        "  <small>\n" +
1144
        "  <small>\n" +
1119
        "  &nbsp;{1}&nbsp;\n" +
1145
        "  &nbsp;{1}&nbsp;\n" +
1120
        "  &nbsp;{3}&nbsp;\n" +
1146
        "  &nbsp;{3}&nbsp;\n" +
1121
        "  &nbsp;{5}&nbsp;\n" +
1147
        "  &nbsp;{5}&nbsp;\n" +
1122
        "  &nbsp;{7}&nbsp;\n" +
1148
        "  &nbsp;{7}&nbsp;\n" +
1149
        "  &nbsp;{9}&nbsp;\n" +
1123
        "  </small>\n" +
1150
        "  </small>\n" +
1124
        " </td>\n" +
1151
        " </td>\n" +
1125
        "</tr><tr>\n" +
1152
        "</tr><tr>\n" +
1126
        " <td class=\"row-left\" bgcolor=\"{13}\">\n" +
1153
        " <td class=\"row-left\" bgcolor=\"{15}\">\n" +
1127
        "  <form method=\"POST\" action=\"{8}\">\n" +
1154
        "  <form method=\"POST\" action=\"{10}\">\n" +
1128
        "  <small>\n" +
1155
        "  <small>\n" +
1129
        "  &nbsp;<input type=\"submit\" value=\"{9}\">&nbsp;{10}&nbsp;<input type=\"text\" name=\"idle\" size=\"5\" value=\"{11}\">&nbsp;{12}&nbsp;\n" +
1156
        "  &nbsp;<input type=\"submit\" value=\"{11}\">&nbsp;{12}&nbsp;<input type=\"text\" name=\"idle\" size=\"5\" value=\"{13}\">&nbsp;{14}&nbsp;\n" +
1130
        "  </small>\n" +
1157
        "  </small>\n" +
1131
        "  </form>\n" +
1158
        "  </form>\n" +
1132
        " </td>\n" +
1159
        " </td>\n" +
Lines 1133-1139 Link Here
1133
        "</tr>\n";
1160
        "</tr>\n";
1134
1161
1135
    private static final String STARTED_DEPLOYED_APPS_ROW_BUTTON_SECTION =
1162
    private static final String STARTED_DEPLOYED_APPS_ROW_BUTTON_SECTION =
1136
        " <td class=\"row-left\" bgcolor=\"{13}\">\n" +
1163
        " <td class=\"row-left\" bgcolor=\"{15}\">\n" +
1137
        "  &nbsp;<small>{1}</small>&nbsp;\n" +
1164
        "  &nbsp;<small>{1}</small>&nbsp;\n" +
1138
        "  <form class=\"inline\" method=\"POST\" action=\"{2}\">" +
1165
        "  <form class=\"inline\" method=\"POST\" action=\"{2}\">" +
1139
        "  <small><input type=\"submit\" value=\"{3}\"></small>" +
1166
        "  <small><input type=\"submit\" value=\"{3}\"></small>" +
Lines 1144-1155 Link Here
1144
        "  <form class=\"inline\" method=\"POST\" action=\"{6}\">" +
1171
        "  <form class=\"inline\" method=\"POST\" action=\"{6}\">" +
1145
        "  <small><input type=\"submit\" value=\"{7}\"></small>" +
1172
        "  <small><input type=\"submit\" value=\"{7}\"></small>" +
1146
        "  </form>\n" +
1173
        "  </form>\n" +
1174
        "  <form class=\"inline\" method=\"POST\" action=\"{8}\">" +
1175
        "  <small><input type=\"submit\" value=\"{9}\"></small>" +
1176
        "  </form>\n" +
1147
        " </td>\n" +
1177
        " </td>\n" +
1148
        " </tr><tr>\n" +
1178
        " </tr><tr>\n" +
1149
        " <td class=\"row-left\" bgcolor=\"{13}\">\n" +
1179
        " <td class=\"row-left\" bgcolor=\"{15}\">\n" +
1150
        "  <form method=\"POST\" action=\"{8}\">\n" +
1180
        "  <form method=\"POST\" action=\"{10}\">\n" +
1151
        "  <small>\n" +
1181
        "  <small>\n" +
1152
        "  &nbsp;<input type=\"submit\" value=\"{9}\">&nbsp;{10}&nbsp;<input type=\"text\" name=\"idle\" size=\"5\" value=\"{11}\">&nbsp;{12}&nbsp;\n" +
1182
        "  &nbsp;<input type=\"submit\" value=\"{11}\">&nbsp;{12}&nbsp;<input type=\"text\" name=\"idle\" size=\"5\" value=\"{13}\">&nbsp;{14}&nbsp;\n" +
1153
        "  </small>\n" +
1183
        "  </small>\n" +
1154
        "  </form>\n" +
1184
        "  </form>\n" +
1155
        " </td>\n" +
1185
        " </td>\n" +
Lines 1156-1169 Link Here
1156
        "</tr>\n";
1186
        "</tr>\n";
1157
1187
1158
    private static final String STOPPED_DEPLOYED_APPS_ROW_BUTTON_SECTION =
1188
    private static final String STOPPED_DEPLOYED_APPS_ROW_BUTTON_SECTION =
1159
        " <td class=\"row-left\" bgcolor=\"{13}\" rowspan=\"2\">\n" +
1189
        " <td class=\"row-left\" bgcolor=\"{15}\" rowspan=\"2\">\n" +
1160
        "  <form class=\"inline\" method=\"POST\" action=\"{0}\">" +
1190
        "  <form class=\"inline\" method=\"POST\" action=\"{0}\">" +
1161
        "  <small><input type=\"submit\" value=\"{1}\"></small>" +
1191
        "  <small><input type=\"submit\" value=\"{1}\"></small>" +
1162
        "  </form>\n" +
1192
        "  </form>\n" +
1163
        "  &nbsp;<small>{3}</small>&nbsp;\n" +
1193
        "  &nbsp;<small>{3}</small>&nbsp;\n" +
1164
        "  &nbsp;<small>{5}</small>&nbsp;\n" +
1194
        "  &nbsp;<small>{5}</small>&nbsp;\n" +
1165
        "  <form class=\"inline\" method=\"POST\" action=\"{6}\">" +
1195
        "  &nbsp;<small>{7}</small>&nbsp;\n" +
1166
        "  <small><input type=\"submit\" value=\"{7}\"></small>" +
1196
        "  <form class=\"inline\" method=\"POST\" action=\"{8}\">" +
1197
        "  <small><input type=\"submit\" value=\"{9}\"></small>" +
1167
        "  </form>\n" +
1198
        "  </form>\n" +
1168
        " </td>\n" +
1199
        " </td>\n" +
1169
        "</tr>\n<tr></tr>\n";
1200
        "</tr>\n<tr></tr>\n";
Lines 1177-1189 Link Here
1177
        "  <form class=\"inline\" method=\"POST\" action=\"{4}\">" +
1208
        "  <form class=\"inline\" method=\"POST\" action=\"{4}\">" +
1178
        "  <small><input type=\"submit\" value=\"{5}\"></small>" +
1209
        "  <small><input type=\"submit\" value=\"{5}\"></small>" +
1179
        "  </form>\n" +
1210
        "  </form>\n" +
1180
        "  &nbsp;<small>{7}</small>&nbsp;\n" +
1211
        "  <form class=\"inline\" method=\"POST\" action=\"{6}\">" +
1212
        "  <small><input type=\"submit\" value=\"{7}\"></small>" +
1213
        "  </form>\n" +
1214
        "  &nbsp;<small>{9}</small>&nbsp;\n" +
1181
        " </td>\n" +
1215
        " </td>\n" +
1182
        " </tr><tr>\n" +
1216
        " </tr><tr>\n" +
1183
        " <td class=\"row-left\" bgcolor=\"{13}\">\n" +
1217
        " <td class=\"row-left\" bgcolor=\"{15}\">\n" +
1184
        "  <form method=\"POST\" action=\"{8}\">\n" +
1218
        "  <form method=\"POST\" action=\"{10}\">\n" +
1185
        "  <small>\n" +
1219
        "  <small>\n" +
1186
        "  &nbsp;<input type=\"submit\" value=\"{9}\">&nbsp;{10}&nbsp;<input type=\"text\" name=\"idle\" size=\"5\" value=\"{11}\">&nbsp;{12}&nbsp;\n" +
1220
        "  &nbsp;<input type=\"submit\" value=\"{11}\">&nbsp;{12}&nbsp;<input type=\"text\" name=\"idle\" size=\"5\" value=\"{13}\">&nbsp;{14}&nbsp;\n" +
1187
        "  </small>\n" +
1221
        "  </small>\n" +
1188
        "  </form>\n" +
1222
        "  </form>\n" +
1189
        " </td>\n" +
1223
        " </td>\n" +
Lines 1190-1196 Link Here
1190
        "</tr>\n";
1224
        "</tr>\n";
1191
1225
1192
    private static final String STOPPED_NONDEPLOYED_APPS_ROW_BUTTON_SECTION =
1226
    private static final String STOPPED_NONDEPLOYED_APPS_ROW_BUTTON_SECTION =
1193
        " <td class=\"row-left\" bgcolor=\"{13}\" rowspan=\"2\">\n" +
1227
        " <td class=\"row-left\" bgcolor=\"{15}\" rowspan=\"2\">\n" +
1194
        "  <form class=\"inline\" method=\"POST\" action=\"{0}\">" +
1228
        "  <form class=\"inline\" method=\"POST\" action=\"{0}\">" +
1195
        "  <small><input type=\"submit\" value=\"{1}\"></small>" +
1229
        "  <small><input type=\"submit\" value=\"{1}\"></small>" +
1196
        "  </form>\n" +
1230
        "  </form>\n" +
Lines 1197-1202 Link Here
1197
        "  &nbsp;<small>{3}</small>&nbsp;\n" +
1231
        "  &nbsp;<small>{3}</small>&nbsp;\n" +
1198
        "  &nbsp;<small>{5}</small>&nbsp;\n" +
1232
        "  &nbsp;<small>{5}</small>&nbsp;\n" +
1199
        "  &nbsp;<small>{7}</small>&nbsp;\n" +
1233
        "  &nbsp;<small>{7}</small>&nbsp;\n" +
1234
        "  &nbsp;<small>{9}</small>&nbsp;\n" +
1200
        " </td>\n" +
1235
        " </td>\n" +
1201
        "</tr>\n<tr></tr>\n";
1236
        "</tr>\n<tr></tr>\n";
1202
1237
(-)java/org/apache/catalina/manager/LocalStrings.properties (+2 lines)
Lines 17-22 Link Here
17
htmlManagerServlet.appsName=Display Name
17
htmlManagerServlet.appsName=Display Name
18
htmlManagerServlet.appsPath=Path
18
htmlManagerServlet.appsPath=Path
19
htmlManagerServlet.appsReload=Reload
19
htmlManagerServlet.appsReload=Reload
20
htmlManagerServlet.appsRedeploy=Redeploy
20
htmlManagerServlet.appsUndeploy=Undeploy
21
htmlManagerServlet.appsUndeploy=Undeploy
21
htmlManagerServlet.appsVersion=Version
22
htmlManagerServlet.appsVersion=Version
22
htmlManagerServlet.appsExpire=Expire sessions
23
htmlManagerServlet.appsExpire=Expire sessions
Lines 97-102 Link Here
97
managerServlet.objectNameFail=FAIL - Unable to register object name [{0}] for Manager Servlet
98
managerServlet.objectNameFail=FAIL - Unable to register object name [{0}] for Manager Servlet
98
managerServlet.postCommand=FAIL - Tried to use command {0} via a GET request but POST is required
99
managerServlet.postCommand=FAIL - Tried to use command {0} via a GET request but POST is required
99
managerServlet.reloaded=OK - Reloaded application at context path {0}
100
managerServlet.reloaded=OK - Reloaded application at context path {0}
101
managerServlet.redeployed=OK - Redeployed application at context path {0}
100
managerServlet.resourcesAll=OK - Listed global resources of all types
102
managerServlet.resourcesAll=OK - Listed global resources of all types
101
managerServlet.resourcesType=OK - Listed global resources of type {0}
103
managerServlet.resourcesType=OK - Listed global resources of type {0}
102
managerServlet.saveFail=FAIL - Configuration save failed: {0}
104
managerServlet.saveFail=FAIL - Configuration save failed: {0}
(-)java/org/apache/catalina/manager/ManagerServlet.java (-1 / +74 lines)
Lines 359-364 Link Here
359
            stop(writer, cn, smClient);
359
            stop(writer, cn, smClient);
360
        } else if (command.equals("/undeploy")) {
360
        } else if (command.equals("/undeploy")) {
361
            undeploy(writer, cn, smClient);
361
            undeploy(writer, cn, smClient);
362
        } else if (command.equals("/redeploy")) {
363
            redeploy(writer, cn, smClient);
362
        } else if (command.equals("/findleaks")) {
364
        } else if (command.equals("/findleaks")) {
363
            findleaks(statusLine, writer, smClient);
365
            findleaks(statusLine, writer, smClient);
364
        } else if (command.equals("/vminfo")) {
366
        } else if (command.equals("/vminfo")) {
Lines 1006-1012 Link Here
1006
1008
1007
    }
1009
    }
1008
1010
1009
1010
    /**
1011
    /**
1011
     * Render a list of available global JNDI resources.
1012
     * Render a list of available global JNDI resources.
1012
     *
1013
     *
Lines 1425-1430 Link Here
1425
    }
1426
    }
1426
1427
1427
1428
1429
    /**
1430
     * Redeploy the web application at the specified context path.
1431
     *
1432
     * @param writer Writer to render to
1433
     * @param cn Name of the application to be redeployed
1434
     */
1435
    protected void redeploy(PrintWriter writer, ContextName cn,
1436
            StringManager smClient) {
1437
1438
        if (debug >= 1)
1439
            log("redeploy: Redeploying web application '" + cn + "'");
1440
1441
        if (!validateContextName(cn, writer, smClient)) {
1442
            return;
1443
        }
1444
1445
        String name = cn.getName();
1446
        String displayPath = cn.getDisplayName();
1447
1448
        try {
1449
1450
            // Validate the Context of the specified application
1451
            Context context = (Context) host.findChild(name);
1452
            if (context == null) {
1453
                writer.println(smClient.getString("managerServlet.noContext",
1454
                        RequestUtil.filter(displayPath)));
1455
                return;
1456
            }
1457
1458
            if (!isDeployed(name)) {
1459
                writer.println(smClient.getString("managerServlet.notDeployed",
1460
                        RequestUtil.filter(displayPath)));
1461
                return;
1462
            }
1463
1464
            if (isServiced(name)) {
1465
                writer.println(smClient.getString("managerServlet.inService", displayPath));
1466
            } else {
1467
                addServiced(name);
1468
                try {
1469
                    // Undeploy without touching files
1470
                    undeployInPlace(name);
1471
                    // Perform redeployment
1472
                    check(name);
1473
                } finally {
1474
                    removeServiced(name);
1475
                }
1476
            }
1477
1478
            writer.println(smClient.getString("managerServlet.redeployed",
1479
                    cn.getDisplayName()));
1480
        } catch (Throwable t) {
1481
            ExceptionUtils.handleThrowable(t);
1482
            log("ManagerServlet.redeploy[" + cn.getDisplayName() + "]", t);
1483
            writer.println(smClient.getString("managerServlet.exception",
1484
                    t.toString()));
1485
        }
1486
1487
    }
1488
1489
1428
    // -------------------------------------------------------- Support Methods
1490
    // -------------------------------------------------------- Support Methods
1429
1491
1430
1492
Lines 1453-1458 Link Here
1453
1515
1454
1516
1455
    /**
1517
    /**
1518
     * Invoke the undeploy method on the deployer.
1519
     */
1520
    protected void undeployInPlace(String name)
1521
        throws Exception {
1522
        String[] params = { name };
1523
        String[] signature = { "java.lang.String" };
1524
        mBeanServer.invoke(oname, "undeploy", params, signature);
1525
    }
1526
1527
1528
    /**
1456
     * Invoke the isServiced method on the deployer.
1529
     * Invoke the isServiced method on the deployer.
1457
     */
1530
     */
1458
    protected boolean isServiced(String name)
1531
    protected boolean isServiced(String name)
(-)java/org/apache/catalina/startup/HostConfig.java (+14 lines)
Lines 1667-1672 Link Here
1667
    }
1667
    }
1668
1668
1669
    /**
1669
    /**
1670
     * Undeploy a specific web application. If autoDeploy is enabled, this
1671
     * method does nothing to prevent the web application from being
1672
     * automatically deployed again.
1673
     * 
1674
     * @param name The name of the web application to undeploy
1675
     */
1676
    public void undeploy(String name){
1677
        DeployedApplication app = deployed.get(name);
1678
        if(app != null){
1679
            undeploy(app);
1680
        }
1681
    }
1682
1683
    /**
1670
     * Add a new Context to be managed by us.
1684
     * Add a new Context to be managed by us.
1671
     * Entry point for the admin webapp, and other JMX Context controllers.
1685
     * Entry point for the admin webapp, and other JMX Context controllers.
1672
     */
1686
     */
(-)java/org/apache/catalina/startup/mbeans-descriptors.xml (+9 lines)
Lines 111-116 Link Here
111
               returnType="void">
111
               returnType="void">
112
    </operation>
112
    </operation>
113
113
114
    <operation name="undeploy"
115
               description="Undeploy a web application identified by name"
116
               impact="ACTION"
117
               returnType="void">
118
      <parameter name="name"
119
                 description="Application name"
120
                 type="java.lang.String"/>
121
    </operation>
122
114
    <operation name="getDeploymentTime"
123
    <operation name="getDeploymentTime"
115
               description="Get the instant where an application was deployed"
124
               description="Get the instant where an application was deployed"
116
               impact="ACTION"
125
               impact="ACTION"
(-)res/deployer/build.xml (+5 lines)
Lines 101-106 Link Here
101
              path="${path}"/>
101
              path="${path}"/>
102
  </target>
102
  </target>
103
103
104
  <target name="redeploy" description="Redeploy web application">
105
    <start url="${url}" username="${username}" password="${password}"
106
           path="${path}"/>
107
  </target>
108
104
  <!-- Webapp lifecycle control -->
109
  <!-- Webapp lifecycle control -->
105
  <target name="start" description="Start web application">
110
  <target name="start" description="Start web application">
106
    <start url="${url}" username="${username}" password="${password}"
111
    <start url="${url}" username="${username}" password="${password}"

Return to bug 57701