Update of /cvsroot/htmlparser/htmlparser
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19028
Modified Files:
build.xml
Log Message:
Part three of a multiphase refactoring.
The three node types are now fronted by interfaces (program to the interface paradigm)
with concrete implementations in the new htmlparser.nodes package. Classes from the
lexer.nodes package are moved to this package, and obvious references to the concrete
classes that got broken by this have been changed to use the interfaces where possible.
Index: build.xml
===================================================================
RCS file: /cvsroot/htmlparser/htmlparser/build.xml,v
retrieving revision 1.64
retrieving revision 1.65
diff -C2 -d -r1.64 -r1.65
*** build.xml 22 May 2004 11:35:50 -0000 1.64
--- build.xml 24 May 2004 16:18:10 -0000 1.65
***************
*** 198,204 ****
<target name="compilelexer" description="compile lexer java files">
<javac srcdir="${src}" debug="on" classpath="src:${commons-logging.jar}" target="1.1">
! <include name="org/htmlparser/lexer/**/*.java"/>
! <include name="org/htmlparser/AbstractNode.java"/>
<include name="org/htmlparser/Node.java"/>
<include name="org/htmlparser/util/ParserException.java"/>
<include name="org/htmlparser/util/ChainedException.java"/>
--- 198,209 ----
<target name="compilelexer" description="compile lexer java files">
<javac srcdir="${src}" debug="on" classpath="src:${commons-logging.jar}" target="1.1">
! <include name="org/htmlparser/lexer/*.java"/>
! <include name="org/htmlparser/nodes/*.java"/>
! <include name="org/htmlparser/Attribute.java"/>
<include name="org/htmlparser/Node.java"/>
+ <include name="org/htmlparser/NodeFactory.java"/>
+ <include name="org/htmlparser/Remark.java"/>
+ <include name="org/htmlparser/Tag.java"/>
+ <include name="org/htmlparser/Text.java"/>
<include name="org/htmlparser/util/ParserException.java"/>
<include name="org/htmlparser/util/ChainedException.java"/>
***************
*** 228,236 ****
<jar jarfile="${lib}/htmllexer.jar"
basedir="${src}">
! <include name="org/htmlparser/lexer/**/*.class"/>
! <include name="org/htmlparser/AbstractNode.class"/>
<include name="org/htmlparser/Node.class"/>
! <include name="org/htmlparser/NodeFilter.class"/>
<include name="org/htmlparser/Tag.class"/>
<include name="org/htmlparser/util/ParserException.class"/>
<include name="org/htmlparser/util/ChainedException.class"/>
--- 233,244 ----
<jar jarfile="${lib}/htmllexer.jar"
basedir="${src}">
! <include name="org/htmlparser/lexer/*.class"/>
! <include name="org/htmlparser/nodes/*.class"/>
! <include name="org/htmlparser/Attribute.class"/>
<include name="org/htmlparser/Node.class"/>
! <include name="org/htmlparser/NodeFactory.class"/>
! <include name="org/htmlparser/Remark.class"/>
<include name="org/htmlparser/Tag.class"/>
+ <include name="org/htmlparser/Text.class"/>
<include name="org/htmlparser/util/ParserException.class"/>
<include name="org/htmlparser/util/ChainedException.class"/>
***************
*** 349,353 ****
<group title="Example Applications" packages="org.htmlparser.parserapplications,org.htmlparser.lexerapplications.tabby,org.htmlparser.lexerapplications.thumbelina"/>
<group title="Tags" packages="org.htmlparser.tags,org.htmlparser.tags.data"/>
! <group title="Lexer" packages="org.htmlparser.lexer,org.htmlparser.lexer.nodes"/>
<group title="Scanners" packages="org.htmlparser.scanners"/>
<group title="Beans" packages="org.htmlparser.beans"/>
--- 357,361 ----
<group title="Example Applications" packages="org.htmlparser.parserapplications,org.htmlparser.lexerapplications.tabby,org.htmlparser.lexerapplications.thumbelina"/>
<group title="Tags" packages="org.htmlparser.tags,org.htmlparser.tags.data"/>
! <group title="Lexer" packages="org.htmlparser.lexer"/>
<group title="Scanners" packages="org.htmlparser.scanners"/>
<group title="Beans" packages="org.htmlparser.beans"/>
|