My favorites | Sign in
Project Home Downloads Wiki Issues Source
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

JSMinTask

JSMinTask 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>

jGrouseConsole

To use jGrouse console:

  • Unpack the archive with distribution
  • Add the following line to your page
  •     <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)
Powered by Google Project Hosting