Uploaded image for project: 'XWiki Commons'
  1. XWiki Commons
  2. XCOMMONS-2275

Allow to check the absence of some properties in XML files of a XAR at build time

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • 12.10.9
    • None
    • Unknown

    Description

      My usecase is to be able to detect automatically at build time that a XML file does not contain a specific xobject when building a XAR module. To be more specific, we got a regression recently (XWIKI-18975) whose root cause was related to some xobjects wrongly committed on the repo.

      Now we could make this check a bit more generic, than only checking for xobjects absence, and allow to add a configuration to check if a xpath is present or missing in a file, depending on what we want to check.

      Attachments

        Activity

          People

            Unassigned Unassigned
            surli Simon Urli
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: