Downloads Documentation Community Contribute Demo






Show Sidebar
Login | Register
Show
Ignore:
Timestamp:
05/20/08 17:00:47 (8 months ago)
Author:
tmdugan
Message:

-- dss

* cleaned up utility methods

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • openmrs-modules/dss/src/org/openmrs/module/dss/CompilingClassLoader.java

    r4214 r4278  
    6060                String property = adminService 
    6161                                .getGlobalProperty("dss.classRuleDirectory"); 
    62                 String classDirectory = Util.processFileDirectory(property); 
     62                String classDirectory = IOUtil.formatDirectoryName(property); 
    6363 
    6464                String classpath = getClasspath(); 
     
    159159                String property = adminService.getGlobalProperty("dss.javaRuleDirectory"); 
    160160                 
    161                 String javaRuleDirectory = Util.processFileDirectory(property); 
     161                String javaRuleDirectory = IOUtil.formatDirectoryName(property); 
    162162 
    163163                int errorCode = -1; 
     
    185185                 
    186186                String property = adminService.getGlobalProperty("dss.rulePackagePrefix"); 
    187                 String rulePackagePrefix = Util.processPackagePrefix(property); 
     187                String rulePackagePrefix = Util.formatPackagePrefix(property); 
    188188                 
    189189                property = adminService.getGlobalProperty("dss.javaRuleDirectory"); 
    190                 String javaRuleDirectory = Util.processFileDirectory(property); 
     190                String javaRuleDirectory = IOUtil.formatDirectoryName(property); 
    191191                 
    192192                property = adminService.getGlobalProperty("dss.classRuleDirectory"); 
    193                 String classRulesDirectory = Util.processFileDirectory(property); 
     193                String classRulesDirectory = IOUtil.formatDirectoryName(property); 
    194194                 
    195195                property = adminService.getGlobalProperty("dss.archivedMLMRuleDirectory"); 
    196                 String archivedMLMRuleDirectory = Util.processFileDirectory(property); 
     196                String archivedMLMRuleDirectory = IOUtil.formatDirectoryName(property); 
    197197                 
    198198                property = adminService.getGlobalProperty("dss.archivedJavaRuleDirectory"); 
    199                 String archivedJavaRuleDirectory = Util.processFileDirectory(property); 
     199                String archivedJavaRuleDirectory = IOUtil.formatDirectoryName(property); 
    200200                 
    201201                property = adminService.getGlobalProperty("dss.mlmRuleDirectory"); 
    202                 String mlmRuleDirectory = Util.processFileDirectory(property); 
     202                String mlmRuleDirectory = IOUtil.formatDirectoryName(property); 
    203203                 
    204204                boolean clearMLMFiles = Boolean.parseBoolean(