Changeset 1970

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

Improved doc

Location:
FCKeditor.Java/branches/2.4
Files:
3 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 
  • FCKeditor.Java/branches/2.4/src/site/apt/demo.apt

    r1758 r1970  
    2222                                    ------------------------------ 
    2323 
    24 Demo 
     24Demo Web Application 
    2525   
    26   Put the file FCKeditor-[version].war in the webapps folder of your servlet container.  
    27 To run the demo, you just have to point yout browser at http://domainName.ext/fckeditor-java. 
     26  The demo is intended for novices, beginners and for everyone who wants to see 
     27  the FCKeditor in action right out of the box. It's also a good reference for  
     28  you to see how all integral parts work together. 
    2829 
    29   The upload and viewing of files is disabled by default. To enable this, you have to put a  
    30 file named 'fckeditor.properties' in the root of the classpath of fckeditor-java with the  
    31 following content: connector.sessionDataImpl=net.fckeditor.impl.BasicSessionData 
     30  It takes two simple steps to see the demo in action: 
     31 
     32   [[1]] Deploy the <<<fckeditor-java-demo-2.4-beta-1.war>>> in your servlet container  
     33         or application server and make sure that the context is enabled. 
     34         
     35   [[2]] Open up your browser and point to {{http://localhost:8080/fckeditor-java-demo-2.4-beta-1}}. 
     36         (assuming your server is running local at port 8080 for testing purposes) 
     37 
     38   [] 
     39 
     40  You are now ready to explore the FCKeditor! 
  • 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