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

Improved doc

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • FCKeditor.Java/branches/2.4/src/site/apt/installation.apt

    r1949 r1970  
    109109  [] 
    110110 
     111* FCKeditor installation 
     112 
     113  Although the public distribution is fine, it still contains a lot of superfluous 
     114  files for a Java environment. Use the following <<<Ant>>> target on the FCKeditor 
     115  zip file (1,25 MiB) to create a clean distribution zip file (984 KiB). 
     116 
     117+----------------------------------------------------------------------------------+ 
     118<target name="clean-fckeditor" description="Creates a clean FCKeditor distribution"> 
     119  <!-- Adapt properties to your needs --> 
     120  <property name="fckeditor-tmp" location="fckeditor-tmp" /> 
     121  <property name="fckeditor-basename" value="FCKeditor_2.6" /> 
     122  <property name="fckeditor-destfile" value="${fckeditor-basename}_clean.zip" /> 
     123 
     124  <delete file="${fckeditor-destfile}" /> 
     125  <unzip dest="${fckeditor-tmp}" src="${fckeditor-basename}.zip" /> 
     126  <zip destfile="${fckeditor-destfile}"> 
     127    <zipfileset dir="${fckeditor-tmp}/fckeditor" prefix="fckeditor"> 
     128      <include name="_samples/_plugins/" /> 
     129      <include name="editor/" /> 
     130      <include name="fckconfig.js" /> 
     131      <include name="*.xml" /> 
     132      <exclude name="editor/filemanager/connectors/" /> 
     133    </zipfileset> 
     134  </zip> 
     135  <delete dir="${fckeditor-tmp}" /> 
     136</target> 
     137+----------------------------------------------------------------------------------+ 
     138 
    111139A word on Logging 
    112140