Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-10881

Introduce a proper "webjars" type instead of reusing the "bin" type

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 6.0-milestone-1
    • Fix Version/s: 7.1-milestone-1
    • Component/s: Resource, Webjar
    • Labels:
      None
    • Tests:
      Unit
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      Right now we've reusing the "bin" type because our web.xml already routes it to the XWikiServlet. In the future we need to allow adding new types and have them automatically routed properly without declaring them in the web.xml file.

      This means moving from (for example):
      /xwiki/bin/webjars/resources/path?value=bootstrap/3.2.0/css/style.css

      To:
      /xwiki/webjars/bootstrap/3.2.0/css/style.css

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vmassol Vincent Massol
                Reporter:
                vmassol Vincent Massol
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: