A toolkit for java developers that are unfamiliar with node.js and want a toolkit for easy web app development.
Yojimbo provides a set of commands:
- bower: dependency management built on top of bower
- compress: javascript compression utilities
- merge: javascript merge utilities
- serve: static http server
Compile yojimbo with maven:
mvn clean package
Uses bower dependency management index to download bower dependencies
java -jar yojimbo bower_install
Uses yui compress to compress the provided .js file
java -jar yojimbo compress -Dcompress.input=app.js
Combines all .js files in /dev
to /dist/
java -jar yojimbo merge -Dmerge.output=app.js
- merge.output: the name of the file (optional, defaults to
app.js
)
Start a local http server to run the web application
java -jar yojimbo serve -Dserve.port=:port -Dserve.staticFolder=:dir
- serve.port: the name of the file (optional, defaults to
app.js
) - serve.staticFolder: the directory from which to serve the web app (optional)