|
160 | 160 | <mkdir dir="${min.dir}" />
|
161 | 161 | <mkdir dir="${min.dir}/i18n/" />
|
162 | 162 | <mkdir dir="${dist.dir}/themes/base/minified" />
|
163 |
| - |
164 |
| - <apply executable="java" parallel="false"> |
165 |
| - <fileset dir="${dist.dir}/ui" includes="*.js" /> |
166 |
| - <arg line="-jar" /> |
167 |
| - <arg path="${closure-jar}" /> |
168 |
| - <arg value="--warning_level" /> |
169 |
| - <arg value="QUIET" /> |
170 |
| - <arg value="--js_output_file" /> |
171 |
| - <targetfile /> |
172 |
| - <arg value="--js" /> |
173 |
| - <mapper type="glob" from="*.js" to="${min.dir}/*.min.js" /> |
174 |
| - </apply> |
175 |
| - |
176 |
| - <apply executable="java" parallel="false"> |
177 |
| - <fileset dir="${dist.dir}/ui/i18n" includes="*.js" /> |
178 |
| - <arg line="-jar" /> |
179 |
| - <arg path="${closure-jar}" /> |
180 |
| - <arg value="--warning_level" /> |
181 |
| - <arg value="QUIET" /> |
182 |
| - <arg value="--js_output_file" /> |
183 |
| - <targetfile /> |
184 |
| - <arg value="--js" /> |
185 |
| - <mapper type="glob" from="*.js" to="${min.dir}/i18n/*.min.js" /> |
186 |
| - </apply> |
187 |
| - |
188 |
| - <apply executable="java" parallel="false"> |
189 |
| - <fileset dir="${dist.dir}/themes/base" includes="*.css" /> |
190 |
| - <arg line="-jar" /> |
191 |
| - <arg path="${yuicompressor-jar}" /> |
192 |
| - <arg line="--charset utf-8" /> |
193 |
| - <arg line="-v" /> |
194 |
| - <srcfile /> |
195 |
| - <arg line="-o" /> |
196 |
| - <mapper type="glob" from="*.css" to="${dist.dir}/themes/base/minified/*.min.css" /> |
197 |
| - <targetfile/> |
198 |
| - </apply> |
| 163 | + |
| 164 | + <parallel threadsperprocessor="1"> |
| 165 | + |
| 166 | + <apply executable="java" parallel="false"> |
| 167 | + <fileset dir="${dist.dir}/ui" includes="*.js" /> |
| 168 | + <arg line="-jar" /> |
| 169 | + <arg path="${closure-jar}" /> |
| 170 | + <arg value="--warning_level" /> |
| 171 | + <arg value="QUIET" /> |
| 172 | + <arg value="--js_output_file" /> |
| 173 | + <targetfile /> |
| 174 | + <arg value="--js" /> |
| 175 | + <mapper type="glob" from="*.js" to="${min.dir}/*.min.js" /> |
| 176 | + </apply> |
| 177 | + |
| 178 | + <apply executable="java" parallel="false"> |
| 179 | + <fileset dir="${dist.dir}/ui/i18n" includes="*.js" /> |
| 180 | + <arg line="-jar" /> |
| 181 | + <arg path="${closure-jar}" /> |
| 182 | + <arg value="--warning_level" /> |
| 183 | + <arg value="QUIET" /> |
| 184 | + <arg value="--js_output_file" /> |
| 185 | + <targetfile /> |
| 186 | + <arg value="--js" /> |
| 187 | + <mapper type="glob" from="*.js" to="${min.dir}/i18n/*.min.js" /> |
| 188 | + </apply> |
| 189 | + |
| 190 | + <apply executable="java" parallel="false"> |
| 191 | + <fileset dir="${dist.dir}/themes/base" includes="*.css" /> |
| 192 | + <arg line="-jar" /> |
| 193 | + <arg path="${yuicompressor-jar}" /> |
| 194 | + <arg line="--charset utf-8" /> |
| 195 | + <arg line="-v" /> |
| 196 | + <srcfile /> |
| 197 | + <arg line="-o" /> |
| 198 | + <mapper type="glob" from="*.css" to="${dist.dir}/themes/base/minified/*.min.css" /> |
| 199 | + <targetfile/> |
| 200 | + </apply> |
| 201 | + |
| 202 | + </parallel> |
199 | 203 |
|
200 | 204 | <replaceregexp match=".css" replace=".min.css" flags="g">
|
201 | 205 | <fileset dir="${dist.dir}/themes/base/minified/">
|
|
258 | 262 | <mkdir dir="${docs.dir}" />
|
259 | 263 | <property name="url" value="http://docs.jquery.com/action/render/UI/API/${release.version}/" />
|
260 | 264 |
|
261 |
| - <get src="${url}Draggable" dest="${docs.dir}draggable.html" /> |
262 |
| - <get src="${url}Droppable" dest="${docs.dir}droppable.html" /> |
263 |
| - <get src="${url}Resizable" dest="${docs.dir}resizable.html" /> |
264 |
| - <get src="${url}Selectable" dest="${docs.dir}selectable.html" /> |
265 |
| - <get src="${url}Sortable" dest="${docs.dir}sortable.html" /> |
266 |
| - |
267 |
| - <get src="${url}Accordion" dest="${docs.dir}accordion.html" /> |
268 |
| - <get src="${url}Autocomplete" dest="${docs.dir}autocomplete.html" /> |
269 |
| - <get src="${url}Button" dest="${docs.dir}button.html" /> |
270 |
| - <get src="${url}Datepicker" dest="${docs.dir}datepicker.html" /> |
271 |
| - <get src="${url}Dialog" dest="${docs.dir}dialog.html" /> |
272 |
| - <get src="${url}Menu" dest="${docs.dir}menu.html" /> |
273 |
| - <get src="${url}Progressbar" dest="${docs.dir}progressbar.html" /> |
274 |
| - <get src="${url}Slider" dest="${docs.dir}slider.html" /> |
275 |
| - <get src="${url}Spinner" dest="${docs.dir}spinner.html" /> |
276 |
| - <get src="${url}Tooltip" dest="${docs.dir}tooltip.html" /> |
277 |
| - <get src="${url}Tabs" dest="${docs.dir}tabs.html" /> |
278 |
| - |
279 |
| - <get src="${url}Position" dest="${docs.dir}position.html" /> |
280 |
| - |
281 |
| - <get src="http://docs.jquery.com/action/render/UI/Effects/animate" dest="${docs.dir}animate.html" /> |
282 |
| - <get src="http://docs.jquery.com/action/render/UI/Effects/addClass" dest="${docs.dir}addClass.html" /> |
283 |
| - <get src="http://docs.jquery.com/action/render/UI/Effects/effect" dest="${docs.dir}effect.html" /> |
284 |
| - <get src="http://docs.jquery.com/action/render/UI/Effects/hide" dest="${docs.dir}hide.html" /> |
285 |
| - <get src="http://docs.jquery.com/action/render/UI/Effects/removeClass" dest="${docs.dir}removeClass.html" /> |
286 |
| - <get src="http://docs.jquery.com/action/render/UI/Effects/show" dest="${docs.dir}show.html" /> |
287 |
| - <get src="http://docs.jquery.com/action/render/UI/Effects/switchClass" dest="${docs.dir}switchClass.html" /> |
288 |
| - <get src="http://docs.jquery.com/action/render/UI/Effects/toggle" dest="${docs.dir}toggle.html" /> |
289 |
| - <get src="http://docs.jquery.com/action/render/UI/Effects/toggleClass" dest="${docs.dir}toggleClass.html" /> |
290 |
| - |
291 |
| - |
292 |
| - <get src="http://docs.jquery.com/action/render/UI/Effects/Blind" dest="${docs.dir}effect-blind.html" /> |
293 |
| - <get src="http://docs.jquery.com/action/render/UI/Effects/Clip" dest="${docs.dir}effect-clip.html" /> |
294 |
| - <get src="http://docs.jquery.com/action/render/UI/Effects/Drop" dest="${docs.dir}effect-drop.html" /> |
295 |
| - <get src="http://docs.jquery.com/action/render/UI/Effects/Explode" dest="${docs.dir}effect-explode.html" /> |
296 |
| - <get src="http://docs.jquery.com/action/render/UI/Effects/Fade" dest="${docs.dir}effect-fade.html" /> |
297 |
| - <get src="http://docs.jquery.com/action/render/UI/Effects/Fold" dest="${docs.dir}effect-fold.html" /> |
298 |
| - <get src="http://docs.jquery.com/action/render/UI/Effects/Puff" dest="${docs.dir}effect-puff.html" /> |
299 |
| - <get src="http://docs.jquery.com/action/render/UI/Effects/Slide" dest="${docs.dir}effect-slide.html" /> |
300 |
| - <get src="http://docs.jquery.com/action/render/UI/Effects/Scale" dest="${docs.dir}effect-scale.html" /> |
301 |
| - |
302 |
| - <get src="http://docs.jquery.com/action/render/UI/Effects/Bounce" dest="${docs.dir}effect-bounce.html" /> |
303 |
| - <get src="http://docs.jquery.com/action/render/UI/Effects/Highlight" dest="${docs.dir}effect-highlight.html" /> |
304 |
| - <get src="http://docs.jquery.com/action/render/UI/Effects/Pulsate" dest="${docs.dir}effect-pulsate.html" /> |
305 |
| - <get src="http://docs.jquery.com/action/render/UI/Effects/Shake" dest="${docs.dir}effect-shake.html" /> |
306 |
| - <get src="http://docs.jquery.com/action/render/UI/Effects/Size" dest="${docs.dir}effect-size.html" /> |
307 |
| - <get src="http://docs.jquery.com/action/render/UI/Effects/Transfer" dest="${docs.dir}effect-transfer.html" /> |
| 265 | + <parallel threadcount="8"> |
| 266 | + |
| 267 | + <get src="${url}Draggable" dest="${docs.dir}draggable.html" /> |
| 268 | + <get src="${url}Droppable" dest="${docs.dir}droppable.html" /> |
| 269 | + <get src="${url}Resizable" dest="${docs.dir}resizable.html" /> |
| 270 | + <get src="${url}Selectable" dest="${docs.dir}selectable.html" /> |
| 271 | + <get src="${url}Sortable" dest="${docs.dir}sortable.html" /> |
| 272 | + |
| 273 | + <get src="${url}Accordion" dest="${docs.dir}accordion.html" /> |
| 274 | + <get src="${url}Autocomplete" dest="${docs.dir}autocomplete.html" /> |
| 275 | + <get src="${url}Button" dest="${docs.dir}button.html" /> |
| 276 | + <get src="${url}Datepicker" dest="${docs.dir}datepicker.html" /> |
| 277 | + <get src="${url}Dialog" dest="${docs.dir}dialog.html" /> |
| 278 | + <get src="${url}Menu" dest="${docs.dir}menu.html" /> |
| 279 | + <get src="${url}Progressbar" dest="${docs.dir}progressbar.html" /> |
| 280 | + <get src="${url}Slider" dest="${docs.dir}slider.html" /> |
| 281 | + <get src="${url}Spinner" dest="${docs.dir}spinner.html" /> |
| 282 | + <get src="${url}Tooltip" dest="${docs.dir}tooltip.html" /> |
| 283 | + <get src="${url}Tabs" dest="${docs.dir}tabs.html" /> |
| 284 | + |
| 285 | + <get src="${url}Position" dest="${docs.dir}position.html" /> |
| 286 | + |
| 287 | + <get src="http://docs.jquery.com/action/render/UI/Effects/animate" dest="${docs.dir}animate.html" /> |
| 288 | + <get src="http://docs.jquery.com/action/render/UI/Effects/addClass" dest="${docs.dir}addClass.html" /> |
| 289 | + <get src="http://docs.jquery.com/action/render/UI/Effects/effect" dest="${docs.dir}effect.html" /> |
| 290 | + <get src="http://docs.jquery.com/action/render/UI/Effects/hide" dest="${docs.dir}hide.html" /> |
| 291 | + <get src="http://docs.jquery.com/action/render/UI/Effects/removeClass" dest="${docs.dir}removeClass.html" /> |
| 292 | + <get src="http://docs.jquery.com/action/render/UI/Effects/show" dest="${docs.dir}show.html" /> |
| 293 | + <get src="http://docs.jquery.com/action/render/UI/Effects/switchClass" dest="${docs.dir}switchClass.html" /> |
| 294 | + <get src="http://docs.jquery.com/action/render/UI/Effects/toggle" dest="${docs.dir}toggle.html" /> |
| 295 | + <get src="http://docs.jquery.com/action/render/UI/Effects/toggleClass" dest="${docs.dir}toggleClass.html" /> |
| 296 | + |
| 297 | + |
| 298 | + <get src="http://docs.jquery.com/action/render/UI/Effects/Blind" dest="${docs.dir}effect-blind.html" /> |
| 299 | + <get src="http://docs.jquery.com/action/render/UI/Effects/Clip" dest="${docs.dir}effect-clip.html" /> |
| 300 | + <get src="http://docs.jquery.com/action/render/UI/Effects/Drop" dest="${docs.dir}effect-drop.html" /> |
| 301 | + <get src="http://docs.jquery.com/action/render/UI/Effects/Explode" dest="${docs.dir}effect-explode.html" /> |
| 302 | + <get src="http://docs.jquery.com/action/render/UI/Effects/Fade" dest="${docs.dir}effect-fade.html" /> |
| 303 | + <get src="http://docs.jquery.com/action/render/UI/Effects/Fold" dest="${docs.dir}effect-fold.html" /> |
| 304 | + <get src="http://docs.jquery.com/action/render/UI/Effects/Puff" dest="${docs.dir}effect-puff.html" /> |
| 305 | + <get src="http://docs.jquery.com/action/render/UI/Effects/Slide" dest="${docs.dir}effect-slide.html" /> |
| 306 | + <get src="http://docs.jquery.com/action/render/UI/Effects/Scale" dest="${docs.dir}effect-scale.html" /> |
| 307 | + |
| 308 | + <get src="http://docs.jquery.com/action/render/UI/Effects/Bounce" dest="${docs.dir}effect-bounce.html" /> |
| 309 | + <get src="http://docs.jquery.com/action/render/UI/Effects/Highlight" dest="${docs.dir}effect-highlight.html" /> |
| 310 | + <get src="http://docs.jquery.com/action/render/UI/Effects/Pulsate" dest="${docs.dir}effect-pulsate.html" /> |
| 311 | + <get src="http://docs.jquery.com/action/render/UI/Effects/Shake" dest="${docs.dir}effect-shake.html" /> |
| 312 | + <get src="http://docs.jquery.com/action/render/UI/Effects/Size" dest="${docs.dir}effect-size.html" /> |
| 313 | + <get src="http://docs.jquery.com/action/render/UI/Effects/Transfer" dest="${docs.dir}effect-transfer.html" /> |
| 314 | + </parallel> |
308 | 315 | </target>
|
309 | 316 |
|
310 | 317 | <target name="themes-download">
|
|
0 commit comments