Update of /cvsroot/htmlparser/htmlparser
In directory sc8-pr-cvs1:/tmp/cvs-serv16611
Modified Files:
build.xml
Log Message:
Thumbelina
Created a lexer GUI application to extract images behind thumbnails.
Added a task in the ant build script - thumbelina - to create the jar file.
You need JDK 1.4.x to build it. It can be run on JDK 1.3.x in crippled mode.
Usage: java -Xmx256M thumbelina.jar [URL]
Index: build.xml
===================================================================
RCS file: /cvsroot/htmlparser/htmlparser/build.xml,v
retrieving revision 1.46
retrieving revision 1.47
diff -C2 -d -r1.46 -r1.47
*** build.xml 10 Sep 2003 03:38:17 -0000 1.46
--- build.xml 21 Sep 2003 18:20:55 -0000 1.47
***************
*** 306,309 ****
--- 306,326 ----
</target>
+ <!-- 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"/>
+ </javac>
+ <jar jarfile="${dist}/lib/thumbelina.jar"
+ basedir="${src}"
+ defaultexcludes="no"
+ update="true">
+ <include name="org/htmlparser/lexerapplications/thumbelina/**/*.class"/>
+ <zipfileset src="${dist}/lib/htmllexer.jar" includes="**/*.class"/>
+ <manifest>
+ <attribute name="Main-Class" value="org.htmlparser.lexerapplications.thumbelina.Thumbelina"/>
+ </manifest>
+ </jar>
+ </target>
+
<!-- Run the unit tests -->
<target name="test" depends="jar" description="run the JUnit tests">
|