Skip to content

This project wraps the YUI Compressor with an Ant task to provide better integration of JavaScript and CSS compression to an Ant-based build process.

License

Notifications You must be signed in to change notification settings

acwwat/yuicompressor-ant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yuicompressor-ant

This project wraps the YUI Compressor with an Ant task to provide better integration of JavaScript and CSS compression to an Ant-based build process. It provides more control with batch processing and output location through file sets and mapper in Ant over the command-line interface.

Requirements

yuicompressor-ant works with the following:

Building

Use Maven to build this library.

Usage

In your Ant build file, use the <taskdef> task to define the <yuicompressor> Ant task (change the JAR file locations as needed):

<taskdef name="yuicompressor"
         classname="com.github.acwwat.ant.taskdefs.YUICompressorTask">
	<classpath>
		<pathelement location="yuicompressor-ant-2.4.8.jar" />
		<pathelement location="yuicompressor-2.4.8.jar" />
	</classpath>
</taskdef>

Refer to the JavaDoc description of the YUICompressorTask class for usage of the Ant task.

About

This project wraps the YUI Compressor with an Ant task to provide better integration of JavaScript and CSS compression to an Ant-based build process.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages