This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

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

(-)TomcatManager.java (-2 / +12 lines)
Lines 227-232 Link Here
227
                    }
227
                    }
228
                }
228
                }
229
            }
229
            }
230
            //On OpenVMS, tomcat directory does not have "." in the name, instead
231
            //it has underscores.
232
            if (org.openide.util.Utilities.getOperatingSystem() == org.openide.util.Utilities.OS_VMS) {
233
                 catalinaBase = catalinaBase.replace('.', '_');
234
                 catalinaHome = catalinaHome.replace('.', '_');
235
            }
230
        }
236
        }
231
        
237
        
232
        //parse the old format for backward compatibility
238
        //parse the old format for backward compatibility
Lines 1250-1256 Link Here
1250
            String [] patternTo = new String [] { 
1256
            String [] patternTo = new String [] { 
1251
                null, 
1257
                null, 
1252
                null, 
1258
                null, 
1253
                "<Context path=\"\" docBase=\""+new File (homeDir, "webapps/ROOT").getAbsolutePath ()+"\" debug=\"0\"/>\n"+
1259
                //Must escape '$' since it is valid file specification character on
1260
                //Windows, VMS and etc.
1261
                "<Context path=\"\" docBase=\""+new File (homeDir, "webapps/ROOT").getAbsolutePath ().replaceAll ("\\$", "\\$\\$")+"\" debug=\"0\"/>\n"+
1254
                // jsp/servlet examples can be created as sample projects now, so this doesn't need to be here anymore
1262
                // jsp/servlet examples can be created as sample projects now, so this doesn't need to be here anymore
1255
                //"<Context path=\"/jsp-examples\" docBase=\""+new File (homeDir, "webapps/jsp-examples").getAbsolutePath ()+"\" debug=\"0\"/>\n"+
1263
                //"<Context path=\"/jsp-examples\" docBase=\""+new File (homeDir, "webapps/jsp-examples").getAbsolutePath ()+"\" debug=\"0\"/>\n"+
1256
                //"<Context path=\"/servlets-examples\" docBase=\""+new File (homeDir, "webapps/servlets-examples").getAbsolutePath ()+"\" debug=\"0\"/>\n"+
1264
                //"<Context path=\"/servlets-examples\" docBase=\""+new File (homeDir, "webapps/servlets-examples").getAbsolutePath ()+"\" debug=\"0\"/>\n"+
Lines 1259-1265 Link Here
1259
                null, 
1267
                null, 
1260
                "docBase=\"${catalina.home}/server/webapps/admin\"",   // NOI18N
1268
                "docBase=\"${catalina.home}/server/webapps/admin\"",   // NOI18N
1261
                "docBase=\"${catalina.home}/server/webapps/manager\"",   // NOI18N
1269
                "docBase=\"${catalina.home}/server/webapps/manager\"",   // NOI18N
1262
                "docBase=\""+new File (homeDir, "webapps/balancer").getAbsolutePath ()+"\""   // NOI18N
1270
                //Must escape '$' since it is valid file specification character on
1271
                //Windows, VMS and etc.
1272
                "docBase=\""+new File (homeDir, "webapps/balancer").getAbsolutePath ().replaceAll ("\\$", "\\$\\$")+"\""   // NOI18N
1263
            };
1273
            };
1264
            for (int i = 0; i<files.length; i++) {
1274
            for (int i = 0; i<files.length; i++) {
1265
                // get folder from, to, name and ext
1275
                // get folder from, to, name and ext

Return to bug 49420