Webjar should also be embeded #136

Closed
cescoffier opened this Issue Apr 6, 2014 · 1 comment

Comments

Projects
None yet
1 participant
@cescoffier
Member

cescoffier commented Apr 6, 2014

It's sometimes useful to embeds the webjar resources inside the bundle to ease the distribution of 'sub-applications' relying on webjars resources (such as the wisdom-monitor).

Right now, the webjars are unzipped in /assets/libs (at packaging time). A runtime version allowing bundles to contain webjar resources would be great. In addition, parameter to indicate to embeds the webjoars should be added to the wisdom-maven-plugin.

@cescoffier cescoffier added this to the 0.5 milestone Apr 6, 2014

cescoffier added a commit that referenced this issue Apr 19, 2014

Change the resolution process to find resources in web jars (#136)
Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>

cescoffier added a commit that referenced this issue Apr 19, 2014

Move the result computation in the WebJarLib class (#136)
Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>

cescoffier added a commit that referenced this issue Apr 19, 2014

Start integrating the bundle support for web jars (#136)
- Distinguish two sort of web jar library
- Implement the Bundle Web Jar library
- Sort the global web jar lib set according to enforce File > Bundle

Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>

cescoffier added a commit that referenced this issue Apr 19, 2014

Fix resource path computation (#136)
Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>

cescoffier added a commit that referenced this issue Apr 19, 2014

Cosmetic fixes related to #136
Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>

cescoffier added a commit that referenced this issue Apr 19, 2014

Implement test checking #136
Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
@cescoffier

This comment has been minimized.

Show comment
Hide comment
@cescoffier

cescoffier Apr 19, 2014

Member

Fixed.

Bundles are now embedding their webjars and are served as resources (available from /assets/libs).
WebJars that are in the 'provided' scope are copied to wisdom/assets/libs.

Member

cescoffier commented Apr 19, 2014

Fixed.

Bundles are now embedding their webjars and are served as resources (available from /assets/libs).
WebJars that are in the 'provided' scope are copied to wisdom/assets/libs.

@cescoffier cescoffier closed this Apr 19, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment