I thought I would post this here as im not sure who is maintaing the YUI compressor for SBT. When the project has no CSS or JS files, the console gives:
java.lang.IllegalArgumentException: requirement failed: No products were specified; products must be known in advance.
Ideally it would be better to have a nice error message, or just move along silently as there is nothing to compress.
Cheers, Tim
--
You received this message because you are subscribed to the Google Groups "Lift" group.
To post to this group, send email to lif...@googlegroups.com.
To unsubscribe from this group, send email to liftweb+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.
I didn't even know there was one! What do you do to use it?
$ cat src/foo/project/plugins/Plugins.scala import sbt._ class Plugins(info: ProjectInfo) extends PluginDefinition(info) { val sbtYui = "hoffrocket" % "sbt-yui" % "0.2" val sonaTypeReo = "Sonatype Repo" at "http://oss.sonatype.org/content/groups/github/" } $ cat src/foo/project/build/FooProject.scala import sbt._ class FooProject(info: ProjectInfo) extends DefaultWebProject(info) with hoffrocket.YuiCompressorPlugin { //... }
--