News for hackers. Stuff that matters.
Re:AngularJS Bootstrap Spring – Startup App by b15h0p on Monday January 16, 2017 @06:39AM (#13409444)
What I find odd about this project is that it uses maven to build the client (or at least a maven plugin that in turn executes grunt/gulp/whatever). Does anyone have experience with that? Is it any good?
Re:AngularJS Bootstrap Spring – Startup App by paulojreis on Monday January 16, 2017 @07:12AM (#13409544)
Had some experience with it in BigCorp™. I don't love it, but it works. It's just a plugin that will install node (and npm), run `npm instal` and then run the specified gulp task.

The good part is that it's not that bad to fit within the company infrastructure, particularly if it's a BigCorp kind of thing. It's interesting because it allows you to play well with CI processes and quality rules - I'm thinking about tests here. With this kind of setup, you can make the front-end build fail if e.g. code coverage drops below a given threshold, using the same setup you use for other components.

The boring part is that it's yet another place to put config info. A particularly ugly one which reeks of over-engineering IMHO. Also it's XML; XML isn't quite the song of the front-end people, at least config-wise. :)

Re:AngularJS Bootstrap Spring – Startup App by leggettr on Monday January 16, 2017 @05:00PM (#13413406)
Maven was added for 1. Java developers to be able to build the project, it is there so they can build the client. 2. For infrastructures that don't support proper front end build tools.

Saying that however to just build the client you can run "gulp" or "gulp zip" to create a build artefact.

Or for test execution "gulp run" then access http://localhost:4444/test

Anyone wanting to use this example would probably be better creating a "gulp test" task also.