Index: TomcatManager.java =================================================================== RCS file: /cvs/tomcatint/tomcat5/src/org/netbeans/modules/tomcat5/TomcatManager.java,v retrieving revision 1.59 diff -u -r1.59 TomcatManager.java --- TomcatManager.java 20 Sep 2004 08:01:49 -0000 1.59 +++ TomcatManager.java 22 Sep 2004 20:47:22 -0000 @@ -227,6 +227,12 @@ } } } + //On OpenVMS, tomcat directory does not have "." in the name, instead + //it has underscores. + if (org.openide.util.Utilities.getOperatingSystem() == org.openide.util.Utilities.OS_VMS) { + catalinaBase = catalinaBase.replace('.', '_'); + catalinaHome = catalinaHome.replace('.', '_'); + } } //parse the old format for backward compatibility @@ -1250,7 +1256,9 @@ String [] patternTo = new String [] { null, null, - "\n"+ + //Must escape '$' since it is valid file specification character on + //Windows, VMS and etc. + "\n"+ // jsp/servlet examples can be created as sample projects now, so this doesn't need to be here anymore //"\n"+ //"\n"+ @@ -1259,7 +1267,9 @@ null, "docBase=\"${catalina.home}/server/webapps/admin\"", // NOI18N "docBase=\"${catalina.home}/server/webapps/manager\"", // NOI18N - "docBase=\""+new File (homeDir, "webapps/balancer").getAbsolutePath ()+"\"" // NOI18N + //Must escape '$' since it is valid file specification character on + //Windows, VMS and etc. + "docBase=\""+new File (homeDir, "webapps/balancer").getAbsolutePath ().replaceAll ("\\$", "\\$\\$")+"\"" // NOI18N }; for (int i = 0; i