That was quick :). Thanks for sharing this Francesco. I will take a look soon after the current sprint, early next week.
On Wed, Aug 14, 2013 at 10:42 AM, Francesco Mari <[email protected]>wrote: > I just published the package to NPM [1]. I also changed the name of > the git repository, as "grunt-sling" seemed too generic for me. The > new repo is at [2]. > > [1]: https://npmjs.org/package/grunt-sling-content > [2]: https://github.com/francescomari/grunt-sling-content > > 2013/8/13 Francesco Mari <[email protected]>: > > The article you linked looks like the typical use case I wrote the task > for. > > It would be very interesting if you can play with the task and give me > some > > feedback. Pull requests or GitHub issues are welcome! > > > > I could release a first version of the task on NPM tomorrow. It requires > > only minor adjustments to the project. > > > > Regarding the work made by Robert, I find it very interesting, but it is > a > > different approach than mine. I would like to have very sole tooling, and > > avoid the IDE as much as possible. But I agree with Robert's decision to > > include VLT in the mix as soon as it's released in the open. > > > > Il giorno 13/ago/2013 19:58, "Dascalita Dragos" <[email protected]> ha > > scritto: > > > >> Btw, I forgot to also add a really nice work started by Robert, which > does > >> something similar straight from your IDE - [0] > >> > >> Dragos > >> [0] - > https://cwiki.apache.org/confluence/display/SLING/Sling+IDE+tooling > >> > >> > >> On Tue, Aug 13, 2013 at 8:55 PM, Dascalita Dragos > >> <[email protected]>wrote: > >> > >> > It looks cool. I was just playing with Grunt earlier this month, in > >> > order > >> > to automatically watch for changes, compile and deploy my Client-side > >> > files > >> > into JCR - [0] > >> > > >> > This is where I'd see the benefit of using Grunt. > >> > > >> > I'll try integrating with your task too, as I was only using 'curl' > >> > commands to upload and I like that you have used 'request' lib; > >> > Did you consider writing a NPM out of this task ? I think that would > >> > come > >> > handy. > >> > > >> > Cheers, > >> > Dragos > >> > > >> > [0] - > >> > http://www.flexthinker.com/2013/08/using-grunt-js-with-apache-sling/ > >> > > >> > > >> > On Tue, Aug 13, 2013 at 7:15 PM, Francesco Mari > >> > <[email protected]>wrote: > >> > > >> >> Hi all, > >> >> > >> >> I created a new task for Grunt [1] which uses the POST servlet to > >> >> rollout local content to a repository managed by a runnign Sling > >> >> instance. I also wrote some information in the README file, which can > >> >> help you have a better understanding of what it does. > >> >> > >> >> I found this task to be very handy for rapid prototyping of > >> >> Sling-based applications. To use this task you only need a minimal > >> >> Grunt build file. You can focus building the content in your > >> >> filesystem, without bothering about configuration. The task also > >> >> support the creation of arbitrary nodes by using .json files (more or > >> >> less like the jcr.contentloader bundle already does), but you don't > >> >> have to create a bundle or a Maven project. > >> >> > >> >> If anybody is interested in it, I would follow up with further > >> >> development. Please keep in mind that I pushed it only some minutes > >> >> ago and it has never been used in the wild. It's not yet deployed to > >> >> NPM. > >> >> > >> >> Regards, > >> >> > >> >> Francesco > >> >> > >> >> [1]: http://gruntjs.com/ > >> >> [2]: https://github.com/francescomari/grunt-sling > >> >> > >> > > >> > >
