Skip to content
This repository was archived by the owner on Mar 12, 2019. It is now read-only.

Commit 0f995d6

Browse files
author
kakwok
committed
hardcode cvs basepath for userXML for now
1 parent 8238043 commit 0f995d6

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/rcms/fm/app/level1/HCALxmlHandler.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,10 @@ public Element parseHCALuserXML(String userXMLstring) throws UserActionException
101101
Schema schema;
102102
try {
103103
// TODO make this better, unhardcode "Master" subdir of CfgCVSBasePath
104-
String CfgCVSBasePath = ((StringT) functionManager.getHCALparameterSet().get("HCAL_CFGCVSBASEPATH").getValue()).getString();
105-
schema = schemaFactory.newSchema(new File(CfgCVSBasePath + "Master/userXML.xsd/pro"));
104+
//String CfgCVSBasePath = ((StringT) functionManager.getHCALparameterSet().get("HCAL_CFGCVSBASEPATH").getValue()).getString();
105+
//schema = schemaFactory.newSchema(new File(CfgCVSBasePath + "Master/userXML.xsd/pro"));
106+
schema = schemaFactory.newSchema(new File("/nfshome0/hcalcfg/cvs/RevHistory/Master/userXML.xsd/pro"));
107+
106108
}
107109
catch (SAXException e) {
108110
throw e;

0 commit comments

Comments
 (0)