Changeset 1970
- Timestamp:
- 2008-05-09 00:10:13 (5 months ago)
- Location:
- FCKeditor.Java/branches/2.4
- Files:
-
- 3 modified
-
build.xml (modified) (2 diffs)
-
src/site/apt/demo.apt (modified) (1 diff)
-
src/site/apt/installation.apt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor.Java/branches/2.4/build.xml
r1907 r1970 21 21 <project name="fckeditor-java" basedir="."> 22 22 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 > 24 26 <copy todir="java-demo/src/main/webapp/fckeditor"> 25 27 <fileset dir="../fckeditor"> … … 31 33 </fileset> 32 34 </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}" /> 33 57 </target> 34 58 -
FCKeditor.Java/branches/2.4/src/site/apt/demo.apt
r1758 r1970 22 22 ------------------------------ 23 23 24 Demo 24 Demo Web Application 25 25 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. 28 29 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 109 109 [] 110 110 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 111 139 A word on Logging 112 140