An Ant task for building you JS apps and handling dependencies between modules.
Java JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
example
lib
src/org/antz29/jsbuilder
.gitignore
README.markdown
build.xml

README.markdown

JS Builder

JS Builder is a custom Apache ANT task for optimising your JS and managing dependencies between modules. You add simple header comments to each of your JavaScript files giving each file a package and module name and listing any other modules they are dependent on.

JS Builder will parse all your JS files, resolve dependencies between module, merge and optimise the files into one or any number of files depends on your configuration.

It also possible to write your own plugins for JS builder, this allows you total flexibility with how you output your JavaScript. As an example there is a built in tool for generating Dominoes JS rules based on the configured dependencies.

This is a very new project and the current code base is somewhat mucky, but it is doing the job as a proof of concept. Will be improving it over the coming days and would be good to see what people think!

Better documentation is in hand but check out the example folder for now for some info.