[Htmlparser-cvs] htmlparser/bin translate.cmd,1.1,1.2 lexer.cmd,1.1,1.2 stringextractor.cmd,1.1,1.2
Brought to you by:
derrickoswald
Update of //cvsroot/htmlparser/htmlparser/bin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28620 Modified Files: translate.cmd lexer.cmd stringextractor.cmd filterbuilder.cmd thumbelina.cmd sitecapturer.cmd parser.cmd linkextractor.cmd beanybaby.cmd Log Message: Allow execution from directory name containing spaces on Windows. Index: parser.cmd =================================================================== RCS file: //cvsroot/htmlparser/htmlparser/bin/parser.cmd,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** parser.cmd 10 Apr 2005 23:20:41 -0000 1.1 --- parser.cmd 17 Apr 2006 13:51:19 -0000 1.2 *************** *** 1,47 **** ! @echo off ! rem HTMLParser Library $Name$ - A java-based parser for HTML ! rem http://sourceforge.org/projects/htmlparser ! rem Copyright (C) 2005 Derrick Oswald ! rem ! rem Revision Control Information ! rem ! rem $Source$ ! rem $Author$ ! rem $Date$ ! rem $Revision$ ! rem ! rem This library is free software; you can redistribute it and/or ! rem modify it under the terms of the GNU Lesser General Public ! rem License as published by the Free Software Foundation; either ! rem version 2.1 of the License, or (at your option) any later version. ! rem ! rem This library is distributed in the hope that it will be useful, ! rem but WITHOUT ANY WARRANTY; without even the implied warranty of ! rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! rem Lesser General Public License for more details. ! rem ! rem You should have received a copy of the GNU Lesser General Public ! rem License along with this library; if not, write to the Free Software ! rem Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! rem ! setlocal enableextensions ! if errorlevel 1 goto no_extensions_error ! for %%i in (%0) do set cmd_path= %%~dpi ! for /D %%i in (%cmd_path%..\lib\) do set lib_path=%%~dpi ! if not exist %lib_path%htmlparser.jar goto no_jar_error ! for %%i in (java.exe) do set java_executable=%%~$PATH:i ! if "%java_executable%"=="" goto no_java_error ! @echo on ! %java_executable% -classpath %lib_path%htmlparser.jar org.htmlparser.Parser %1 %2 ! @echo off ! goto end ! :no_extensions_error ! echo Unable to use CMD extensions ! goto end ! :no_jar_error ! echo Unable to find htmlparser.jar ! goto end ! :no_java_error ! echo Unable to find java.exe ! goto end ! :end --- 1,47 ---- ! @echo off ! rem HTMLParser Library $Name$ - A java-based parser for HTML ! rem http://sourceforge.org/projects/htmlparser ! rem Copyright (C) 2005 Derrick Oswald ! rem ! rem Revision Control Information ! rem ! rem $Source$ ! rem $Author$ ! rem $Date$ ! rem $Revision$ ! rem ! rem This library is free software; you can redistribute it and/or ! rem modify it under the terms of the GNU Lesser General Public ! rem License as published by the Free Software Foundation; either ! rem version 2.1 of the License, or (at your option) any later version. ! rem ! rem This library is distributed in the hope that it will be useful, ! rem but WITHOUT ANY WARRANTY; without even the implied warranty of ! rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! rem Lesser General Public License for more details. ! rem ! rem You should have received a copy of the GNU Lesser General Public ! rem License along with this library; if not, write to the Free Software ! rem Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! rem ! setlocal enableextensions ! if errorlevel 1 goto no_extensions_error ! for %%i in ("%0") do set cmd_path=%%~dpi ! for /D %%i in ("%cmd_path%..\lib\") do set lib_path=%%~dpi ! if not exist "%lib_path%htmlparser.jar" goto no_jar_error ! for %%i in (java.exe) do set java_executable=%%~$PATH:i ! if "%java_executable%"=="" goto no_java_error ! @echo on ! %java_executable% -classpath "%lib_path%htmlparser.jar" org.htmlparser.Parser %1 %2 ! @echo off ! goto end ! :no_extensions_error ! echo Unable to use CMD extensions ! goto end ! :no_jar_error ! echo Unable to find htmlparser.jar ! goto end ! :no_java_error ! echo Unable to find java.exe ! goto end ! :end Index: sitecapturer.cmd =================================================================== RCS file: //cvsroot/htmlparser/htmlparser/bin/sitecapturer.cmd,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** sitecapturer.cmd 10 Apr 2005 23:20:41 -0000 1.1 --- sitecapturer.cmd 17 Apr 2006 13:51:19 -0000 1.2 *************** *** 1,47 **** ! @echo off ! rem HTMLParser Library $Name$ - A java-based parser for HTML ! rem http://sourceforge.org/projects/htmlparser ! rem Copyright (C) 2005 Derrick Oswald ! rem ! rem Revision Control Information ! rem ! rem $Source$ ! rem $Author$ ! rem $Date$ ! rem $Revision$ ! rem ! rem This library is free software; you can redistribute it and/or ! rem modify it under the terms of the GNU Lesser General Public ! rem License as published by the Free Software Foundation; either ! rem version 2.1 of the License, or (at your option) any later version. ! rem ! rem This library is distributed in the hope that it will be useful, ! rem but WITHOUT ANY WARRANTY; without even the implied warranty of ! rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! rem Lesser General Public License for more details. ! rem ! rem You should have received a copy of the GNU Lesser General Public ! rem License along with this library; if not, write to the Free Software ! rem Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! rem ! setlocal enableextensions ! if errorlevel 1 goto no_extensions_error ! for %%i in (%0) do set cmd_path= %%~dpi ! for /D %%i in (%cmd_path%..\lib\) do set lib_path=%%~dpi ! if not exist %lib_path%htmlparser.jar goto no_jar_error ! for %%i in (java.exe) do set java_executable=%%~$PATH:i ! if "%java_executable%"=="" goto no_java_error ! @echo on ! %java_executable% -classpath %lib_path%htmlparser.jar org.htmlparser.parserapplications.SiteCapturer %1 %2 %3 ! @echo off ! goto end ! :no_extensions_error ! echo Unable to use CMD extensions ! goto end ! :no_jar_error ! echo Unable to find htmlparser.jar ! goto end ! :no_java_error ! echo Unable to find java.exe ! goto end ! :end --- 1,47 ---- ! @echo off ! rem HTMLParser Library $Name$ - A java-based parser for HTML ! rem http://sourceforge.org/projects/htmlparser ! rem Copyright (C) 2005 Derrick Oswald ! rem ! rem Revision Control Information ! rem ! rem $Source$ ! rem $Author$ ! rem $Date$ ! rem $Revision$ ! rem ! rem This library is free software; you can redistribute it and/or ! rem modify it under the terms of the GNU Lesser General Public ! rem License as published by the Free Software Foundation; either ! rem version 2.1 of the License, or (at your option) any later version. ! rem ! rem This library is distributed in the hope that it will be useful, ! rem but WITHOUT ANY WARRANTY; without even the implied warranty of ! rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! rem Lesser General Public License for more details. ! rem ! rem You should have received a copy of the GNU Lesser General Public ! rem License along with this library; if not, write to the Free Software ! rem Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! rem ! setlocal enableextensions ! if errorlevel 1 goto no_extensions_error ! for %%i in ("%0") do set cmd_path=%%~dpi ! for /D %%i in ("%cmd_path%..\lib\") do set lib_path=%%~dpi ! if not exist "%lib_path%htmlparser.jar" goto no_jar_error ! for %%i in (java.exe) do set java_executable=%%~$PATH:i ! if "%java_executable%"=="" goto no_java_error ! @echo on ! %java_executable% -classpath "%lib_path%htmlparser.jar" org.htmlparser.parserapplications.SiteCapturer %1 %2 %3 ! @echo off ! goto end ! :no_extensions_error ! echo Unable to use CMD extensions ! goto end ! :no_jar_error ! echo Unable to find htmlparser.jar ! goto end ! :no_java_error ! echo Unable to find java.exe ! goto end ! :end Index: translate.cmd =================================================================== RCS file: //cvsroot/htmlparser/htmlparser/bin/translate.cmd,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** translate.cmd 10 Apr 2005 23:20:41 -0000 1.1 --- translate.cmd 17 Apr 2006 13:51:17 -0000 1.2 *************** *** 1,47 **** ! @echo off ! rem HTMLParser Library $Name$ - A java-based parser for HTML ! rem http://sourceforge.org/projects/htmlparser ! rem Copyright (C) 2005 Derrick Oswald ! rem ! rem Revision Control Information ! rem ! rem $Source$ ! rem $Author$ ! rem $Date$ ! rem $Revision$ ! rem ! rem This library is free software; you can redistribute it and/or ! rem modify it under the terms of the GNU Lesser General Public ! rem License as published by the Free Software Foundation; either ! rem version 2.1 of the License, or (at your option) any later version. ! rem ! rem This library is distributed in the hope that it will be useful, ! rem but WITHOUT ANY WARRANTY; without even the implied warranty of ! rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! rem Lesser General Public License for more details. ! rem ! rem You should have received a copy of the GNU Lesser General Public ! rem License along with this library; if not, write to the Free Software ! rem Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! rem ! setlocal enableextensions ! if errorlevel 1 goto no_extensions_error ! for %%i in (%0) do set cmd_path= %%~dpi ! for /D %%i in (%cmd_path%..\lib\) do set lib_path=%%~dpi ! if not exist %lib_path%htmlparser.jar goto no_jar_error ! for %%i in (java.exe) do set java_executable=%%~$PATH:i ! if "%java_executable%"=="" goto no_java_error ! @echo on ! %java_executable% -classpath %lib_path%htmlparser.jar org.htmlparser.util.Translate %1 %2 ! @echo off ! goto end ! :no_extensions_error ! echo Unable to use CMD extensions ! goto end ! :no_jar_error ! echo Unable to find htmlparser.jar ! goto end ! :no_java_error ! echo Unable to find java.exe ! goto end ! :end --- 1,47 ---- ! @echo off ! rem HTMLParser Library $Name$ - A java-based parser for HTML ! rem http://sourceforge.org/projects/htmlparser ! rem Copyright (C) 2005 Derrick Oswald ! rem ! rem Revision Control Information ! rem ! rem $Source$ ! rem $Author$ ! rem $Date$ ! rem $Revision$ ! rem ! rem This library is free software; you can redistribute it and/or ! rem modify it under the terms of the GNU Lesser General Public ! rem License as published by the Free Software Foundation; either ! rem version 2.1 of the License, or (at your option) any later version. ! rem ! rem This library is distributed in the hope that it will be useful, ! rem but WITHOUT ANY WARRANTY; without even the implied warranty of ! rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! rem Lesser General Public License for more details. ! rem ! rem You should have received a copy of the GNU Lesser General Public ! rem License along with this library; if not, write to the Free Software ! rem Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! rem ! setlocal enableextensions ! if errorlevel 1 goto no_extensions_error ! for %%i in ("%0") do set cmd_path=%%~dpi ! for /D %%i in ("%cmd_path%..\lib\") do set lib_path=%%~dpi ! if not exist "%lib_path%htmlparser.jar" goto no_jar_error ! for %%i in (java.exe) do set java_executable=%%~$PATH:i ! if "%java_executable%"=="" goto no_java_error ! @echo on ! %java_executable% -classpath "%lib_path%htmlparser.jar" org.htmlparser.util.Translate %1 %2 ! @echo off ! goto end ! :no_extensions_error ! echo Unable to use CMD extensions ! goto end ! :no_jar_error ! echo Unable to find htmlparser.jar ! goto end ! :no_java_error ! echo Unable to find java.exe ! goto end ! :end Index: lexer.cmd =================================================================== RCS file: //cvsroot/htmlparser/htmlparser/bin/lexer.cmd,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** lexer.cmd 10 Apr 2005 23:20:41 -0000 1.1 --- lexer.cmd 17 Apr 2006 13:51:19 -0000 1.2 *************** *** 1,47 **** ! @echo off ! rem HTMLParser Library $Name$ - A java-based parser for HTML ! rem http://sourceforge.org/projects/htmlparser ! rem Copyright (C) 2005 Derrick Oswald ! rem ! rem Revision Control Information ! rem ! rem $Source$ ! rem $Author$ ! rem $Date$ ! rem $Revision$ ! rem ! rem This library is free software; you can redistribute it and/or ! rem modify it under the terms of the GNU Lesser General Public ! rem License as published by the Free Software Foundation; either ! rem version 2.1 of the License, or (at your option) any later version. ! rem ! rem This library is distributed in the hope that it will be useful, ! rem but WITHOUT ANY WARRANTY; without even the implied warranty of ! rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! rem Lesser General Public License for more details. ! rem ! rem You should have received a copy of the GNU Lesser General Public ! rem License along with this library; if not, write to the Free Software ! rem Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! rem ! setlocal enableextensions ! if errorlevel 1 goto no_extensions_error ! for %%i in (%0) do set cmd_path= %%~dpi ! for /D %%i in (%cmd_path%..\lib\) do set lib_path=%%~dpi ! if not exist %lib_path%htmllexer.jar goto no_jar_error ! for %%i in (java.exe) do set java_executable=%%~$PATH:i ! if "%java_executable%"=="" goto no_java_error ! @echo on ! %java_executable% -classpath %lib_path%htmllexer.jar org.htmlparser.lexer.Lexer %1 %2 ! @echo off ! goto end ! :no_extensions_error ! echo Unable to use CMD extensions ! goto end ! :no_jar_error ! echo Unable to find htmllexer.jar ! goto end ! :no_java_error ! echo Unable to find java.exe ! goto end ! :end --- 1,47 ---- ! @echo off ! rem HTMLParser Library $Name$ - A java-based parser for HTML ! rem http://sourceforge.org/projects/htmlparser ! rem Copyright (C) 2005 Derrick Oswald ! rem ! rem Revision Control Information ! rem ! rem $Source$ ! rem $Author$ ! rem $Date$ ! rem $Revision$ ! rem ! rem This library is free software; you can redistribute it and/or ! rem modify it under the terms of the GNU Lesser General Public ! rem License as published by the Free Software Foundation; either ! rem version 2.1 of the License, or (at your option) any later version. ! rem ! rem This library is distributed in the hope that it will be useful, ! rem but WITHOUT ANY WARRANTY; without even the implied warranty of ! rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! rem Lesser General Public License for more details. ! rem ! rem You should have received a copy of the GNU Lesser General Public ! rem License along with this library; if not, write to the Free Software ! rem Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! rem ! setlocal enableextensions ! if errorlevel 1 goto no_extensions_error ! for %%i in ("%0") do set cmd_path=%%~dpi ! for /D %%i in ("%cmd_path%..\lib\") do set lib_path=%%~dpi ! if not exist "%lib_path%htmllexer.jar" goto no_jar_error ! for %%i in (java.exe) do set java_executable=%%~$PATH:i ! if "%java_executable%"=="" goto no_java_error ! @echo on ! %java_executable% -classpath "%lib_path%htmllexer.jar" org.htmlparser.lexer.Lexer %1 %2 ! @echo off ! goto end ! :no_extensions_error ! echo Unable to use CMD extensions ! goto end ! :no_jar_error ! echo Unable to find htmllexer.jar ! goto end ! :no_java_error ! echo Unable to find java.exe ! goto end ! :end Index: stringextractor.cmd =================================================================== RCS file: //cvsroot/htmlparser/htmlparser/bin/stringextractor.cmd,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** stringextractor.cmd 10 Apr 2005 23:20:41 -0000 1.1 --- stringextractor.cmd 17 Apr 2006 13:51:19 -0000 1.2 *************** *** 1,47 **** ! @echo off ! rem HTMLParser Library $Name$ - A java-based parser for HTML ! rem http://sourceforge.org/projects/htmlparser ! rem Copyright (C) 2005 Derrick Oswald ! rem ! rem Revision Control Information ! rem ! rem $Source$ ! rem $Author$ ! rem $Date$ ! rem $Revision$ ! rem ! rem This library is free software; you can redistribute it and/or ! rem modify it under the terms of the GNU Lesser General Public ! rem License as published by the Free Software Foundation; either ! rem version 2.1 of the License, or (at your option) any later version. ! rem ! rem This library is distributed in the hope that it will be useful, ! rem but WITHOUT ANY WARRANTY; without even the implied warranty of ! rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! rem Lesser General Public License for more details. ! rem ! rem You should have received a copy of the GNU Lesser General Public ! rem License along with this library; if not, write to the Free Software ! rem Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! rem ! setlocal enableextensions ! if errorlevel 1 goto no_extensions_error ! for %%i in (%0) do set cmd_path= %%~dpi ! for /D %%i in (%cmd_path%..\lib\) do set lib_path=%%~dpi ! if not exist %lib_path%htmlparser.jar goto no_jar_error ! for %%i in (java.exe) do set java_executable=%%~$PATH:i ! if "%java_executable%"=="" goto no_java_error ! @echo on ! %java_executable% -classpath %lib_path%htmlparser.jar org.htmlparser.parserapplications.StringExtractor %1 %2 ! @echo off ! goto end ! :no_extensions_error ! echo Unable to use CMD extensions ! goto end ! :no_jar_error ! echo Unable to find htmlparser.jar ! goto end ! :no_java_error ! echo Unable to find java.exe ! goto end ! :end --- 1,47 ---- ! @echo off ! rem HTMLParser Library $Name$ - A java-based parser for HTML ! rem http://sourceforge.org/projects/htmlparser ! rem Copyright (C) 2005 Derrick Oswald ! rem ! rem Revision Control Information ! rem ! rem $Source$ ! rem $Author$ ! rem $Date$ ! rem $Revision$ ! rem ! rem This library is free software; you can redistribute it and/or ! rem modify it under the terms of the GNU Lesser General Public ! rem License as published by the Free Software Foundation; either ! rem version 2.1 of the License, or (at your option) any later version. ! rem ! rem This library is distributed in the hope that it will be useful, ! rem but WITHOUT ANY WARRANTY; without even the implied warranty of ! rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! rem Lesser General Public License for more details. ! rem ! rem You should have received a copy of the GNU Lesser General Public ! rem License along with this library; if not, write to the Free Software ! rem Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! rem ! setlocal enableextensions ! if errorlevel 1 goto no_extensions_error ! for %%i in ("%0") do set cmd_path=%%~dpi ! for /D %%i in ("%cmd_path%..\lib\") do set lib_path=%%~dpi ! if not exist "%lib_path%htmlparser.jar" goto no_jar_error ! for %%i in (java.exe) do set java_executable=%%~$PATH:i ! if "%java_executable%"=="" goto no_java_error ! @echo on ! %java_executable% -classpath "%lib_path%htmlparser.jar" org.htmlparser.parserapplications.StringExtractor %1 %2 ! @echo off ! goto end ! :no_extensions_error ! echo Unable to use CMD extensions ! goto end ! :no_jar_error ! echo Unable to find htmlparser.jar ! goto end ! :no_java_error ! echo Unable to find java.exe ! goto end ! :end Index: beanybaby.cmd =================================================================== RCS file: //cvsroot/htmlparser/htmlparser/bin/beanybaby.cmd,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** beanybaby.cmd 10 Apr 2005 23:20:41 -0000 1.1 --- beanybaby.cmd 17 Apr 2006 13:51:19 -0000 1.2 *************** *** 1,47 **** ! @echo off ! rem HTMLParser Library $Name$ - A java-based parser for HTML ! rem http://sourceforge.org/projects/htmlparser ! rem Copyright (C) 2005 Derrick Oswald ! rem ! rem Revision Control Information ! rem ! rem $Source$ ! rem $Author$ ! rem $Date$ ! rem $Revision$ ! rem ! rem This library is free software; you can redistribute it and/or ! rem modify it under the terms of the GNU Lesser General Public ! rem License as published by the Free Software Foundation; either ! rem version 2.1 of the License, or (at your option) any later version. ! rem ! rem This library is distributed in the hope that it will be useful, ! rem but WITHOUT ANY WARRANTY; without even the implied warranty of ! rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! rem Lesser General Public License for more details. ! rem ! rem You should have received a copy of the GNU Lesser General Public ! rem License along with this library; if not, write to the Free Software ! rem Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! rem ! setlocal enableextensions ! if errorlevel 1 goto no_extensions_error ! for %%i in (%0) do set cmd_path= %%~dpi ! for /D %%i in (%cmd_path%..\lib\) do set lib_path=%%~dpi ! if not exist %lib_path%htmlparser.jar goto no_jar_error ! for %%i in (java.exe) do set java_executable=%%~$PATH:i ! if "%java_executable%"=="" goto no_java_error ! @echo on ! %java_executable% -classpath %lib_path%htmlparser.jar org.htmlparser.beans.BeanyBaby %1 %2 ! @echo off ! goto end ! :no_extensions_error ! echo Unable to use CMD extensions ! goto end ! :no_jar_error ! echo Unable to find htmlparser.jar ! goto end ! :no_java_error ! echo Unable to find java.exe ! goto end ! :end --- 1,47 ---- ! @echo off ! rem HTMLParser Library $Name$ - A java-based parser for HTML ! rem http://sourceforge.org/projects/htmlparser ! rem Copyright (C) 2005 Derrick Oswald ! rem ! rem Revision Control Information ! rem ! rem $Source$ ! rem $Author$ ! rem $Date$ ! rem $Revision$ ! rem ! rem This library is free software; you can redistribute it and/or ! rem modify it under the terms of the GNU Lesser General Public ! rem License as published by the Free Software Foundation; either ! rem version 2.1 of the License, or (at your option) any later version. ! rem ! rem This library is distributed in the hope that it will be useful, ! rem but WITHOUT ANY WARRANTY; without even the implied warranty of ! rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! rem Lesser General Public License for more details. ! rem ! rem You should have received a copy of the GNU Lesser General Public ! rem License along with this library; if not, write to the Free Software ! rem Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! rem ! setlocal enableextensions ! if errorlevel 1 goto no_extensions_error ! for %%i in ("%0") do set cmd_path=%%~dpi ! for /D %%i in ("%cmd_path%..\lib\") do set lib_path=%%~dpi ! if not exist "%lib_path%htmlparser.jar" goto no_jar_error ! for %%i in (java.exe) do set java_executable=%%~$PATH:i ! if "%java_executable%"=="" goto no_java_error ! @echo on ! %java_executable% -classpath "%lib_path%htmlparser.jar" org.htmlparser.beans.BeanyBaby %1 %2 ! @echo off ! goto end ! :no_extensions_error ! echo Unable to use CMD extensions ! goto end ! :no_jar_error ! echo Unable to find htmlparser.jar ! goto end ! :no_java_error ! echo Unable to find java.exe ! goto end ! :end Index: linkextractor.cmd =================================================================== RCS file: //cvsroot/htmlparser/htmlparser/bin/linkextractor.cmd,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** linkextractor.cmd 10 Apr 2005 23:20:41 -0000 1.1 --- linkextractor.cmd 17 Apr 2006 13:51:19 -0000 1.2 *************** *** 1,47 **** ! @echo off ! rem HTMLParser Library $Name$ - A java-based parser for HTML ! rem http://sourceforge.org/projects/htmlparser ! rem Copyright (C) 2005 Derrick Oswald ! rem ! rem Revision Control Information ! rem ! rem $Source$ ! rem $Author$ ! rem $Date$ ! rem $Revision$ ! rem ! rem This library is free software; you can redistribute it and/or ! rem modify it under the terms of the GNU Lesser General Public ! rem License as published by the Free Software Foundation; either ! rem version 2.1 of the License, or (at your option) any later version. ! rem ! rem This library is distributed in the hope that it will be useful, ! rem but WITHOUT ANY WARRANTY; without even the implied warranty of ! rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! rem Lesser General Public License for more details. ! rem ! rem You should have received a copy of the GNU Lesser General Public ! rem License along with this library; if not, write to the Free Software ! rem Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! rem ! setlocal enableextensions ! if errorlevel 1 goto no_extensions_error ! for %%i in (%0) do set cmd_path= %%~dpi ! for /D %%i in (%cmd_path%..\lib\) do set lib_path=%%~dpi ! if not exist %lib_path%htmlparser.jar goto no_jar_error ! for %%i in (java.exe) do set java_executable=%%~$PATH:i ! if "%java_executable%"=="" goto no_java_error ! @echo on ! %java_executable% -classpath %lib_path%htmlparser.jar org.htmlparser.parserapplications.LinkExtractor %1 %2 ! @echo off ! goto end ! :no_extensions_error ! echo Unable to use CMD extensions ! goto end ! :no_jar_error ! echo Unable to find htmlparser.jar ! goto end ! :no_java_error ! echo Unable to find java.exe ! goto end ! :end --- 1,47 ---- ! @echo off ! rem HTMLParser Library $Name$ - A java-based parser for HTML ! rem http://sourceforge.org/projects/htmlparser ! rem Copyright (C) 2005 Derrick Oswald ! rem ! rem Revision Control Information ! rem ! rem $Source$ ! rem $Author$ ! rem $Date$ ! rem $Revision$ ! rem ! rem This library is free software; you can redistribute it and/or ! rem modify it under the terms of the GNU Lesser General Public ! rem License as published by the Free Software Foundation; either ! rem version 2.1 of the License, or (at your option) any later version. ! rem ! rem This library is distributed in the hope that it will be useful, ! rem but WITHOUT ANY WARRANTY; without even the implied warranty of ! rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! rem Lesser General Public License for more details. ! rem ! rem You should have received a copy of the GNU Lesser General Public ! rem License along with this library; if not, write to the Free Software ! rem Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! rem ! setlocal enableextensions ! if errorlevel 1 goto no_extensions_error ! for %%i in ("%0") do set cmd_path=%%~dpi ! for /D %%i in ("%cmd_path%..\lib\") do set lib_path=%%~dpi ! if not exist "%lib_path%htmlparser.jar" goto no_jar_error ! for %%i in (java.exe) do set java_executable=%%~$PATH:i ! if "%java_executable%"=="" goto no_java_error ! @echo on ! %java_executable% -classpath "%lib_path%htmlparser.jar" org.htmlparser.parserapplications.LinkExtractor %1 %2 ! @echo off ! goto end ! :no_extensions_error ! echo Unable to use CMD extensions ! goto end ! :no_jar_error ! echo Unable to find htmlparser.jar ! goto end ! :no_java_error ! echo Unable to find java.exe ! goto end ! :end Index: filterbuilder.cmd =================================================================== RCS file: //cvsroot/htmlparser/htmlparser/bin/filterbuilder.cmd,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** filterbuilder.cmd 10 Apr 2005 23:20:41 -0000 1.1 --- filterbuilder.cmd 17 Apr 2006 13:51:19 -0000 1.2 *************** *** 1,51 **** ! @echo off ! rem HTMLParser Library $Name$ - A java-based parser for HTML ! rem http://sourceforge.org/projects/htmlparser ! rem Copyright (C) 2005 Derrick Oswald ! rem ! rem Revision Control Information ! rem ! rem $Source$ ! rem $Author$ ! rem $Date$ ! rem $Revision$ ! rem ! rem This library is free software; you can redistribute it and/or ! rem modify it under the terms of the GNU Lesser General Public ! rem License as published by the Free Software Foundation; either ! rem version 2.1 of the License, or (at your option) any later version. ! rem ! rem This library is distributed in the hope that it will be useful, ! rem but WITHOUT ANY WARRANTY; without even the implied warranty of ! rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! rem Lesser General Public License for more details. ! rem ! rem You should have received a copy of the GNU Lesser General Public ! rem License along with this library; if not, write to the Free Software ! rem Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! rem ! setlocal enableextensions ! if errorlevel 1 goto no_extensions_error ! for %%i in (%0) do set cmd_path= %%~dpi ! for /D %%i in (%cmd_path%..\lib\) do set lib_path=%%~dpi ! if not exist %lib_path%htmlparser.jar goto no_htmlparser_jar_error ! if not exist %lib_path%filterbuilder.jar goto no_filterbuilder_jar_error ! for %%i in (java.exe) do set java_executable=%%~$PATH:i ! if "%java_executable%"=="" goto no_java_error ! @echo on ! %java_executable% -Xmx256M -classpath %lib_path%filterbuilder.jar;%lib_path%htmlparser.jar org.htmlparser.parserapplications.filterbuilder.FilterBuilder %1 ! @echo off ! goto end ! :no_extensions_error ! echo Unable to use CMD extensions ! goto end ! :no_htmlparser_jar_error ! echo Unable to find htmlparser.jar ! goto end ! :no_filterbuilder_jar_error ! echo Unable to find filterbuilder.jar ! goto end ! :no_java_error ! echo Unable to find java.exe ! goto end ! :end --- 1,51 ---- ! @echo off ! rem HTMLParser Library $Name$ - A java-based parser for HTML ! rem http://sourceforge.org/projects/htmlparser ! rem Copyright (C) 2005 Derrick Oswald ! rem ! rem Revision Control Information ! rem ! rem $Source$ ! rem $Author$ ! rem $Date$ ! rem $Revision$ ! rem ! rem This library is free software; you can redistribute it and/or ! rem modify it under the terms of the GNU Lesser General Public ! rem License as published by the Free Software Foundation; either ! rem version 2.1 of the License, or (at your option) any later version. ! rem ! rem This library is distributed in the hope that it will be useful, ! rem but WITHOUT ANY WARRANTY; without even the implied warranty of ! rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! rem Lesser General Public License for more details. ! rem ! rem You should have received a copy of the GNU Lesser General Public ! rem License along with this library; if not, write to the Free Software ! rem Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! rem ! setlocal enableextensions ! if errorlevel 1 goto no_extensions_error ! for %%i in ("%0") do set cmd_path=%%~dpi ! for /D %%i in ("%cmd_path%..\lib\") do set lib_path=%%~dpi ! if not exist "%lib_path%htmlparser.jar" goto no_htmlparser_jar_error ! if not exist "%lib_path%filterbuilder.jar" goto no_filterbuilder_jar_error ! for %%i in (java.exe) do set java_executable=%%~$PATH:i ! if "%java_executable%"=="" goto no_java_error ! @echo on ! %java_executable% -Xmx256M -classpath "%lib_path%filterbuilder.jar;%lib_path%htmlparser.jar" org.htmlparser.parserapplications.filterbuilder.FilterBuilder %1 ! @echo off ! goto end ! :no_extensions_error ! echo Unable to use CMD extensions ! goto end ! :no_htmlparser_jar_error ! echo Unable to find htmlparser.jar ! goto end ! :no_filterbuilder_jar_error ! echo Unable to find filterbuilder.jar ! goto end ! :no_java_error ! echo Unable to find java.exe ! goto end ! :end Index: thumbelina.cmd =================================================================== RCS file: //cvsroot/htmlparser/htmlparser/bin/thumbelina.cmd,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** thumbelina.cmd 10 Apr 2005 23:20:41 -0000 1.1 --- thumbelina.cmd 17 Apr 2006 13:51:19 -0000 1.2 *************** *** 1,51 **** ! @echo off ! rem HTMLParser Library $Name$ - A java-based parser for HTML ! rem http://sourceforge.org/projects/htmlparser ! rem Copyright (C) 2005 Derrick Oswald ! rem ! rem Revision Control Information ! rem ! rem $Source$ ! rem $Author$ ! rem $Date$ ! rem $Revision$ ! rem ! rem This library is free software; you can redistribute it and/or ! rem modify it under the terms of the GNU Lesser General Public ! rem License as published by the Free Software Foundation; either ! rem version 2.1 of the License, or (at your option) any later version. ! rem ! rem This library is distributed in the hope that it will be useful, ! rem but WITHOUT ANY WARRANTY; without even the implied warranty of ! rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! rem Lesser General Public License for more details. ! rem ! rem You should have received a copy of the GNU Lesser General Public ! rem License along with this library; if not, write to the Free Software ! rem Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! rem ! setlocal enableextensions ! if errorlevel 1 goto no_extensions_error ! for %%i in (%0) do set cmd_path= %%~dpi ! for /D %%i in (%cmd_path%..\lib\) do set lib_path=%%~dpi ! if not exist %lib_path%htmllexer.jar goto no_htmllexer_jar_error ! if not exist %lib_path%thumbelina.jar goto no_thumbelina_jar_error ! for %%i in (java.exe) do set java_executable=%%~$PATH:i ! if "%java_executable%"=="" goto no_java_error ! @echo on ! %java_executable% -Xmx256M -classpath %lib_path%thumbelina.jar;%lib_path%htmllexer.jar org.htmlparser.lexerapplications.thumbelina.Thumbelina %1 %2 ! @echo off ! goto end ! :no_extensions_error ! echo Unable to use CMD extensions ! goto end ! :no_htmllexer_jar_error ! echo Unable to find htmllexer.jar ! goto end ! :no_thumbelina_jar_error ! echo Unable to find thumbelina.jar ! goto end ! :no_java_error ! echo Unable to find java.exe ! goto end ! :end --- 1,51 ---- ! @echo off ! rem HTMLParser Library $Name$ - A java-based parser for HTML ! rem http://sourceforge.org/projects/htmlparser ! rem Copyright (C) 2005 Derrick Oswald ! rem ! rem Revision Control Information ! rem ! rem $Source$ ! rem $Author$ ! rem $Date$ ! rem $Revision$ ! rem ! rem This library is free software; you can redistribute it and/or ! rem modify it under the terms of the GNU Lesser General Public ! rem License as published by the Free Software Foundation; either ! rem version 2.1 of the License, or (at your option) any later version. ! rem ! rem This library is distributed in the hope that it will be useful, ! rem but WITHOUT ANY WARRANTY; without even the implied warranty of ! rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! rem Lesser General Public License for more details. ! rem ! rem You should have received a copy of the GNU Lesser General Public ! rem License along with this library; if not, write to the Free Software ! rem Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! rem ! setlocal enableextensions ! if errorlevel 1 goto no_extensions_error ! for %%i in ("%0") do set cmd_path=%%~dpi ! for /D %%i in ("%cmd_path%..\lib\") do set lib_path=%%~dpi ! if not exist "%lib_path%htmllexer.jar" goto no_htmllexer_jar_error ! if not exist "%lib_path%thumbelina.jar" goto no_thumbelina_jar_error ! for %%i in (java.exe) do set java_executable=%%~$PATH:i ! if "%java_executable%"=="" goto no_java_error ! @echo on ! %java_executable% -Xmx256M -classpath "%lib_path%thumbelina.jar;%lib_path%htmllexer.jar" org.htmlparser.lexerapplications.thumbelina.Thumbelina %1 %2 ! @echo off ! goto end ! :no_extensions_error ! echo Unable to use CMD extensions ! goto end ! :no_htmllexer_jar_error ! echo Unable to find htmllexer.jar ! goto end ! :no_thumbelina_jar_error ! echo Unable to find thumbelina.jar ! goto end ! :no_java_error ! echo Unable to find java.exe ! goto end ! :end |