how can i configure what contents are included to the dist-package?
thx, andi
--To view this discussion on the web visit https://groups.google.com/d/msg/play-framework/-/HyUg96kPFP8J.
You received this message because you are subscribed to the Google Groups "play-framework" group.
To post to this group, send email to play-fr...@googlegroups.com.
To unsubscribe from this group, send email to play-framewor...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/play-framework?hl=en.
Btw, Peter, when you suggested I should move the ability to create either a zipped or unzipped distribution to being an SBT plugin, is it correct that all I need to do is move the code to live under src/sbt-plugin/src/main/scala ?Thanks,
Ben
On Wed, Mar 28, 2012 at 11:22 AM, Ike <ike...@gmail.com> wrote:
Peter, that sounds more approachable than creating an sbt plugin. I still think that if we have a dist/zip target we should have a dist/unzipped one. I commented on Ben's closed Pull Request to that effect.In the meantime, do you have a sample handy (maybe a gist) of overriding an sbt task like that?
On Wednesday, March 28, 2012 12:42:52 PM UTC-4, peter hausel wrote:you can also override the disk sbt task or extend it and register a new one
On Wednesday, March 28, 2012 11:38:44 AM UTC-4, Ben McCann wrote:You could unzip, add your own files, and then re-zip. Personally I don't like that the package is zipped, and am going to work on making it so that you can optionally create an unzipped version. I submitted a pull request, but it was suggested that I modify the way I was doing it, so I'll take another stab at it in the next couple of weeks. Anyway, if I'm able to create an SBT plugin for creating an unzipped distribution then it will save you the first step of unzipping.
On Wednesday, March 28, 2012 8:32:09 AM UTC-7, Andi Blake wrote:hi,how can i configure what contents are included to the dist-package?
thx, andi
--To view this discussion on the web visit https://groups.google.com/d/msg/play-framework/-/HyUg96kPFP8J.
You received this message because you are subscribed to the Google Groups "play-framework" group.
To post to this group, send email to play-framework@googlegroups.com.
To unsubscribe from this group, send email to play-framework+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/play-framework/-/C7v7SIUaI3oJ.
To post to this group, send email to play-fr...@googlegroups.com.
To unsubscribe from this group, send email to play-framewor...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/play-framework/-/CCrBJ8qink8J.
To post to this group, send email to play-fr...@googlegroups.com.
To unsubscribe from this group, send email to play-framewor...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/play-framework/-/fVg198qeePkJ.
To post to this group, send email to play-fr...@googlegroups.com.
To unsubscribe from this group, send email to play-framewor...@googlegroups.com.
Very cool. It would be nice if there were some way to do this without zipping and then unzipping all the files, which seems a bit wasteful.
Also, do you happen to know if there's a way to do this where I don't have to type two task names and can have dist-unzip automatically call dist-zip first? (btw, you left out an s in SbtGoodiesTaks.scala)
Hi Ben,