phax / ph-schematron

Java Schematron library that supports XSLT and native application
Apache License 2.0
116 stars 36 forks source link

SchematronTestHelper can not work #55

Closed zhujiancom closed 7 years ago

zhujiancom commented 7 years ago

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?

phax commented 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

zhujiancom commented 7 years ago

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 .

phax commented 7 years ago

Okay - seems like the setup is not 100% easy going - will look at it!

phax commented 7 years ago

Should work now; I disabled the plugin and instead added the files to the repository