Closed farmdawgnation closed 10 years ago
But... We're already doing compression, both CSS and js, on OpenStudy, no?
It would seem that for OpenStudy we manually placed yui inside project/lib
instead of listing it as a dependency somewhere for SBT to fetch for us. Hence, why OpenStudy builds just fine, and Anchor Tab does not.
matt@FarmStudy:~/Sites/openstudy-v2/project/lib(master)$ ls -a
. .. yuicompressor-2.4.4.jar
Aha. This is because recent maven versions of yui are busted in a variety of ways and the latest yui is not actually in the maven repos (or wasn't) I think...
Got it. So, 2.4.7 appears to be in maven. We're using 2.4.4 in the OS codebase. So, perhaps they got the issue resolved?
Maybe. If you want to give it a test run with the openstudy repo, I'd be happy to drop the dependency in this suckah, then.
Any news on this?
I've been successfully using 2.4.7 with Anchor Tab in production for awhile now. Just added it as a libraryDependency in my plugins.sbt file. Adding it as a dependency in sbt-resource-management should be safe and prevent the need for someone to manually add that to their plugins.sbt.
Any chance you could add that dependency and attach a pull request to this issue for it?
Oy. Sorry, just now getting around to responding to this. Certainly can. I'll add it to my list-o-stuff to do.
Lol. Whoops.
Boom.
Bang. On 19 Oct 2013 22:09, "Matt Farmer" notifications@github.com wrote:
Boom.
— Reply to this email directly or view it on GitHubhttps://github.com/Shadowfiend/sbt-resource-management/pull/13#issuecomment-26657836 .
Ratatat, boom! Sorry, I'll try and get this in later today or tomorrow.
Solid.
This is currently deployed in 0.4.1-SNAPSHOT
.
I'm blowing you up today as I'm trying to get this Anchor Tab production server running. :P
Looks like YUI isn't in the classpath, and thus compressing anything won't work, unless you manually add it using
project/build.sbt
. My suspicion is that this could be fixed by making it a libraryDependency in sbt-resource-management'sbuild.sbt
file.I don't want to write, submit, and test a patch right now (I am still trying to get this server up), but if you agree I can do so at some point in the near future.