ant - Concatenating CSS files in a specific order -



ant - Concatenating CSS files in a specific order -

i have series of css files concatenating , minfying (using yui compressor) ant build script. css files are:

reset.css formalize.css typography.css site.css

there other css files ie.css , editor.css don't want include in minification. have build script working next code, problem files need concatenated in order posted above.

<target name="minifycss"> <!-- combine css files except ones specified ie or content editor --> <concat destfile="css/e123-1.css"> <fileset dir="css" includes="*.css" excludes="ie.css editor.css print.css" /> </concat> <!-- minify css --> <java fork="true" jar="${yuicompressor.lib}" dir="css" output="css/e123-1.min.css"> <arg value="e123-1.css" /> </java> </target>

i assume files added alphabetically, wondering if there way tell ant order concatenate files without renaming them 1reset.css, 2formalize.css, etc.

use filelist, shown in ant concat documentation.

css ant concatenation minify

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -