You can check how I handle this situation in 
https://gitlab.com/linagora/petals-cockpit

You can look at 
https://gitlab.com/linagora/petals-cockpit/blob/master/cockpit/pom.xml (for 
copying the resources in the classpath) and 
https://gitlab.com/linagora/petals-cockpit/blob/master/cockpit/src/main/java/org/ow2/petals/cockpit/PetalsCockpitApplication.java
 
(for configuring dropwizard).

It's not perfect but it works.

Le mardi 25 juillet 2017 18:22:07 UTC+2, [email protected] a écrit :
>
> Hi, 
>
> I am currently using angular 2 as my web UI framework. Currently 
> angular-cli build generates the javascript files under dist folder inside 
> my module.
> I would like to pass this dist folder as my asset bundle to dropwizard but 
> dropwizard AssetBundle looks for assets only under 'src/main/resources'.
>
> How can I make the 'dist' folder available under the classpath and also 
> have dropwizard recognise it as an asset bundle?
>
> Thanks
> Kartech
>
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"dropwizard-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to