| | 35 | </target> |
| | 36 | |
| | 37 | <target name="clean-fckeditor" |
| | 38 | description="Creates a clean FCKeditor distribution" |
| | 39 | > |
| | 40 | <property name="fckeditor-tmp" location="fckeditor-tmp" /> |
| | 41 | <property name="fckeditor-basename" value="FCKeditor_2.6" /> |
| | 42 | <property name="fckeditor-destfile" |
| | 43 | value="${fckeditor-basename}_clean.zip" |
| | 44 | /> |
| | 45 | <delete file="${fckeditor-destfile}" /> |
| | 46 | <unzip dest="${fckeditor-tmp}" src="${fckeditor-basename}.zip" /> |
| | 47 | <zip destfile="${fckeditor-destfile}"> |
| | 48 | <zipfileset dir="${fckeditor-tmp}/fckeditor" prefix="fckeditor"> |
| | 49 | <include name="_samples/_plugins/" /> |
| | 50 | <include name="editor/" /> |
| | 51 | <include name="fckconfig.js" /> |
| | 52 | <include name="*.xml" /> |
| | 53 | <exclude name="editor/filemanager/connectors/" /> |
| | 54 | </zipfileset> |
| | 55 | </zip> |
| | 56 | <delete dir="${fckeditor-tmp}" /> |