phax/peppol-commons

Missing classes CompleteServiceGroupType etc

Closed this issue · 3 comments

Hi and thanks for your effort of writing this library! I'm excited to start using it.

I've cloned your code and followed the build instructions. However there are classes missing (see attached screenshot) and the same names are found in xsd:s. I suspect that these classes are supposed to be generated from the xsd:s. Is there a build target or something similar that will generate the missing classes?

missingclasses

phax commented

The missing classes are generated via mvn generate-sources - than add target/generated-sources/xjc as a source folder. They are created from XSD sources. happy coding :)

Worked perfectly! Thanks :-)

phax commented

Super. I never check in the generated classes - so the same trick applies to other projects as well. But thanks for pointing out, that this needs better documentation :D