Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 1.28 KB

README.markdown

File metadata and controls

36 lines (25 loc) · 1.28 KB

angular-java-server-midi

This is an example project for bulding Angular applications with a Java server using Maven.

Note! This project is using a slightly patched version of angular.js, see this thread on the Angular mailing list. Also, have a look at the pull request. Update: The pull request has been commited to angular mainline. We will not need to patch angular as of next release!

The project is using the jasmine-maven-plugin to execute the Jasmine Specs for angular controllers. This plugin outputs JUnit XML parsable by CI servers, such as Jenkins.

Compiling

mvn install

Running in Jetty

mvn jetty:run

Then open http://localhost:8080/ and play the piano. You can now edit your HTML and Javascript and press reload in the browser to test your updates.

Manual Jasmine Spec Runner

After a build you will find a manual spec runner: /target/jasmine/ManualSpecRunner.html. This is very useful to use while you are developing Angular controllers and Jasmine specifications.