Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • D dmx-platform
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 75
    • Issues 75
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • dmx-platform
  • dmx-platform
  • Issues
  • #504

Plugin dev: improve resource handling

There are different kinds of resources. Not all are supported well by the platform at the moment (and require manual per-app pom.xml configuration):

Resource Path Remarks
[x] Resources the platform needs at runtime (server-side), not published to web /resources Example: plugin.properties, migrations/
[x] Resources generated at build-time (through Webpack) and are published to web /resources/web
[x] Static resources (which do not go through Webpack, and are) published to web /resources-static proposed behavior: copy to /resources/web once build is complete
[x] Resources needed at build-time: goes through Webpack, output goes to /resources/web /resources-build proposed

@mukil FYI

Edited May 10, 2023 by Jörg Richter
Assignee
Assign to
Time tracking