Where to put css/js files?

Christopher Bongaarts cab at umn.edu
Fri Jul 29 12:06:47 EDT 2016


Looking for guidance/suggestions from the community here:

As we roll out v3, we anticipate needing to tweak our end user facing 
pages (e.g. the login page) as we get feedback and analyze usage.  
Updates to the Velocity HTML templates in views/ are trivial, and take 
effect immediately.   This is nice.

Updates to our CSS and JavaScript files supporting those pages, however, 
requires rebuilding the war file and redeploying the idp3 app.  This is 
not fun and takes a while.

Then it occurred to me that I had dropped those files inside edit-webapp 
out of habit - since the .jsp files for v2 were in the webapp, we had 
put the supporting files there too.  Perhaps there is a better place for 
these?

We're using Jetty now for our app server.  We currently have a couple of 
files (a favicon and metadata.xml) in its ROOT web app. Is that a 
reasonable place for these?

How are people doing this?

-- 
%%  Christopher A. Bongaarts   %%  cab at umn.edu          %%
%%  OIT - Identity Management  %%  http://umn.edu/~cab  %%
%%  University of Minnesota    %%  +1 (612) 625-1809    %%



More information about the users mailing list