Hi,
I'm trying to load a configuration file (namely
SolverConf.xml) into XmlSolver with the code below:
XmlSolverConfigurer configurer = new
XmlSolverConfigurer();
configurer.configure(SOLVER_CONFIG);
Solver solver = configurer.buildSolver();
If I bundle SolverConf.xml file with the
application .jar file, then using SOLVER_CONFIG
as /path/to/xml/file/SolverConf.xml
works fine.
But I want to use SolverConf.xml outside the .jar,
so I can easiliy edit it, but I don't know what path should I
pass to it.
(Supposing my .jar is in /some/path and the
SolverConf.xml will be on /some/path/conf for example)
Thanks,
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users