Update of /cvsroot/htmlparser/htmlparser/src/org/htmlparser/parserapplications
In directory sc8-pr-cvs1:/tmp/cvs-serv23601/htmlparser/src/org/htmlparser/parserapplications
Modified Files:
MailRipper.java Robot.java
Log Message:
Provide for automatic changelog generation. A changeLog target was added to the build.xml file.
The static version stuff in Parser was reworked to allow picking out the previous integration date.
The getVersion() method was made static.
The getVersionNumber() method was added to clean up some uglies.
Index: MailRipper.java
===================================================================
RCS file: /cvsroot/htmlparser/htmlparser/src/org/htmlparser/parserapplications/MailRipper.java,v
retrieving revision 1.31
retrieving revision 1.32
diff -C2 -d -r1.31 -r1.32
*** MailRipper.java 12 May 2003 01:37:44 -0000 1.31
--- MailRipper.java 18 May 2003 09:41:51 -0000 1.32
***************
*** 61,65 ****
}
public static void main(String[] args) {
! System.out.println("Mail Ripper v"+Parser.VERSION_STRING);
if (args.length<1 || args[0].equals("-help"))
{
--- 61,65 ----
}
public static void main(String[] args) {
! System.out.println("Mail Ripper v" + Parser.getVersion ());
if (args.length<1 || args[0].equals("-help"))
{
Index: Robot.java
===================================================================
RCS file: /cvsroot/htmlparser/htmlparser/src/org/htmlparser/parserapplications/Robot.java,v
retrieving revision 1.32
retrieving revision 1.33
diff -C2 -d -r1.32 -r1.33
*** Robot.java 12 May 2003 01:37:44 -0000 1.32
--- Robot.java 18 May 2003 09:41:52 -0000 1.33
***************
*** 102,106 ****
public static void main(String[] args)
{
! System.out.println("Robot Crawler v"+Parser.VERSION_STRING);
if (args.length<2 || args[0].equals("-help"))
{
--- 102,106 ----
public static void main(String[] args)
{
! System.out.println("Robot Crawler v" + Parser.getVersion ());
if (args.length<2 || args[0].equals("-help"))
{
|