Saturday, September 20, 2014

Using your grunt project and/or bower components in your Spring application during development

I've been playing around with grunt, bower, and yo lately. It's pretty simple creating a build step to copy the dist/ output into your webjar, or war for production, but I wanted an easy way to bring in my javascript into my Spring app during development. Nothing bugs me more than having to perform a copy or rebuild step just to see my changes in the application during dev.

So I came up with this solution. Assuming your IDE is running your run configuration in your source root, you can create Spring resource handlers relative to that directory. The gist below shows.

1 comment:

  1. There are huge prizes 카지노 to be won nicely as|in addition to} superb options to choose from|to choose from}, to give your sport a lift. The expertise is interactive with the live dealer, where you’ll must guess which numbers the wheel will land on to climb onto the next stage. We’re all acquainted with the wheel of fortune, where you spin and hope the wheel lands on a prize. This sort of sport never loses its appeal and fun factor, and it’s possible to play sorts of|these sort of|most of these} games right here at Mr Green. We even have a lobby full of gameshow fashion titles and loads of thrilling variations on more conventional games that are be} incredibly popular in case you are on the lookout for a much less severe live casino sport. Live Blackjack is incredibly popular and you will find many thrilling variances of this straightforward card sport at Mr Green.