removed unused imports before continuing
intermediate check-in before splitting the JsSourceBundlerPlugin into
NodeJsSourceBundlerPlugin and CaplinJsSourceBundlerPlugin.
progress towards creating a new bundler design that can meet all of the
use cases we'd like to support in the future.
early-check in before changing the FileSet interface
we now have a FileSet design that will allow the set of files returned
by the model nodes to come from multiple bundle-sources.
first model node converted over to use a CompositeFileSet containing all
file sets from all bundle-source plugins.
all model code now updated to use CompositeFileSet
CaplinJsBundleSource is now almost complete
the taghandler interface is now actually generic enough to be usable by
non bundler plugins too
Converted relevant plug-in interfaces to accept instances of BundleSet
instead of BundlableNode, so that it becomes easier to prevent
unnecessary invocations of BundlableNode.getBundleSet(), and so that we
can potentially introduce a caching strategy in the future that allows
the initial page load and all subsequent bundle requests to share the
same BundleSet instance.
Stopped passing through the list of request paths the js bundler was
going to write through to the bundle sources, as this is more an
internal concern, and not a rich source of information like having the
actual bundle-set is.
Added a helper method to BundleSet that will make it easier for
bundle-sources to find the resource files of interest to them.
Added a helper method to BundleSet that will make it easier for
bundle-sources to find the resource files of interest to them.
Bring the name of the tag appender in line with the other CaplinJs
specific classes.
Early check-in of NodeJsBundleSourcePlugin, plus changes to the
CaplinJsBundleSourcePlugin and model as a consequence of doing this.
Change FileSetFactory so that it is given the SourceLocation and a path
to the file, rather than just the file itself -- this make it
significantly easier to implement source file implementations.
Final check-in of speculative bundler code -- it feels like it would now
be useful to get the CaplinJsBundleSource working before writing any
more code.
the servlet now routes js bundle requests to the new bundler, and we now
also have a single spec test that does the same -- need to get things
working now...
handleLogicalRequest() has been moved from BRJS to App, plus some other
smaller changes which mean we're now at the point where the
getBundleSet() method is being invoked
The parsed request now always has a form-name defined as it has to be
passed within the constructor.