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

Commit

Permalink
hardcode cvs basepath for userXML for now
Browse files Browse the repository at this point in the history
  • Loading branch information
kakwok committed Mar 15, 2018
1 parent 8238043 commit 0f995d6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/rcms/fm/app/level1/HCALxmlHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,10 @@ public Element parseHCALuserXML(String userXMLstring) throws UserActionException
Schema schema;
try {
// TODO make this better, unhardcode "Master" subdir of CfgCVSBasePath
String CfgCVSBasePath = ((StringT) functionManager.getHCALparameterSet().get("HCAL_CFGCVSBASEPATH").getValue()).getString();
schema = schemaFactory.newSchema(new File(CfgCVSBasePath + "Master/userXML.xsd/pro"));
//String CfgCVSBasePath = ((StringT) functionManager.getHCALparameterSet().get("HCAL_CFGCVSBASEPATH").getValue()).getString();
//schema = schemaFactory.newSchema(new File(CfgCVSBasePath + "Master/userXML.xsd/pro"));
schema = schemaFactory.newSchema(new File("/nfshome0/hcalcfg/cvs/RevHistory/Master/userXML.xsd/pro"));

}
catch (SAXException e) {
throw e;
Expand Down

0 comments on commit 0f995d6

Please sign in to comment.