Closed zhujiancom closed 7 years ago
There is a little preconfiguration needed to make this work. Running mvn generate-resources
on the console should generate the files (using the ph-dirindex-maven-plugin). hth
thank you ! i copy the dirindex.xml file to test-sch folder manually and it's worked.
2017-10-30 14:43 GMT+08:00 Philip Helger notifications@github.com:
There is a little preconfiguration needed to make this work. Running mvn generate-resources on the console should generate the files (using the ph-dirindex-maven-plugin). hth
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/phax/ph-schematron/issues/55#issuecomment-340356716, or mute the thread https://github.com/notifications/unsubscribe-auth/AElB7KG1ETD-5YbmFSL9c7a07CgjUlfAks5sxXAtgaJpZM4QKons .
Okay - seems like the setup is not 100% easy going - will look at it!
Should work now; I disabled the plugin and instead added the files to the repository
I found Helger using new collection classes to find schematron testfiles, like below codes:
private static final ICommonsList <SchematronTestFile> s_aSCHs = _readDI (new ClassPathResource ("test-sch/dirindex.xml"));
but i didn't find dirindex.xml in resources folder, does someone lost put this file?