-
-
Notifications
You must be signed in to change notification settings - Fork 942
Closed
Milestone
Description
I've built a bundle for Adobe AEM to compile SASS files on-the-fly, as part of the process I create a resource containing the sass gem using gems-in-a-jar approach which is then added to the bundle classpath. When a user requests a specific resource, the bundle creates an osgi scripting container and runs a small ruby script to generate the compiled css.
container = new OSGiScriptingContainer(...)
container.put("content", source);
container.runScriptlet(bundle, "scripts/compile.rb");
engine = Sass::Engine.new(content, {
:style => :compressed,
:cache => false,
:syntax => :scss
})
result = engine.render()
When the compilation phase takes place, the compilation will fail when sass attempts to include the date/datetime library as the dynamic import attempts to bring in joda-time.
Do we really need the DynamicImport-Package in the MANIFEST.MF?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels