Show
Ignore:
Timestamp:
2008-05-09 00:10:13 (8 months ago)
Author:
mosipov
Message:

Improved doc

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • FCKeditor.Java/branches/2.4/build.xml

    r1907 r1970  
    2121<project name="fckeditor-java" basedir="."> 
    2222 
    23         <target name="deploy-fckeditor" description="Deploys the FCKeditor into the webapp for testing purposes"> 
     23        <target name="deploy-fckeditor" 
     24                description="Deploys the FCKeditor into the webapp for testing purposes" 
     25        > 
    2426                <copy todir="java-demo/src/main/webapp/fckeditor"> 
    2527                        <fileset dir="../fckeditor"> 
     
    3133                        </fileset> 
    3234                </copy> 
     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}" /> 
    3357        </target> 
    3458