Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-1749

Impossible to use wildcards in Project.references

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • 2.0.2
    • None
    • 7eee1c926 (master), 1490cf659 (master)

    Description

      Currently, I can write something like this in Qbs:

      Project {
          references: [
              'subproject1/subproject1.qbs',
              'subproject2/subproject2.qbs',
          ]
      }
      

      Howerver, I can't write this:

      Project {
          references: [
              'subproject*/subproject*.qbs',
          ]
      }
      

      or even

      Project {
          references: [
              '*/*.qbs',
          ]
      }
      

      as it produces an error:

      ERROR: /Users/me/project.qbs:2:14 Cannot open '/Users/me/project/*/*.qbs'.
      

      From a user's perspective, my expectation would be that an ability to use wildcards is a feature of the pathList type of properties and can be applied to any property of such type.

      Attachments

        For Gerrit Dashboard: QBS-1749
        # Subject Branch Project Status CR V

        Activity

          People

            kandeler Christian Kandeler
            gooroo Serhii Olendarenko
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes