Update of /cvsroot/htmlparser/htmlparser
In directory sc8-pr-cvs1:/tmp/cvs-serv21038
Modified Files:
build.xml
Log Message:
Integrate Thumbelina into the release.
Added executables and alter Release target to add thumbelina.jar.
Index: build.xml
===================================================================
RCS file: /cvsroot/htmlparser/htmlparser/build.xml,v
retrieving revision 1.47
retrieving revision 1.48
diff -C2 -d -r1.47 -r1.48
*** build.xml 21 Sep 2003 18:20:55 -0000 1.47
--- build.xml 22 Sep 2003 00:44:03 -0000 1.48
***************
*** 100,103 ****
--- 100,108 ----
</target>
+ <target name="JDK1.4">
+ <condition property="JDK1.4">
+ <equals arg1="1.4" arg2="${ant.java.version}"/>
+ </condition>
+ </target>
<target name="init" description="initialize version properties">
***************
*** 307,311 ****
<!-- Create the Thumbelina jar -->
! <target name="thumbelina" depends="jarlexer" description="create thumbelina.jar">
<javac compiler="javac1.4" srcdir="${src}" debug="on" classpath="src:${dist}/lib/htmllexer.jar">
<include name="org/htmlparser/lexerapplications/thumbelina/**/*.java"/>
--- 312,323 ----
<!-- Create the Thumbelina jar -->
! <target name="thumbelina" depends="JDK1.4,jarlexer" description="create thumbelina.jar" if="JDK1.4">
! <!-- Create the distribution directory -->
! <mkdir dir="${dist}/lib"/>
!
! <echo message="**********************************"/>
! <echo message="* Creating thumbelina.jar.... *"/>
! <echo message="**********************************"/>
!
<javac compiler="javac1.4" srcdir="${src}" debug="on" classpath="src:${dist}/lib/htmllexer.jar">
<include name="org/htmlparser/lexerapplications/thumbelina/**/*.java"/>
***************
*** 417,425 ****
<fileset dir="${resources}" includes="*.bat"/>
<fileset dir="${resources}" includes="lexer"/>
</copy>
</target>
<!-- The release directory structuring finishes here -->
! <target name="Release" depends="versionSource,jar,javadoc,CopyBatch" description="prepare the release files">
</target>
--- 429,438 ----
<fileset dir="${resources}" includes="*.bat"/>
<fileset dir="${resources}" includes="lexer"/>
+ <fileset dir="${resources}" includes="thumbelina"/>
</copy>
</target>
<!-- The release directory structuring finishes here -->
! <target name="Release" depends="versionSource,jar,thumbelina,javadoc,CopyBatch" description="prepare the release files">
</target>
|