[Htmlparser-cvs] htmlparser build.xml,1.81,1.82
Brought to you by:
derrickoswald
From: Derrick O. <der...@us...> - 2006-03-19 22:04:05
|
Update of /cvsroot/htmlparser/htmlparser In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1074 Modified Files: build.xml Log Message: Fix bug #1363500 http://htmlparser.sourceforge.net/bug.html is wrong Take down the wiki. Index: build.xml =================================================================== RCS file: /cvsroot/htmlparser/htmlparser/build.xml,v retrieving revision 1.81 retrieving revision 1.82 diff -C2 -d -r1.81 -r1.82 *** build.xml 26 Sep 2005 01:01:22 -0000 1.81 --- build.xml 19 Mar 2006 22:03:56 -0000 1.82 *************** *** 6,11 **** Release Procedure - cd htmlparser - - 'ant wiki' captures the PhpWiki from http://htmlparser.sourceforge.org/docs/wiki to - the docs/wiki directory (except for indirect image references). - 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) --- 6,9 ---- *************** *** 20,24 **** - perform a CVS update on htmlparser/ to identify new and changed files - commit changed files (i.e. Parser.java, docs/release.txt, docs/changes.txt, ! docs/release.txt and docs/wiki) to the head revision using a reason of the form: Update version to 1.5-20040522. - use CVS to tag the current head revisions with a name like v1_5_20040522. --- 18,22 ---- - perform a CVS update on htmlparser/ to identify new and changed files - commit changed files (i.e. Parser.java, docs/release.txt, docs/changes.txt, ! and docs/release.txt) to the head revision using a reason of the form: Update version to 1.5-20040522. - use CVS to tag the current head revisions with a name like v1_5_20040522. *************** *** 69,73 **** Update the Web Site - - remove the local docs/wiki directory - create a tarball of the docs directory tar -tf docs.tar --- 67,70 ---- *************** *** 90,98 **** mv ../olddocs/performance . mv ../olddocs/test . - mv ../olddocs/wiki . - - edit the panel.html file to change the target of the Wiki link from - wiki/index.html - to - wiki/index.php - delete the old htmldocs directory rm -rf ../oldhtdocs --- 87,90 ---- *************** *** 115,119 **** <property name="classes" value="${src}"/> <property name="docs" value="docs"/> - <property name="wiki" value="${docs}/wiki"/> <property name="bin" value="bin"/> <property name="lib" value="lib"/> --- 107,110 ---- *************** *** 167,171 **** </target> ! <target name="JDK1.4"> <condition property="JDK1.4"> <or> --- 158,162 ---- </target> ! <target name="JDK_OK"> <condition property="JDK1.4"> <or> *************** *** 174,180 **** </or> </condition> </target> ! <target name="JDK_Warning" unless="JDK1.4"> <echo message="***************************************************"/> <echo message="* WARNING: The detected JDK version is not 1.4! *"/> --- 165,176 ---- </or> </condition> + <condition property="JDK1.5"> + <or> + <equals arg1="1.5" arg2="${ant.java.version}"/> + </or> + </condition> </target> ! <target name="JDK_Warning" unless="JDK_OK"> <echo message="***************************************************"/> <echo message="* WARNING: The detected JDK version is not 1.4! *"/> *************** *** 369,377 **** <!-- Create the Thumbelina jar --> ! <target name="thumbelina" depends="JDK1.4,jarlexer" description="create thumbelina.jar" if="JDK1.4"> <!-- Create the lib directory --> <mkdir dir="${lib}"/> <mkdir dir="${classes}"/> ! <javac srcdir="${src}" destdir="${classes}" debug="on" classpath="${classes}:${lib}/htmllexer.jar" source="1.3"> <include name="org/htmlparser/lexerapplications/thumbelina/**/*.java"/> </javac> --- 365,373 ---- <!-- Create the Thumbelina jar --> ! <target name="thumbelina" depends="JDK_OK,jarlexer" description="create thumbelina.jar" if="JDK1.5"> <!-- Create the lib directory --> <mkdir dir="${lib}"/> <mkdir dir="${classes}"/> ! <javac srcdir="${src}" destdir="${classes}" debug="on" classpath="${classes}:${lib}/htmllexer.jar" source="1.5"> <include name="org/htmlparser/lexerapplications/thumbelina/**/*.java"/> </javac> *************** *** 388,392 **** <!-- Create the FilterBuilder jar --> ! <target name="filterbuilder" depends="JDK1.4,jarparser" description="create filterbuilder.jar" if="JDK1.4"> <!-- Create the lib directory --> <mkdir dir="${lib}"/> --- 384,388 ---- <!-- Create the FilterBuilder jar --> ! <target name="filterbuilder" depends="JDK_OK,jarparser" description="create filterbuilder.jar" if="JDK1.4"> <!-- Create the lib directory --> <mkdir dir="${lib}"/> *************** *** 436,467 **** </target> - <!-- Delete the files gathered from the wiki. --> - <target name="cleanwiki" description="delete local wiki files"> - <!-- Delete the content, leave the CVS files. --> - <!-- This is done so deleted wiki pages are not left orphaned in CVS. --> - <delete failonerror="false"> - <fileset dir="${wiki}"> - <filename name="**/*"/> - <not> - <filename name="*CVS*"/> - </not> - </fileset> - </delete> - </target> - - <!-- Capture the wiki --> - <target name="wiki" depends="jar,cleanwiki" description="capture the wiki"> - <java classname="org.htmlparser.parserapplications.WikiCapturer" fork="yes" failonerror="yes"> - <classpath> - <pathelement location="${lib}/htmlparser.jar"/> - </classpath> - <arg value="http://htmlparser.sourceforge.net/wiki/"/> - <arg value="${wiki}"/> - <arg value="true"/> - </java> - </target> - <!-- Create the javadoc for the project --> ! <target name="javadoc" depends="JDK1.4,JDK_Warning,init" description="create JavaDoc (API) documentation"> <mkdir dir="${classes}"/> <javac srcdir="${resources}" includes="HtmlTaglet.java" classpath="${classes}"/> --- 432,437 ---- </target> <!-- Create the javadoc for the project --> ! <target name="javadoc" depends="JDK_OK,JDK_Warning,init" description="create JavaDoc (API) documentation"> <mkdir dir="${classes}"/> <javac srcdir="${resources}" includes="HtmlTaglet.java" classpath="${classes}"/> *************** *** 508,511 **** --- 478,509 ---- </target> + <!-- Create the javadoc for the project --> + <target name="checkjavadoc" depends="JDK_OK,JDK_Warning,init" description="create JavaDoc (API) documentation"> + <mkdir dir="${classes}"/> + <javac srcdir="${resources}" includes="HtmlTaglet.java" classpath="${classes}"/> + <mkdir dir="${docs}/checkjavadoc"/> + <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; 2005 Derrick Oswald<div align="right">${TODAY_STRING}</div>"/> + <property name="javadoc.bottom" value="<table width='100%'><tr><td>HTML Parser is an open source library released under + <a HREF="http://www.opensource.org/licenses/lgpl-license.html" target="_top">LGPL</a>.</td><td align='right'> + <a HREF="http://sourceforge.net/projects/htmlparser" target="_top"> + <img src="http://sourceforge.net/sflogo.php?group_id=24399&type=1" width="88" height="31" border="0" alt="SourceForge.net"></a></td></tr></table>"/> + <javadoc doclet="com.sun.tools.doclets.doccheck.DocCheck" + docletpath="/home/derrick/htmlparser_cvs/htmlparser/doccheck1.2b2/doccheck.jar" + packagenames="org.htmlparser.*" + sourcepath="${src}" + classpath="${classes}" + defaultexcludes="yes" + excludepackagenames="org.htmlparser.tests.*" + destdir="${docs}/checkjavadoc" + author="true" + version="true" + overview="${src}/doc-files/overview.html"> + </javadoc> + <copy file="${resources}/inherit.gif" tofile="${docs}/javadoc/resources/inherit.gif" overwrite="true"/> + <delete file="${resources}/HtmlTaglet.class"/> + </target> + <target name="release" depends="jar,thumbelina,filterbuilder,javadoc" description="prepare the release files"> </target> |