Re: [osgi-dev] Angular New Enroute

2018-08-07 Thread Matthews, Kevin via osgi-dev
Hi David, I am going to try what Joao suggested with ng maven plugin. I think that direction should work. From: David Leangen [mailto:o...@leangen.net] Sent: Friday, August 03, 2018 7:42 PM To: Matthews, Kevin; OSGi Developer Mail List Subject: Re: [osgi-dev] Angular New Enroute Hi, Angular 2

Re: [osgi-dev] Angular New Enroute

2018-08-07 Thread Matthews, Kevin via osgi-dev
: Matthews, Kevin; David Leangen Subject: Re: [osgi-dev] Angular New Enroute As David mentioned you will need to include the "ng build" step in your build process. I include a portion of the pom where exec-maven-plugin is used to invoke "npm install" and "ng build"

Re: [osgi-dev] Angular New Enroute

2018-08-06 Thread João Assunção via osgi-dev
As David mentioned you will need to include the "ng build" step in your build process. I include a portion of the pom where exec-maven-plugin is used to invoke "npm install" and "ng build". To expose the angular app we are using HTTP whiteboard. The bundle activator exports a ResourceMapping

Re: [osgi-dev] Angular New Enroute

2018-08-03 Thread David Leangen via osgi-dev
Hi, Angular 2+ works very differently from AngularJS. In enRoute (or at least in v2, I am not yet familiar with the current enRoute), it used AngularJS. You used to be able to just include the JS file, and that was it. Angular 2+ requires you to build/compile your application first, so you