[Htmlparser-cvs] htmlparser build.xml,1.54,1.55
Brought to you by:
derrickoswald
From: <der...@us...> - 2004-01-02 16:25:35
|
Update of /cvsroot/htmlparser/htmlparser In directory sc8-pr-cvs1:/tmp/cvs-serv2062/htmlparser Modified Files: build.xml Log Message: Update the integration procedure to use a CVS tag, rather than changing the version in every file header. Index: build.xml =================================================================== RCS file: /cvsroot/htmlparser/htmlparser/build.xml,v retrieving revision 1.54 retrieving revision 1.55 diff -C2 -d -r1.54 -r1.55 *** build.xml 16 Dec 2003 02:29:55 -0000 1.54 --- build.xml 2 Jan 2004 16:24:52 -0000 1.55 *************** *** 6,11 **** Release Procedure - cd htmlparser - set environment variables CVSROOT and CVS_RSH (see changelog task) ! - 'ant changelog' generates htmlparser/ChangeLog - edit the ChangeLog to exclude changes already incorporated and the previous release's "update of version headers" drop - the CVS date spec is only accurate --- 6,18 ---- Release Procedure - cd htmlparser + - delete the local Wiki pages with 'rm /home/derrick/htmlparser_cvs/htmlparser/docs/docs/*' + and 'rm /home/derrick/htmlparser_cvs/htmlparser/docs/docs/images/*', + of course any one else would have to adjust this and + also the hard-coded path in WikiCapturer + - 'javac -classpath lib/htmlparser.jar ../WikiCapturer/src/org/htmlparser/wikicapturer/CaptureWiki.java ../WikiCapturer/src/org/htmlparser/wikicapturer/PhpWikiVisitor.java' + and 'java -classpath lib/htmlparser.jar:../WikiCapturer/src org.htmlparser.wikicapturer.CaptureWiki' + fetches current Wiki pages - set environment variables CVSROOT and CVS_RSH (see changelog task) ! - 'ant changelog' generates htmlparser/ChangeLog (this will be changed to use the previous version tag someday) - edit the ChangeLog to exclude changes already incorporated and the previous release's "update of version headers" drop - the CVS date spec is only accurate *************** *** 13,33 **** that's why this step can't be automated - incorporate changes from ChangeLog into htmlparser/docs/changes under ! a heading like "Integration Build 1.4 - 20030824" ! - 'ant jar' generates new htmlparser.jar and htmllexer.jar in htmlparser/release/htmlparser1_4/lib - 'ant test' compiles and runs the unit tests - - 'rm /home/derrick/htmlparser_cvs/htmlparser/docs/docs/*' - and 'rm /home/derrick/htmlparser_cvs/htmlparser/docs/docs/images/*' - deletes local Wiki pages, of course any one else would have to adjust this and - also the hard-coded path in WikiCapturer - - 'javac -classpath lib/htmlparser.jar ../WikiCapturer/src/org/htmlparser/wikicapturer/CaptureWiki.java ../WikiCapturer/src/org/htmlparser/wikicapturer/PhpWikiVisitor.java' - and 'java -classpath lib/htmlparser.jar:../WikiCapturer/src org.htmlparser.wikicapturer.CaptureWiki' - fetches current Wiki pages - - perform a CVS update on htmlparser/docs/docs to identify new and changed files - and commit them - that's why this step can't be automated - 'ant clean htmlparser' updates the version headers, creates the jar file and doc files and zips ! everything into a file htmlparser/distribution/htmlparser1_4_20030824.zip ! - commit docs/changes, docs/docs, docs/docs/images and src/* using a reason of ! the form: ! Update version headers to 1.4-20030824 and update changelog. Sourceforge File Release Procedure --- 20,35 ---- that's why this step can't be automated - incorporate changes from ChangeLog into htmlparser/docs/changes under ! a heading like "Integration Build 1.4 - 20040104" ! - 'ant versionSource' updates the version in Parser.java and release.txt ! - perform a CVS update on htmlparser to identify new and changed files ! - commit changed files (i.e. Parser.java, release.txt, docs/changes, docs/docs ! and docs/docs/images) to the head revision using a reason of the form: ! Update version to 1.4-20040104. ! - use CVS to tag the current head revisions with a name like v1_4_20040104 ! - use CVS to checkout everything with the tag used above - 'ant test' compiles and runs the unit tests - 'ant clean htmlparser' updates the version headers, creates the jar file and doc files and zips ! everything into a file htmlparser/distribution/htmlparser1_4_20040104.zip ! - use CVS to checkout everything against the head revision to reset your workspace Sourceforge File Release Procedure *************** *** 38,45 **** ftp> cd incoming ftp> bin ! ftp> put htmlparser1_4_20030824.zip ftp> bye - add a release to the 'Integation Builds' package ! Admin-File Releases-Add Release, use a name of the form '1_4_2003824' - Step 1, 'Paste The Notes' (using numeric character references and character entity references because this is displayed as HTML) with a --- 40,47 ---- ftp> cd incoming ftp> bin ! ftp> put htmlparser1_4_20040104.zip ftp> bye - add a release to the 'Integation Builds' package ! Admin-File Releases-Add Release, use a name of the form '1_4_20040104' - Step 1, 'Paste The Notes' (using numeric character references and character entity references because this is displayed as HTML) with a *************** *** 50,54 **** Pending Bugs: - use the 'Upload Change Log:' field to specify the ChamgeLog file you edited ! - Step 2, check the checkbox of the htmlparser1_4_20030824.zip file from the list of files in the uploads section - Submit/Refresh --- 52,56 ---- Pending Bugs: - use the 'Upload Change Log:' field to specify the ChamgeLog file you edited ! - Step 2, check the checkbox of the htmlparser1_4_20040104.zip file from the list of files in the uploads section - Submit/Refresh *************** *** 63,67 **** Submit News - from the project summary screen, select 'Submit News' and title it like: ! HTML Parser Integration Release 1.4-20030824 - type in a summary of the changes made - SUBMIT --- 65,69 ---- Submit News - from the project summary screen, select 'Submit News' and title it like: ! HTML Parser Integration Release 1.4-20040104 - type in a summary of the changes made - SUBMIT *************** *** 150,154 **** </target> ! <target name="versionSource" depends="init" description="update the version in all java files"> <echo message="Replacing version VERSION_NUMBER = ${VERSION_NUMBER} with VERSION_NUMBER = ${versionNumber} in ${src}/org/htmlparser/Parser.java"/> <replace file="${src}/org/htmlparser/Parser.java" token="VERSION_NUMBER = ${VERSION_NUMBER}" value="VERSION_NUMBER = ${versionNumber}"/> --- 152,156 ---- </target> ! <target name="versionSource" depends="init" description="update the version"> <echo message="Replacing version VERSION_NUMBER = ${VERSION_NUMBER} with VERSION_NUMBER = ${versionNumber} in ${src}/org/htmlparser/Parser.java"/> <replace file="${src}/org/htmlparser/Parser.java" token="VERSION_NUMBER = ${VERSION_NUMBER}" value="VERSION_NUMBER = ${versionNumber}"/> *************** *** 166,175 **** </replace> - <echo message="Replacing version tag ${previousTag} with ${versionTag} in all source files"/> - <replace dir="${src}" value="${versionTag}"> - <include name="**/*.java"/> - <include name="**/package.html"/> - <replacefilter token="${previousTag}"/> - </replace> </target> --- 168,171 ---- *************** *** 332,336 **** <property name="javadoc.doctitle" value="HTML Parser ${versionNumber}"/> <property name="javadoc.header" value="<A HREF="http://htmlparser.sourceforge.net" target="_top">HTML Parser Home Page</A>"/> ! <property name="javadoc.footer" value="&copy; 2003 Somik Raha<div align="right">${TODAY_STRING}</div>"/> <property name="javadoc.bottom" value="HTML Parser is an open source library released under <A HREF="http://www.opensource.org/licenses/lgpl-license.html" target="_top">LGPL</A>.<BR> --- 328,332 ---- <property name="javadoc.doctitle" value="HTML Parser ${versionNumber}"/> <property name="javadoc.header" value="<A HREF="http://htmlparser.sourceforge.net" target="_top">HTML Parser Home Page</A>"/> ! <property name="javadoc.footer" value="&copy; 2004 Somik Raha<div align="right">${TODAY_STRING}</div>"/> <property name="javadoc.bottom" value="HTML Parser is an open source library released under <A HREF="http://www.opensource.org/licenses/lgpl-license.html" target="_top">LGPL</A>.<BR> *************** *** 367,371 **** </target> ! <target name="Release" depends="versionSource,jar,thumbelina,javadoc" description="prepare the release files"> </target> --- 363,367 ---- </target> ! <target name="Release" depends="jar,thumbelina,javadoc" description="prepare the release files"> </target> |