VMware Cloud Community
SergeyIW
Contributor
Contributor

How to verify InstallBuilder project syntax without building it?

Hello!

Please, help. Perhaps someone else had a similar task. I'm trying to validate syntax of the large InstallBuilder project without building it because it takes a lot of time to build. I'm trying to use InstallBuilder.rng file by converting it to xsd-schema (as described in InstallBuilder guide) and calling xmllint with --schema parameter. Unfortunately, InstallBuilder.rng does not contain all possible xml-tags of the InstallBuilder project (functionDefinitionRule, for example). Is there another way to do it better?

Thanks in advance.

0 Kudos
2 Replies
gongomgra
VMware Employee
VMware Employee

Hi @SergeyIW ,

Thanks for your question. Unfortunately, as custom rules and actions are dynamically created, the rng schema won't work. As a work around, you can use the quickbuild command instead of build to speed up the process.

We will work on validating the custom actions using a command-line tool.

0 Kudos
SergeyIW
Contributor
Contributor

Hi @gongomgra !

Thanks for your reply! As a result, we doing verification of our project using a quickbuild parameter. Thank you again.

0 Kudos