Changeset 18275 for greenstone3/trunk


Ignore:
Timestamp:
2008-12-18T19:29:10+13:00 (15 years ago)
Author:
cc108
Message:

replace special escape character

File:
1 edited

Legend:

Unmodified
Added
Removed
  • greenstone3/trunk/src/java/org/greenstone/admin/gui/MatExtensionInstallation.java

    r18264 r18275  
    158158            while ((strLine = br.readLine()) != null)   {
    159159                if(strLine.indexOf("web@xml@path")!=-1){
    160                 webPath = webPath.replaceAll("\\\\","/");
     160                webPath = webPath.replaceAll("\\\\","@");
    161161                strLine = strLine.replaceAll("web@xml@path",webPath);
    162                 strLine = strLine.replaceAll("/","\\\\");
     162                strLine = strLine.replaceAll("@","\\\\");
    163163                }
    164164                message = message+ "\n "+ strLine;
Note: See TracChangeset for help on using the changeset viewer.