sonatype/nexus — pull request #659 by nabcos (2012-11-13 11:34:58+00:00)
Title: Use timestamp as path prefix for aggregated js file

This is WIP and not working correctly right now, more a reminder for future work and RFC whether someone spots what's wrong here.

For some reason the ExternalStaticResources is not attached to restlet correctly. It's processed in [NexusApplication](https://github.com/sonatype/nexus/blob/timestamped-resource-url/nexus/plugins/restlet1x/nexus-restlet1x-plugin/src/main/java/org/sonatype/nexus/rest/NexusApplication.java#L210), but still gives 404 for the timestamped URLs.

This is a hack anyway because it uses an ExternalStaticResource for sonatype-all.js. It should rather use classpath lookup, but that seems to not work at all for the location of the js files here (they are included in the WAR root directory). This will get better when we can wrap the UI stuff into a plugin.