On 04/01/2018 18:45, Stian Soiland-Reyes wrote:
Instead of bundling jquery-ui and jquery's (compatible)
and having to declare their MIT license in our LICENSE/NOTICE
I switched to using the packaging by http://webjars.org/

which means it's just another <dependency>
that then magically appars as say
http://localhost:8080/taverna/webjars/jquery/1.8.2/jquery.min.js

(sadly that means the version numbers are there also in our
admin.html - I guess some clever use of Maven <properties> can avoid
that)

There is a webjars-locator jar that detects which version of things you're using and means you don't need to hardcode version numbers in your web pages.

Rob

See
https://github.com/apache/incubator-taverna-server/commit/29227ad8031f2d0efdc3f8c2d3788a5cc4ffce11


--
Robert Haines
Head of Research Software Engineering, Research IT
Honorary Lecturer, School of Computer Science
University of Manchester, UK
+44 (0) 161 275 7821 | @UoM_eResearch

Reply via email to