Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
Currently ScriptFactory's dmlFromResource (and pydmlFromResource) resourcePath requires an initial slash, such as:
ScriptFactory.dmlFromResource("/scripts/datagen/genRandData4ALS.dml");
Update dmlFromResource to not require an initial slash so that it mirrors dmlFromFile's behavior:
ScriptFactory.dmlFromFile("scripts/datagen/genRandData4ALS.dml"); ScriptFactory.dmlFromResource("scripts/datagen/genRandData4ALS.dml"); // initial slash also still works for dmlFromResource ScriptFactory.dmlFromResource("/scripts/datagen/genRandData4ALS.dml");