src/build.xml
changeset 19956 0c44af13571d
parent 19912 7ee41d144038
child 20711 0b9c6c0013da
--- a/src/build.xml	Thu Mar 21 19:32:06 2013 +0530
+++ b/src/build.xml	Thu Mar 21 16:30:17 2013 +0100
@@ -627,10 +627,6 @@
     
     <antcall target="build.web.folder.skins"  inheritAll="true" inheritrefs="true" />
     
-    <condition property="generateSpritesBool">
-        <istrue value="${generateSprites}" />
-    </condition>
-    <antcall target="generate.sprites" inheritAll="true" inheritrefs="true" />
     <antcall target="minimizeJSandCSS" inheritAll="true" inheritrefs="true" />
   </target>
     
@@ -683,20 +679,6 @@
     
   </target>
 
-  <target name="generate.sprites" description="Performs CSS sprite processing" if="generateSpritesBool">
-    <property name="skins.location" location="${base.context}/web/skins/" />
-    <taskdef name="smartsprites" classname="org.carrot2.labs.smartsprites.ant.SmartSpritesTask">
-      <classpath refid="project.class.path" />
-    </taskdef>
-    <smartsprites rootdir="${skins.location}" documentrootdir="${skins.location}" outputdir="${skins.location}" cssfilesuffix="-sprite" csspropertyindent="  " loglevel="WARN" spritepngdepth="DIRECT" spritepngie6="false" />
-    <move todir="${skins.location}">
-      <fileset dir="${skins.location}">
-        <include name="**/*-sprite.css" />
-      </fileset>
-      <mapper type="glob" from="*-sprite.css" to="*.css" />
-    </move>
-  </target>
-
   <target name="minimizeJSandCSS" description="minimize JS and CSS files" if="minimizeJSandCSSbool">
     <yuicompress linebreak="300" warn="false" munge="yes" preserveallsemicolons="true" outputfolder="${base.context}/web" charset="UTF-8">
       <fileset dir="${base.web}">