|
Project Information
Members
Featured
Downloads
|
jGrouseTools is a set of Ant tasks and other tools that could be used when building Javascript projects. See also http://jgrouse.com JSMinTaskJSMinTask is based on Douglas Crouford's JSMin (http://www.crockford.com) and John Reilly's port of JSMin to java (http://www.inconspicuous.org). Typical usage of JSMinTask would be: <taskdef name="jsmin" classname="jgrouse.jgtools.jsmin.JSMinTask" classpath="${jgtools.jar}">
<jsmin output="${buildDir}/out-js">
<fileset dir="${buildDir}/js/" includes="**/*.js"/>
</jsmin>jGrouseConsoleTo use jGrouse console:
<script type="text/javascript" src='path-to-jgconsole/jgconsole.js' autoinit='link'></script> To show the console click on the created jGrouse icon in the top-right corner of your page. To send a log message to the console, use jg_console.log(yourmessage) |