As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
<path id="yuicompressor.classpath"> <fileset dir="lib"> <include name="yuicompressor-2.4.2.jar" /> <include name="yui-compressor-ant-task-0.5.jar" /> </fileset> </path> <taskdef name="yuicompress" classname="net.noha.tools.ant.yuicompressor.tasks.YuiCompressorTask"> <classpath> <path refid="yuicompressor.classpath" /> </classpath> </taskdef> <path id="ml-ant-http.classpath"> <fileset dir="lib"> <include name="ml-ant-http-1.1.1.jar" /> </fileset> </path> <!– Minify JS –> <yuicompress fromdir="${res.dir}" todir="${build.jar.dir}/META-INF" excludes="**/*-min.js" warn="${yuicompress.warn}"> <include name="**/*.js" /> </yuicompress>
ça fait quoi en vidant le cache du navigateur ?
… <script type="text/javascript" src="${url.context}/js/yui-custom-min.js?1"></script> …