minified files aren't bundled in Lift jars
Currently, lift framework jars are missing auto-generated resources, like minified files. For example, lift-webkit.jar is missing jquery and lift minified files.
The issue is that Sbt is misconfigured: Lift uses BND sbt plugin, and LiftProject extends `BNDPluginProperties` which uses the main provided resource files [1], rather the main output resource file. Overriding `bndIncludeResource` to include `project.mainResourcesOutputPath.absolutePath` in the `superbuild` project should fix the problem.
I have already opened a ticket in `bnd4sbt` requesting to include output resources by default [2].
The relavent group thread is: http://groups.google.com/group/liftweb/browse_thread/thread/373b6730d9d27138 .
[1] https://github.com/weiglewilczek/bnd4sbt/blob/master/src/main/scala/properties.scala#L142
[2] https://github.com/weiglewilczek/bnd4sbt/issues/27
The issue is that Sbt is misconfigured: Lift uses BND sbt plugin, and LiftProject extends `BNDPluginProperties` which uses the main provided resource files [1], rather the main output resource file. Overriding `bndIncludeResource` to include `project.mainResourcesOutputPath.absolutePath` in the `superbuild` project should fix the problem.
I have already opened a ticket in `bnd4sbt` requesting to include output resources by default [2].
The relavent group thread is: http://groups.google.com/group/liftweb/browse_thread/thread/373b6730d9d27138 .
[1] https://github.com/weiglewilczek/bnd4sbt/blob/master/src/main/scala/properties.scala#L142
[2] https://github.com/weiglewilczek/bnd4sbt/issues/27
Leave a comment
on 2011-05-15 13:31 *
By Indrajit Raychaudhuri
Assigned to set to Indrajit Raychaudhuri
Status changed from New to Accepted
(In revision:792bb7921276e1adbe3180b1c8e187400cb2339b) BNDPlugin should include mainResourcesOutputPath too, to include the generated resources. Fixes #1004
Branch: master
Branch: master