From: <fza...@us...> - 2005-11-30 22:04:36
|
Update of /cvsroot/struts/ajaxchat/WEB-INF/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13448/WEB-INF/src Modified Files: build.xml Added Files: history.txt Log Message: --- NEW FILE: history.txt --- v1.0 alpha 2 11/30/2005 ------------ * Removed SessionListener and implemented UserClearerDaemonThread. This is to deal with the fact that some servlet containers don't seem to handle SessionListeners in the way we need them to be handled here, and hence they can't be used to deal with inactive users (i.e., users who close their browser without properly logging out). This thread does that. * Removed some superfluous logging and changed log messages to go to proper levels (they were all set to info level before, which was easier during development, but isn't proper now). Also generally cleaned up logging to be more useful throughout. * Added Commons Validator JAR to lib directory. This is needed on some app servers (like Resin, where the live demo runs). * Cleaned up and expanded comments throughout. * Modified build script so distro task works properly. This can now be used to generate a WAR that is ready to deploy (note that the WAR *does* include the src folder). The WAR is then zipped up and appropriately named for distribution on the Struts Apps SourceForge page. Nice and easy for me! :) * Added a version number display to the welcome and lobby screens. This is more for me so that I can tell when Resin has deployed an updated WAR on the server where the live demo runs. * Cleaned up the user controls available in the chat room (i.e., lined things up, reorganized them, etc.) * Remapped filter to only paths ending in .do. v1.0 alpha 11/29/2005 ---------- * Initial release. Index: build.xml =================================================================== RCS file: /cvsroot/struts/ajaxchat/WEB-INF/src/build.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** build.xml 29 Nov 2005 23:08:29 -0000 1.1 --- build.xml 30 Nov 2005 22:04:27 -0000 1.2 *************** *** 6,13 **** <!-- ****************************************************************** --> <!-- "javadocs" is the directory where generated javadocs will be --> ! <!-- placed if the javadoc task is executed. --> <property name="javadocs" value="javadocs" /> <!-- "project_version" is, obviously, the version of the app! --> ! <property name="project_version" value="1.0" /> <!-- "proxy_host" is the address of the proxy server that will be --> <!-- used to download dependencies, if a proxy is required on your --> --- 6,14 ---- <!-- ****************************************************************** --> <!-- "javadocs" is the directory where generated javadocs will be --> ! <!-- placed if the javadoc task is executed. This is relative to --> ! <!-- the basedir of this script. --> <property name="javadocs" value="javadocs" /> <!-- "project_version" is, obviously, the version of the app! --> ! <property name="project_version" value="1.0_alpha2" /> <!-- "proxy_host" is the address of the proxy server that will be --> <!-- used to download dependencies, if a proxy is required on your --> *************** *** 21,26 **** <!-- "distro_dir" is the directory where the generated distribution --> <!-- file will be placed as a result of executing the optional distro --> ! <!-- target. --> ! <property name="distro_dir" value="c:\temp" /> --- 22,31 ---- <!-- "distro_dir" is the directory where the generated distribution --> <!-- file will be placed as a result of executing the optional distro --> ! <!-- target. This should be an absolute path, NOT relative to the --> ! <!-- basedir of this script. Note that the directory named here --> ! <!-- WILL BE RECREATED PRIOR TO THE DISTRO BEING BUILT, so don't set --> ! <!-- this to something stupid like c:\windows or something that --> ! <!-- otherwise has content you don't want to lose!! --> ! <property name="distro_dir" value="c:\temp\ajaxchat" /> *************** *** 44,49 **** <get_dependencies /> <antcall target="compile" inheritRefs="true" /> ! <!--<antcall target="checkstyle" inheritRefs="true" />--> ! <!--<antcall target="javadocs" inheritRefs="true" />--> </target> --- 49,54 ---- <get_dependencies /> <antcall target="compile" inheritRefs="true" /> ! <antcall target="checkstyle" inheritRefs="true" /> ! <antcall target="javadocs" inheritRefs="true" /> </target> *************** *** 68,72 **** <dependency group="antlr" version="2.7.5" /> <dependency group="regexp" version="1.3" /> - <dependency group="commons-beanutils" version="1.7.0" /> </dependencies> <echo message="Done" /> --- 73,76 ---- *************** *** 142,153 **** <target name="distro"> <echo message="Making distros..." /> ! <delete file="${distro_dir}/ajaxchat_${project_version_filename}.zip" /> <jar destfile="${distro_dir}/ajaxchat.war" basedir="../" /> ! <zip destfile="${distro_dir}/ajaxchat_${project_version_filename}.zip" basedir="${distro_dir}"> ! <include name="ajaxchat.zip" /> </zip> ! <checksum file="${distro_dir}/ajaxchat_${project_version_filename}.zip" forceOverwrite="yes"/> <echo message="Done" /> </target> --- 146,161 ---- <target name="distro"> <echo message="Making distros..." /> ! <antcall target="clean" inheritRefs="true" /> ! <antcall target="build" inheritRefs="true" /> ! <delete dir="${distro_dir}" /> ! <mkdir dir="${distro_dir}" /> <jar destfile="${distro_dir}/ajaxchat.war" basedir="../" /> ! <zip destfile="${distro_dir}/ajaxchat_${project_version}.zip" basedir="${distro_dir}"> ! <include name="ajaxchat.war" /> </zip> ! <checksum file="${distro_dir}/ajaxchat_${project_version}.zip" forceOverwrite="yes"/> + <delete file="${distro_dir}/ajaxchat.war" /> <echo message="Done" /> </target> |