Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Commit [86fcef] Maximize Restore History

Added version 1.7.4-preview

MIGRATE
* Use Java 6 only to start regain.
NEW
* Annotations extraction from PDF documents
* System Tray will be correctly displayed on 64-bit Systems.

thtesche thtesche 2011-04-07

Til Schneider Til Schneider 2014-07-28

1 2 > >> (Page 1 of 2)
removed lib/linux
removed lib/linux/jdic-0.9.5.jar
removed lib/linux/libjdic.so
removed lib/linux/libtray.so
removed lib/win/jdic.jar
removed lib/win/jdic_stub.jar
removed lib/win/tray.dll
removed txt/WasIstNeu.txt
removed txt/WhatIsNew.txt
changed build.xml
changed contrib
changed contrib/desktop_whithout_trayicon
changed contrib/desktop_whithout_trayicon/Main.java
changed installer
changed installer/regain.nsi
changed lib
changed lib/win
changed src
changed src/net
changed src/net/sf
changed src/net/sf/regain
changed src/net/sf/regain/crawler
changed src/net/sf/regain/crawler/CrawlerToolkit.java
changed src/net/sf/regain/crawler/preparator
changed src/net/sf/regain/crawler/preparator/PdfBoxPreparator.java
changed src/net/sf/regain/ui
changed src/net/sf/regain/ui/desktop
changed src/net/sf/regain/ui/desktop/IndexUpdateManager.java
changed src/net/sf/regain/ui/desktop/Main.java
changed src/net/sf/regain/ui/desktop/msg.properties
changed src/net/sf/regain/ui/desktop/msg_de.properties
changed src/net/sf/regain/ui/desktop/msg_it.properties
changed txt
changed txt/CrawlerConfiguration_examples.xml
changed txt/regain.sh
copied lib/linux/jdic_license.txt -> txt/README_DE.txt
copied lib/win/jdic_license.txt -> txt/README.txt
copied src/net/sf/regain/ui/desktop/TrayIconManager.java -> src/net/sf/regain/ui/desktop/TrayIconHandler.java
lib/linux
File was removed.
lib/linux/jdic-0.9.5.jar
File was removed.
lib/linux/libjdic.so
File was removed.
lib/linux/libtray.so
File was removed.
lib/win/jdic.jar
File was removed.
lib/win/jdic_stub.jar
File was removed.
lib/win/tray.dll
File was removed.
txt/WasIstNeu.txt
File was removed.
txt/WhatIsNew.txt
File was removed.
build.xml Diff Switch to side-by-side view
Loading...
contrib
Directory.
contrib/desktop_whithout_trayicon/Main.java Diff Switch to side-by-side view
Loading...
installer
Directory.
installer/regain.nsi Diff Switch to side-by-side view
Loading...
lib
Directory.
lib/win
Directory.
src
Directory.
src/net
Directory.
src/net/sf
Directory.
src/net/sf/regain
Directory.
src/net/sf/regain/crawler/CrawlerToolkit.java Diff Switch to side-by-side view
Loading...
src/net/sf/regain/crawler/preparator/PdfBoxPreparator.java Diff Switch to side-by-side view
Loading...
src/net/sf/regain/ui/desktop/IndexUpdateManager.java Diff Switch to side-by-side view
Loading...
src/net/sf/regain/ui/desktop/Main.java Diff Switch to side-by-side view
Loading...
src/net/sf/regain/ui/desktop/msg.properties Diff Switch to side-by-side view
Loading...
src/net/sf/regain/ui/desktop/msg_de.properties Diff Switch to side-by-side view
Loading...
src/net/sf/regain/ui/desktop/msg_it.properties Diff Switch to side-by-side view
Loading...
txt
Directory.
txt/CrawlerConfiguration_examples.xml Diff Switch to side-by-side view
Loading...
txt/regain.sh Diff Switch to side-by-side view
Loading...
lib/linux/jdic_license.txt to txt/README_DE.txt
--- a/lib/linux/jdic_license.txt
+++ b/txt/README_DE.txt
@@ -1,511 +1,418 @@
-Copyright (c) 2004 Sun Microsystems, Inc., 4150 Network Circle, Santa
-Clara, California 95054, U.S.A. All rights reserved.  Use is subject
-to license terms below.  Sun, Sun Microsystems and the Sun logo are
-trademarks or registered trademarks of Sun Microsystems, Inc. in the
-U.S. and other countries.
- 
-Notice: This product is covered by U.S. export control laws and may be
-subject to the export or import laws in other countries. These laws may
-restrict the fields of use for this software and may require you to
-secure government authorization.
- 
-            GNU LESSER GENERAL PUBLIC LICENSE
-               Version 2.1, February 1999
-
- Copyright (C) 1991, 1999 Free Software Foundation, Inc.
-     59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
- Everyone is permitted to copy and distribute verbatim copies
- of this license document, but changing it is not allowed.
-
-[This is the first released version of the Lesser GPL.  It also counts
- as the successor of the GNU Library Public License, version 2, hence
- the version number 2.1.]
-
-                Preamble
-
-  The licenses for most software are designed to take away your
-freedom to share and change it.  By contrast, the GNU General Public
-Licenses are intended to guarantee your freedom to share and change
-free software--to make sure the software is free for all its users.
-
-  This license, the Lesser General Public License, applies to some
-specially designated software packages--typically libraries--of the
-Free Software Foundation and other authors who decide to use it.  You
-can use it too, but we suggest you first think carefully about whether
-this license or the ordinary General Public License is the better
-strategy to use in any particular case, based on the explanations below.
-
-  When we speak of free software, we are referring to freedom of use,
-not price.  Our General Public Licenses are designed to make sure that
-you have the freedom to distribute copies of free software (and charge
-for this service if you wish); that you receive source code or can get
-it if you want it; that you can change the software and use pieces of
-it in new free programs; and that you are informed that you can do
-these things.
-
-  To protect your rights, we need to make restrictions that forbid
-distributors to deny you these rights or to ask you to surrender these
-rights.  These restrictions translate to certain responsibilities for
-you if you distribute copies of the library or if you modify it.
-
-  For example, if you distribute copies of the library, whether gratis
-or for a fee, you must give the recipients all the rights that we gave
-you.  You must make sure that they, too, receive or can get the source
-code.  If you link other code with the library, you must provide
-complete object files to the recipients, so that they can relink them
-with the library after making changes to the library and recompiling
-it.  And you must show them these terms so they know their rights.
-
-  We protect your rights with a two-step method: (1) we copyright the
-library, and (2) we offer you this license, which gives you legal
-permission to copy, distribute and/or modify the library.
-
-  To protect each distributor, we want to make it very clear that
-there is no warranty for the free library.  Also, if the library is
-modified by someone else and passed on, the recipients should know
-that what they have is not the original version, so that the original
-author's reputation will not be affected by problems that might be
-introduced by others.
-
-  Finally, software patents pose a constant threat to the existence of
-any free program.  We wish to make sure that a company cannot
-effectively restrict the users of a free program by obtaining a
-restrictive license from a patent holder.  Therefore, we insist that
-any patent license obtained for a version of the library must be
-consistent with the full freedom of use specified in this license.
-
-  Most GNU software, including some libraries, is covered by the
-ordinary GNU General Public License.  This license, the GNU Lesser
-General Public License, applies to certain designated libraries, and
-is quite different from the ordinary General Public License.  We use
-this license for certain libraries in order to permit linking those
-libraries into non-free programs.
-
-  When a program is linked with a library, whether statically or using
-a shared library, the combination of the two is legally speaking a
-combined work, a derivative of the original library.  The ordinary
-General Public License therefore permits such linking only if the
-entire combination fits its criteria of freedom.  The Lesser General
-Public License permits more lax criteria for linking other code with
-the library.
-
-  We call this license the "Lesser" General Public License because it
-does Less to protect the user's freedom than the ordinary General
-Public License.  It also provides other free software developers Less
-of an advantage over competing non-free programs.  These disadvantages
-are the reason we use the ordinary General Public License for many
-libraries.  However, the Lesser license provides advantages in certain
-special circumstances.
-
-  For example, on rare occasions, there may be a special need to
-encourage the widest possible use of a certain library, so that it becomes
-a de-facto standard.  To achieve this, non-free programs must be
-allowed to use the library.  A more frequent case is that a free
-library does the same job as widely used non-free libraries.  In this
-case, there is little to gain by limiting the free library to free
-software only, so we use the Lesser General Public License.
-
-  In other cases, permission to use a particular library in non-free
-programs enables a greater number of people to use a large body of
-free software.  For example, permission to use the GNU C Library in
-non-free programs enables many more people to use the whole GNU
-operating system, as well as its variant, the GNU/Linux operating
-system.
-
-  Although the Lesser General Public License is Less protective of the
-users' freedom, it does ensure that the user of a program that is
-linked with the Library has the freedom and the wherewithal to run
-that program using a modified version of the Library.
-
-  The precise terms and conditions for copying, distribution and
-modification follow.  Pay close attention to the difference between a
-"work based on the library" and a "work that uses the library".  The
-former contains code derived from the library, whereas the latter must
-be combined with the library in order to run.
-
-          GNU LESSER GENERAL PUBLIC LICENSE
-   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
-
-  0. This License Agreement applies to any software library or other
-program which contains a notice placed by the copyright holder or
-other authorized party saying it may be distributed under the terms of
-this Lesser General Public License (also called "this License").
-Each licensee is addressed as "you".
-
-  A "library" means a collection of software functions and/or data
-prepared so as to be conveniently linked with application programs
-(which use some of those functions and data) to form executables.
-
-  The "Library", below, refers to any such software library or work
-which has been distributed under these terms.  A "work based on the
-Library" means either the Library or any derivative work under
-copyright law: that is to say, a work containing the Library or a
-portion of it, either verbatim or with modifications and/or translated
-straightforwardly into another language.  (Hereinafter, translation is
-included without limitation in the term "modification".)
-
-  "Source code" for a work means the preferred form of the work for
-making modifications to it.  For a library, complete source code means
-all the source code for all modules it contains, plus any associated
-interface definition files, plus the scripts used to control compilation
-and installation of the library.
-
-  Activities other than copying, distribution and modification are not
-covered by this License; they are outside its scope.  The act of
-running a program using the Library is not restricted, and output from
-such a program is covered only if its contents constitute a work based
-on the Library (independent of the use of the Library in a tool for
-writing it).  Whether that is true depends on what the Library does
-and what the program that uses the Library does.
-
-  1. You may copy and distribute verbatim copies of the Library's
-complete source code as you receive it, in any medium, provided that
-you conspicuously and appropriately publish on each copy an
-appropriate copyright notice and disclaimer of warranty; keep intact
-all the notices that refer to this License and to the absence of any
-warranty; and distribute a copy of this License along with the
-Library.
-
-  You may charge a fee for the physical act of transferring a copy,
-and you may at your option offer warranty protection in exchange for a
-fee.
-
-  2. You may modify your copy or copies of the Library or any portion
-of it, thus forming a work based on the Library, and copy and
-distribute such modifications or work under the terms of Section 1
-above, provided that you also meet all of these conditions:
-
-    a) The modified work must itself be a software library.
-
-    b) You must cause the files modified to carry prominent notices
-    stating that you changed the files and the date of any change.
-
-    c) You must cause the whole of the work to be licensed at no
-    charge to all third parties under the terms of this License.
-
-    d) If a facility in the modified Library refers to a function or a
-    table of data to be supplied by an application program that uses
-    the facility, other than as an argument passed when the facility
-    is invoked, then you must make a good faith effort to ensure that,
-    in the event an application does not supply such function or
-    table, the facility still operates, and performs whatever part of
-    its purpose remains meaningful.
-
-    (For example, a function in a library to compute square roots has
-    a purpose that is entirely well-defined independent of the
-    application.  Therefore, Subsection 2d requires that any
-    application-supplied function or table used by this function must
-    be optional: if the application does not supply it, the square
-    root function must still compute square roots.)
-
-These requirements apply to the modified work as a whole.  If
-identifiable sections of that work are not derived from the Library,
-and can be reasonably considered independent and separate works in
-themselves, then this License, and its terms, do not apply to those
-sections when you distribute them as separate works.  But when you
-distribute the same sections as part of a whole which is a work based
-on the Library, the distribution of the whole must be on the terms of
-this License, whose permissions for other licensees extend to the
-entire whole, and thus to each and every part regardless of who wrote
-it.
-
-Thus, it is not the intent of this section to claim rights or contest
-your rights to work written entirely by you; rather, the intent is to
-exercise the right to control the distribution of derivative or
-collective works based on the Library.
-
-In addition, mere aggregation of another work not based on the Library
-with the Library (or with a work based on the Library) on a volume of
-a storage or distribution medium does not bring the other work under
-the scope of this License.
-
-  3. You may opt to apply the terms of the ordinary GNU General Public
-License instead of this License to a given copy of the Library.  To do
-this, you must alter all the notices that refer to this License, so
-that they refer to the ordinary GNU General Public License, version 2,
-instead of to this License.  (If a newer version than version 2 of the
-ordinary GNU General Public License has appeared, then you can specify
-that version instead if you wish.)  Do not make any other change in
-these notices.
-
-  Once this change is made in a given copy, it is irreversible for
-that copy, so the ordinary GNU General Public License applies to all
-subsequent copies and derivative works made from that copy.
-
-  This option is useful when you wish to copy part of the code of
-the Library into a program that is not a library.
-
-  4. You may copy and distribute the Library (or a portion or
-derivative of it, under Section 2) in object code or executable form
-under the terms of Sections 1 and 2 above provided that you accompany
-it with the complete corresponding machine-readable source code, which
-must be distributed under the terms of Sections 1 and 2 above on a
-medium customarily used for software interchange.
-
-  If distribution of object code is made by offering access to copy
-from a designated place, then offering equivalent access to copy the
-source code from the same place satisfies the requirement to
-distribute the source code, even though third parties are not
-compelled to copy the source along with the object code.
-
-  5. A program that contains no derivative of any portion of the
-Library, but is designed to work with the Library by being compiled or
-linked with it, is called a "work that uses the Library".  Such a
-work, in isolation, is not a derivative work of the Library, and
-therefore falls outside the scope of this License.
-
-  However, linking a "work that uses the Library" with the Library
-creates an executable that is a derivative of the Library (because it
-contains portions of the Library), rather than a "work that uses the
-library".  The executable is therefore covered by this License.
-Section 6 states terms for distribution of such executables.
-
-  When a "work that uses the Library" uses material from a header file
-that is part of the Library, the object code for the work may be a
-derivative work of the Library even though the source code is not.
-Whether this is true is especially significant if the work can be
-linked without the Library, or if the work is itself a library.  The
-threshold for this to be true is not precisely defined by law.
-
-  If such an object file uses only numerical parameters, data
-structure layouts and accessors, and small macros and small inline
-functions (ten lines or less in length), then the use of the object
-file is unrestricted, regardless of whether it is legally a derivative
-work.  (Executables containing this object code plus portions of the
-Library will still fall under Section 6.)
-
-  Otherwise, if the work is a derivative of the Library, you may
-distribute the object code for the work under the terms of Section 6.
-Any executables containing that work also fall under Section 6,
-whether or not they are linked directly with the Library itself.
-
-  6. As an exception to the Sections above, you may also combine or
-link a "work that uses the Library" with the Library to produce a
-work containing portions of the Library, and distribute that work
-under terms of your choice, provided that the terms permit
-modification of the work for the customer's own use and reverse
-engineering for debugging such modifications.
-
-  You must give prominent notice with each copy of the work that the
-Library is used in it and that the Library and its use are covered by
-this License.  You must supply a copy of this License.  If the work
-during execution displays copyright notices, you must include the
-copyright notice for the Library among them, as well as a reference
-directing the user to the copy of this License.  Also, you must do one
-of these things:
-
-    a) Accompany the work with the complete corresponding
-    machine-readable source code for the Library including whatever
-    changes were used in the work (which must be distributed under
-    Sections 1 and 2 above); and, if the work is an executable linked
-    with the Library, with the complete machine-readable "work that
-    uses the Library", as object code and/or source code, so that the
-    user can modify the Library and then relink to produce a modified
-    executable containing the modified Library.  (It is understood
-    that the user who changes the contents of definitions files in the
-    Library will not necessarily be able to recompile the application
-    to use the modified definitions.)
-
-    b) Use a suitable shared library mechanism for linking with the
-    Library.  A suitable mechanism is one that (1) uses at run time a
-    copy of the library already present on the user's computer system,
-    rather than copying library functions into the executable, and (2)
-    will operate properly with a modified version of the library, if
-    the user installs one, as long as the modified version is
-    interface-compatible with the version that the work was made with.
-
-    c) Accompany the work with a written offer, valid for at
-    least three years, to give the same user the materials
-    specified in Subsection 6a, above, for a charge no more
-    than the cost of performing this distribution.
-
-    d) If distribution of the work is made by offering access to copy
-    from a designated place, offer equivalent access to copy the above
-    specified materials from the same place.
-
-    e) Verify that the user has already received a copy of these
-    materials or that you have already sent this user a copy.
-
-  For an executable, the required form of the "work that uses the
-Library" must include any data and utility programs needed for
-reproducing the executable from it.  However, as a special exception,
-the materials to be distributed need not include anything that is
-normally distributed (in either source or binary form) with the major
-components (compiler, kernel, and so on) of the operating system on
-which the executable runs, unless that component itself accompanies
-the executable.
-
-  It may happen that this requirement contradicts the license
-restrictions of other proprietary libraries that do not normally
-accompany the operating system.  Such a contradiction means you cannot
-use both them and the Library together in an executable that you
-distribute.
-
-  7. You may place library facilities that are a work based on the
-Library side-by-side in a single library together with other library
-facilities not covered by this License, and distribute such a combined
-library, provided that the separate distribution of the work based on
-the Library and of the other library facilities is otherwise
-permitted, and provided that you do these two things:
-
-    a) Accompany the combined library with a copy of the same work
-    based on the Library, uncombined with any other library
-    facilities.  This must be distributed under the terms of the
-    Sections above.
-
-    b) Give prominent notice with the combined library of the fact
-    that part of it is a work based on the Library, and explaining
-    where to find the accompanying uncombined form of the same work.
-
-  8. You may not copy, modify, sublicense, link with, or distribute
-the Library except as expressly provided under this License.  Any
-attempt otherwise to copy, modify, sublicense, link with, or
-distribute the Library is void, and will automatically terminate your
-rights under this License.  However, parties who have received copies,
-or rights, from you under this License will not have their licenses
-terminated so long as such parties remain in full compliance.
-
-  9. You are not required to accept this License, since you have not
-signed it.  However, nothing else grants you permission to modify or
-distribute the Library or its derivative works.  These actions are
-prohibited by law if you do not accept this License.  Therefore, by
-modifying or distributing the Library (or any work based on the
-Library), you indicate your acceptance of this License to do so, and
-all its terms and conditions for copying, distributing or modifying
-the Library or works based on it.
-
-  10. Each time you redistribute the Library (or any work based on the
-Library), the recipient automatically receives a license from the
-original licensor to copy, distribute, link with or modify the Library
-subject to these terms and conditions.  You may not impose any further
-restrictions on the recipients' exercise of the rights granted herein.
-You are not responsible for enforcing compliance by third parties with
-this License.
-
-  11. If, as a consequence of a court judgment or allegation of patent
-infringement or for any other reason (not limited to patent issues),
-conditions are imposed on you (whether by court order, agreement or
-otherwise) that contradict the conditions of this License, they do not
-excuse you from the conditions of this License.  If you cannot
-distribute so as to satisfy simultaneously your obligations under this
-License and any other pertinent obligations, then as a consequence you
-may not distribute the Library at all.  For example, if a patent
-license would not permit royalty-free redistribution of the Library by
-all those who receive copies directly or indirectly through you, then
-the only way you could satisfy both it and this License would be to
-refrain entirely from distribution of the Library.
-
-If any portion of this section is held invalid or unenforceable under any
-particular circumstance, the balance of the section is intended to apply,
-and the section as a whole is intended to apply in other circumstances.
-
-It is not the purpose of this section to induce you to infringe any
-patents or other property right claims or to contest validity of any
-such claims; this section has the sole purpose of protecting the
-integrity of the free software distribution system which is
-implemented by public license practices.  Many people have made
-generous contributions to the wide range of software distributed
-through that system in reliance on consistent application of that
-system; it is up to the author/donor to decide if he or she is willing
-to distribute software through any other system and a licensee cannot
-impose that choice.
-
-This section is intended to make thoroughly clear what is believed to
-be a consequence of the rest of this License.
-
-  12. If the distribution and/or use of the Library is restricted in
-certain countries either by patents or by copyrighted interfaces, the
-original copyright holder who places the Library under this License may add
-an explicit geographical distribution limitation excluding those countries,
-so that distribution is permitted only in or among countries not thus
-excluded.  In such case, this License incorporates the limitation as if
-written in the body of this License.
-
-  13. The Free Software Foundation may publish revised and/or new
-versions of the Lesser General Public License from time to time.
-Such new versions will be similar in spirit to the present version,
-but may differ in detail to address new problems or concerns.
-
-Each version is given a distinguishing version number.  If the Library
-specifies a version number of this License which applies to it and
-"any later version", you have the option of following the terms and
-conditions either of that version or of any later version published by
-the Free Software Foundation.  If the Library does not specify a
-license version number, you may choose any version ever published by
-the Free Software Foundation.
-
-  14. If you wish to incorporate parts of the Library into other free
-programs whose distribution conditions are incompatible with these,
-write to the author to ask for permission.  For software which is
-copyrighted by the Free Software Foundation, write to the Free
-Software Foundation; we sometimes make exceptions for this.  Our
-decision will be guided by the two goals of preserving the free status
-of all derivatives of our free software and of promoting the sharing
-and reuse of software generally.
-
-                NO WARRANTY
-
-  15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
-WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
-EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
-OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
-KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
-PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
-LIBRARY IS WITH YOU.  SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
-THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
-
-  16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
-WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
-AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
-FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
-CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
-LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
-RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
-FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
-SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
-DAMAGES.
-
-             END OF TERMS AND CONDITIONS
-
-           How to Apply These Terms to Your New Libraries
-
-  If you develop a new library, and you want it to be of the greatest
-possible use to the public, we recommend making it free software that
-everyone can redistribute and change.  You can do so by permitting
-redistribution under these terms (or, alternatively, under the terms of the
-ordinary General Public License).
-
-  To apply these terms, attach the following notices to the library.  It is
-safest to attach them to the start of each source file to most effectively
-convey the exclusion of warranty; and each file should have at least the
-"copyright" line and a pointer to where the full notice is found.
-
-    <one line to give the library's name and a brief idea of what it does.>
-    Copyright (C) <year>  <name of author>
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Lesser General Public
-    License as published by the Free Software Foundation; either
-    version 2.1 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Lesser General Public License for more details.
-
-    You should have received a copy of the GNU Lesser General Public
-    License along with this library; if not, write to the Free Software
-    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
-
-Also add information on how to contact you by electronic and paper mail.
-
-You should also get your employer (if you work as a programmer) or your
-school, if any, to sign a "copyright disclaimer" for the library, if
-necessary.  Here is a sample; alter the names:
-
-  Yoyodyne, Inc., hereby disclaims all copyright interest in the
-  library `Frob' (a library for tweaking knobs) written by James Random Hacker.
-
-  <signature of Ty Coon>, 1 April 1990
-  Ty Coon, President of Vice 
+
+
+Version 1.7.4 am xx.XX.2011 PREVIEW
+-----------------------------------
+Migration
+ * Java 6 wird zwingend ben��tigt.
+NEU
+ * Annotations werden aus PDF Dokumenten ausgelesen.
+ * TrayIcon wird auch auf 64-bit Systemen dargestellt.
+
+Version 1.7.3 am 21.12.2010
+---------------------------
+Weihnachtsversion 2010. Beinhaltet alle ��nderungen seit 1.7.0.
+
+Frohe Suchen zu Weihnachten
+
+Version 1.7.2 am 14.11.2010 PREVIEW
+-----------------------------------
+UPDATE
+  * TrayIcon f��r Linux: Regain mit "java -Djava.library.path=/usr/lib/jni -jar regain.jar" aufrufen.
+      Dann wird das TrayIcon korrekt angezeigt, wenn man libjdic-bin f��r sein System installiert hat.
+      Unter Ubuntu/Debian z.B.: sudo apt-get install libjdic-bin 
+  * Aperture 1.5.0: Benutzt f��r Mimetype-Detection
+  * jcifs 1.3.14: Samba Bibliothek
+
+NEU
+  * Beispielscript f��r Linux (Desktopversion) zum korrekten Aufruf in Zusammenhang mit der
+    Darstellung des TrayIcons (nur 32bit).
+
+Version 1.7.1 am 07.11.2001 PREVIEW
+-----------------------------------
+* Lucene wurde auf Version 3.0.2 geupdated. Damit in Zusammenhang stehende deprecated
+  Klasse wurden entfernt.
+* UPDATE: PDFBox wurde von 0.8.0-incubating auf 1.2.1 geupdated.
+* BUGFIX: Fehlendes lucene-memory-3.0.2.jar hinzugef��gt.
+* UPDATE: POI von Version 3.5 auf Version 3.7
+* NEU:    Extraktion von Metadaten aus allen mit POI geparsten und PDF Dokumenten. Wenn ein
+          Titel in den Metadaten gefunden wird, wird dieser zum Dokumenttitel.
+          Extrahierte Metadaten werden im Index im Feld 'metadata' indiziert und
+          gespeichert. Man kann also in der Suche mit metadata:ein_suchbegriff gezielt
+          suchen. Desweiteren sollte man in der SearchConfiguration.xml metadata hinzuf��gen:
+          <searchFieldList>content title metadata headlines location filename</searchFieldList>
+
+Version 1.7.0 am 06.03.2010 STABLE
+-----------------------------------
+* Authentifizierung f��r http nun m��glich
+* Liste aller gecrawlten URLs wird am Ende des Crawlvorganges geschrieben.
+* BUGFIX: Fehlende Apache Commons Bibliotheken hinzugef��gt.
+* Anwenderhandbuch in aktuelles OpenOfficeformat konvertiert. Zus��tzlich liegt im
+  Ordner txt ein pdf-Version des Handbuchs.
+* BUGFIX: Fehlende *.o Libs f��r launch4j hinzugef��gt.
+
+Version 1.6.8 am 20.12.2009 PREVIEW
+-----------------------------------
+* BUGFIX: Pfad und Dateiname sind wieder korrekt indiziert.
+* Ausgabe der Anzahl der indizierten Dokumente auf der Suchergebnisseite.
+
+Version 1.6.7 am 17.12.2009 PREVIEW
+-----------------------------------
+* BUGFIX: PDFBox-Logeintr��ge aus dem regain Log entfernt.
+
+Version 1.6.6 am 10.12.2009 PREVIEW
+-----------------------------------
+* BUGFIX: Fehlende commons-collections-xxx Klasses im Buildprozess ber��cksichtigt.
+
+Version 1.6.5 am 09.12.2009 PREVIEW
+-----------------------------------
+* BUGFIX: Hoher Memorybedarf bei grossen Ergebnissets.
+
+Version 1.6.4 am 29.11.2009 PREVIEW
+-----------------------------------
+* PDFBox wurde auf Version 0.8.0 geupdated.
+* Lucene wurde auf Version 2.9.1 geupdated.
+* Obsolete PoiMsWord, -Excel, -Powerpoint und -VisioPreparator wurde entfernt. Diese
+  Klassen k��nnen ��ber das Tag 'release-1.6.3' im Repo gefunden werden.
+* Neue Sortierm��glichkeiten: Relevanz, Datum (last-modified), Gr����e, Titel, Mimetype, Pfad, Dateiname
+  Die Sortierung wird in der SearchConfiguration.xml konfiguriert.
+  In der mitgelieferten SearchConfiguration.xml ist nur die Relevanz
+  (also bisheriges Verhalten) eingeschaltet.
+* Last-Modified wird am Suchtreffer ausgegeben
+* DEPRECATED: SingleSearchResults, MultipleSearchResults, MergedHits.
+  Diese Klassen werden mit der Umstellung auf Lucene 3.0 entfernt.
+
+Version 1.6.3 am 28.09.09 PREVIEW
+----------------------------------
+* POI-Extraktion f��r Officedokumente auf neueste Beta umgestellt. Damit lassen
+  sich jetzt auch die neuen XML-Dokumente (xlsx, docx, pptx) indizieren.
+* UPDATE: NSIS (installer tool)
+* BUGFIX: Austausch des JAR-EXE wrapper (alt jsmooth, neu launch4j)
+
+Version 1.6.2 am 05.09.2009 STABLE
+----------------------------------
+* UrlCleaner um st��rende Teile aus einer Url zu entfernen (z.B. sessionID)
+* wieder mit Java 1.6 gebaut, da einige Bibliotheken Java 1.6 voraussetzen.
+* Bugfix: RTF wird wieder indexiert. Dazu wurde der SimpleRTFPreparator in der Konfig entfernt.
+* CDATA funktioniert in <starturls/>, <whitelist/> und <blacklist/>. Notwendig um eine URL mit
+  einem & in der Query eintragen zu k��nnen.
+* BUGFIX: Mehrfache Protokollangaben bei Benutzung der Einstellungseite Desktopsuche.
+* BUGFIX: Samba-Bibliothek ausgetauscht. smb-URL Handling nach Ersetzung von Domain, User und PW
+  ge��ndert.
+* BUGFIX: Link-Text f��r 'Cached Version' ist internationalisiert
+* Franz��sische Stoppw��rter f��r die CrawlerConfiguration.xml
+
+Version 1.6.1 am 21.04.2009 STABLE
+----------------------------------
+* regain wurde mit Java 1.5 ��bersetzt.
+
+Version 1.6.0 am 08.03.2009 STABLE
+----------------------------------
+* BUGFIX: Alle Dokumente werden geparsed aber nicht indexiert,
+  wenn man am selben Tag den Index updatet.
+* Linkstrunkierung f��r Suchanfragen: z.B. *er hier, Wert, integriert, aber usw.
+  Achtung: es wird immer auf die gestemmte Form gematched.
+
+Version 1.5.7 am 24.01.09 (PREVIEW)
+-----------------------------------
+* Highlighting auch f��r Wildcard- und Fuzzysuchen (Contribution A.Larsson)
+* BUGFIX: Aufrufen von lokalen Dateien mittels Browser nach Anwendung von <rewriteRules/>
+* authentication.properties werden auch im Installationsroot gesucht (wichtig f��r Server-version)
+
+Version 1.5.6 am 22.12.08 PREVIEW
+---------------------------------
+* EXE-Version nun wieder enthalten. Es gab ein merkw��rdiges Verhalten bzgl. des Mailparsens. Fehler
+  lie�� sich nicht mehr reproduzieren. Dies trat auch nur bei der EXE-Version auf.
+* E-Mails werden nur einmal vom Server gelesen und verarbeitet. Wenn man sein Postfach neu indexieren
+  will, muss man die Dokumente aus dem Index l��schen (am einfachsten den ganzen Index l��schen)
+* Auf neueste Versionen des Windows-Installers und JSmooth geupdated.
+
+Version 1.5.5 am 30.11.08 PREVIEW
+---------------------------------
+* URL-Authentication f��r imap(s), http, smb in der Form protok://username:password@host:port/a_path/.
+  Die Eintr��ge von Name/Password f��r das URL-Pattern erfolgen mittels einer properties-Datei. Haupt-
+  einsatzzweck wird das Crawlen von IMAP-Postf��chern sein.
+* Neues Eingabefeld f��r imap(s) Url auf der Konfigurationsseite der Desktopsuche.
+* BUGFIX: Whitelist-Eintrag f��r Verzeichnisse/Datein von Festplatte nicht mehr nur file:/// sondern
+  der ganze Pfad
+* ACHTUNG: Keine Installerversion f��r Windows. Hier funktioniert das Parsen von MimeMessages nicht,
+  Grund derzeit noch unbekannt. 
+* ACHTUNG: F��r das Parsen von Mailf��chern (imap(s)) muss unbedingt Nutzername und Passwort unter 
+  ...mein_Installationspfad/conf/authentication.properties nach Anleitung eingetragen werden. Sonst gibt
+  es eine AuthenticationException.
+
+Version 1.5.4 am 16.11.08 PREVIEW
+---------------------------------
+* Per Konfigurationseintrag in der CrawlerConfig.xml <storeContentForPreview/> {true,false}
+  kann man das Ablegen des gesamten Contents im Index ein-/ausschalten.
+
+Version 1.5.3 am 05.10.08 PREVIEW
+---------------------------------
+* POI von Version 3.0.1 auf 3.1, Contribution J.Stiepel
+* MS-Visio Preparator (experimentell), Contribution J.Stiepel
+* einige Bugfixe betreffs Schreibrechten und Fehlerbehandlung, Contribution J.Stiepel
+* Verschachtelte Indexe f��r die Suche, Contribution filiadata
+* Achtung Fehlerbehaftet: verschachtelte Indices !!!
+* Bugfix: Umlaute werden nicht durch Suchmaske 'zerst��rt'
+* neue Servletversion
+
+Version 1.5.2 am 15.08.08 PREVIEW
+---------------------------------
+* Per Default wird der gesamte Content im Index gespeichert. Mittels <search:hit_content/> aus der
+  Taglib kann man eine ausklappbare Contentansicht in die Ergebnisliste einbauen. 
+  ACHTUNG: Experimentelles Feature. Die Indexe k��nnen sehr gro�� werden.
+
+Version 1.5.1 am 07.08.08 
+-------------------------
+* Dateiname wird korrekt indiziert
+* Datumsformat 'last-modified' auf "YYYYMMDD" ge��ndert. Damit kann man die RangeSearch auf
+  das Feld anwenden (Code-Contribution)
+* locale-Handling im SharedTag verbessert (Code-Contribution)
+
+Version 1.5.0 am 10.07.08 Preview
+---------------------------------
+* Linkextraktion von Regexp auf HTMLParser umgestellt
+* HTMLParser jetzt komplett integriert
+* -notrayicon - Kommandozeilenparameter f��r Desktopsuche (TrayIcon wird nicht angezeigt)
+* Lucene auf 2.3.2 geupdated
+* Anchors werden von URLs entfernt (http://forum.murfman.de/index.html#bottom --> http://forum.murfman.de/index.html)
+* Definition eines default Indexupdate-Intervalles
+* ��nderung L��schvorgang tempor��re Dateien
+* Verbesserte Mimetype-Detection (Update Aperture, URL-Bestimmung)
+
+Version 1.4.2 am 04.06.08 Preview
+---------------------------------
+* http://-Links, welche mit einem / enden, k��nnen extrahiert und indiziert werden
+
+Version 1.4.1 am 27.04.08 Preview
+---------------------------------
+* JavaPreparator fuer *.java-Dateien. Der JavaPreparator ist aufgrund seiner 
+  Groesse und dem begrenzten Nutzerkreis nicht Teil der Standardistribution.
+
+
+Version 1.4.0 am 05.04.08 Preview
+---------------------------------
+* Bugfix: StackOverflowError in Linkextraction abgefangen
+* mp3-Preparator extrahiert von ID3v2 oder ID3v1 Tags
+* Generischer Audio Preparator, welcher von mp4 (iTunes), ogg-Vorbis oder 
+  flac die Metadaten extrahiert
+
+
+Version 1.3.0/1 am 16.03.08
+---------------------------
+
+* Zugriff auf Windows-Shares (ohne Authentifizierung) (Samba/CIFS)
+* HTML-Parser zum Extrahieren des Contents
+* Bugfix Mimetypdetection, wenn das File keine Dateinendung besitzt
+* Priorit��t f��r Preparatoren. Default Prio ist 0. Damit l��sst sich mittels
+  URLRegEx .* in einem beliebigen Preparator (vorzugsweise EmptyPreparator)
+  und priority=-1 ein CatchAll-Preparator konfigurieren
+* Highlighting f��r Content und Titel
+* Preparatorselektion anhand des Mimetypes (fr��her Dateiendung)
+* Mimetype-detection (Dateiendung und MagicMime) 
+* Umstellung Erweiterte Suche auf Auswahl Mimetype anstelle Dateiendung
+
+
+Version 1.2.3 am 01.12.07
+-------------------------
+
+* Bugfix: In manchen F���llen wurden keine Dateiinhalte indexiert.
+
+
+Version 1.2.2 am 01.11.07
+-------------------------
+
+* Es kann nun jeder beliebige Lucene-Analyzer verwendet werden.
+* Bugfix: In der TLD-Definition hat das Attribut beautified im hit_url-Tag gefehlt.
+* Bugfix: Im Zusammenhang mit der File-to-Http-Bridge gab es URL-encoding-Probleme
+
+
+Version 1.2.1 am 30.10.07
+-------------------------
+
+* Bugfix: In regain 1.2 haben ein paar Bibliotheken gefehlt. Dies wurde mit
+  Version 1.2.1 behoben.
+
+
+Version 1.2 am 20.10.07
+-----------------------
+
+* In den Suchergebnissen werden nun Icons gezeigt, die den Typ einer Datei
+  kennzeichnen. 
+* Die Index-Felder "size" und "last-modified" sind nun suchbar.
+* Neuer Pr��parator: EmptyPreparator (Beigesteuert von Gerhard Olsson). Dieser
+  Pr��parator extrahiert keinen Inhalt aus den ihm zugeordneten Dateien. Dadurch
+  landet im Index nur der Pfad und Dateiname (hilfreich f��r alle Dateitypen, f��r
+  die es keinen Pr��parator gibt).
+* Die maximale Anzahl von Termen pro Dokument ist nun einstellbar und zwar ��ber
+  das <maxFieldLength>-Tag in der CrawlerConfiguration.xml. Default ist 10000.
+* Der IfilterPreparator funktioniert jetzt auch unter Windows Server 2003.
+* Die Werte f��r das <search:input_fieldlist>-Tag k��nnen nun beim Indexieren
+  ermittelt werden. Dadurch muss diese bei gro���en Indexen langsame Operation
+  nicht mehr bei der ersten Suche gemacht werden. Dies kann ��ber das
+  <valuePrefetchFields>-Tag in der CrawlerConfiguration.xml eingestellt werden.
+* Mehrere Bugfixes
+
+
+Version 1.1.1 am 27.03.06
+-------------------------
+
+* Bugfixes in der Server-Variante
+
+
+Version 1.1 am 26.02.06
+-----------------------
+
+* regain sucht nun auch in den URLs.
+* Die Desktop-Suche zeigt nun die letzten Log-Meldungen.
+* Bessere Behandlung von HTTP-Redirects. (Danke an Gerhard Olsson)
+* Zusatzfelder haben nun die Optionen "tokenize", "store" und "index".
+* Die Tag Library ist nun dokumentiert.
+* Die Suchmaske akzeptiert nun mehrere "query" Parameter
+  (diese werden einfach aneinandergeh���ngt)
+* Die Jacob-Pr��paratoren wurden verbessert. (Danke an Reinhard Balling)
+* Neuer Pr��parator ExternalPrepartor: Dieser Pr��parator ruft externe Programme
+  oder Skripte auf, um den Text aus Dokumenten zu extrahieren.
+  (Danke an Paul Ortyl)
+* Italienische Lokalisierung fertiggestellt. (Danke an Franco Lombardo)
+* Ein paar Bugfixes
+
+
+Version 1.1 Beta 6 am 05.12.05
+------------------------------
+
+* Neuer Pr��parator: Mit dem PoiMsPowerPointPreparator steht nun auch ein
+  plattformunabh��ngiger Pr��parator f��r Powerpoint zur Verf��gung.
+  (Vielen Dank an Gerhard Olsson)
+* Neuer Pr��parator: Der IfilterPreparator nutzt die I-Filter-Schnittstelle von
+  Microsoft um etliche Dateiformate zu lesen. Leider l��uft er nur unter Windows.
+* Multiindexsuche: In der SearchConfiguration.xml k��nnen nun auch mehrere
+  Indizes als Default angegeben werden.
+* Die Zusatzfelder (Auxiliary Fields) k��nnen nun besser mit Gro��-/Kleinschreibung
+  umgehen.
+* Der vom Crawler an die Webserver gesendete HTTP-Agent ist nun in der
+  CrawlerConfiguration.xml konfigurierbar. So kann sich der Crawler
+  beispielsweise als Internet Explorer ausgeben.
+* Mehrere Bugfixes
+
+
+Version 1.1 Beta 5 am 13.08.05
+------------------------------
+
+* Multiindex-Suche: Es k��nnen nun mehrere Suchindizes ��ber eine Suchmaske
+  durchsucht werden. Die Suchanfragen werden dabei auf jeden Index losgelassen
+  und anschlie���end vereint.
+* In der Wei��en und der Schwarzen Liste k��nnen jetzt auch regul���re Ausdr���cke
+  angegeben werden.
+* Suchmaske: Der Ort der Ressourcen und der Konfiguration wird jetzt besser
+  erkannt, so dass regain auch dann korrekt funktioniert, wenn Tomcat als
+  Service l��uft.
+* Suchmaske: Die File-zu-Http-Br���cke ist nun abschaltbar.
+* Crawler: Der Crawler braucht nun beim Durchsuchen von Verzeichnissen weniger
+  Arbeitsspeicher
+* Crawler: Der Crawler nimmt nun auch fehlgeschlagene Dokumente in den Index
+  auf, so dass diese bei einem erneuten Durchlauf nicht noch einmal probiert
+  werden. Wird der Crawler jedoch mit der Option "-retryFailedDocs" aufgerufen,
+  werden alle fehlgeschlagenen erneut probiert.
+* Der Html-Pr��parator ��bernimmt nun auch die Endungen .jsp, .php, .php3, .php4
+  und .asp.
+* In der CrawlerConfiguration.xml kann nun bei einem Pr��parator angegeben
+  werden, welche Dokumente er pr���parieren soll.
+* Mehrere Bugfixes
+
+
+Version 1.1 Beta 4 am 13.04.05
+------------------------------
+
+* Zugriffsrechte-Management: Es kann nun ein Rechte-Management eingebunden
+  werden, das dafuer sorgt, dass ein Benutzer nur Treffer f��r Dokumente erhaelt,
+  f��r die er Leserechte hat.
+* Suche: Die search-Taglib hat nun ein Tag "hit_field", das ein beliebiges
+  Indexfeld ausgibt. Das Tag "hit_summary" wurde in diesem Zuge entfernt.
+* Suche: Wenn Sie die Konfiguration der Suche nicht von einer XML-Datei laden
+  wollen oder wenn Sie die Lage der XML-Datei nicht in der web.xml angeben
+  moechten, koennen Sie die Konfiguration nun ueber eine eigene Factory-Klasse
+  erzeugen. Die SearchConfigFactory-Klasse wird in der web.xml festgelegt.
+* Serversuche: Die beigelegten JSP-Seiten haben nicht funktioniert.
+
+
+Version 1.1 Beta 3 am 17.03.05
+------------------------------
+
+* Crawler: Bugfix: Der PoiMsExcelPraeparator kam nicht mit allen Zahlen- und
+  Datumsformaten klar.
+* Crawler: Das Fehler-Log im Index ist nun ausfuehrlicher (Mit Stacktrace).
+* Crawler: Die Praeparatoren sind nun in eigene Jars gekapselt. Dadurch ist im
+  regain.jar nur das, was regain selbst braucht und die Praeparatoren lassen
+  sich leichter austauschen. Ausserdem koennen nun andere Entwickler auch
+  Praeparatoren anbieten, die sehr einfach eingebunden werden koennen.
+  Die Konfiguration der Praeparatoren steckt weiterhin in der
+  CrawlerConfiguration.xml, allerdings muessen dort nicht mehr alle
+  Praeparatoren angegeben werden. Die Praeparatoren werden in der Reihenfolge
+  abgearbeitet, in der sie konfiguriert sind, die nicht konfigurierten
+  Praeparatoren in unbestimmter Reihenfolge danach.
+* Desktopsuche: Die Desktopsuche lauft nun auch unter Linux.
+* Suche: Bugfix: Dateien, deren URL ein doppelter Slash enthielt
+  (Z.B. bei Netzlaufwerken: //fileserver/bla/blubb) konnten nicht geladen werden.
+* Desktopsuche: Bugfix: Bei den Suchergebnissen wurden Umlaute falsch
+  dargestellt.
+* Desktopsuche: In der Statusseite kann nun eine laufende Indexierung angehalten
+  und eine Indexierung manuell gestartet werden.
+* Crawler: Bugfix: Der HtmlPraeparator kam nicht mit allen Dateien klar.
+
+
+Version 1.1 Beta 2 am 12.03.05
+------------------------------
+
+* Crawler: Der Crawler erstellt nun regelm������ig sog. Breakpoints. Dabei wird
+  der aktuellen Stand der Suchindex in ein gesondertes Verzeichnis kopiert.
+  Falls die Indexierung abgebrochen wurde (Z.B. weil der Rechner
+  heruntergefahren wurde), wird beim naechsten mal auf dem letzten Breakpoint
+  aufgesetzt.
+* Desktopsuche: Die Statusseite zeigt nun auch die Zeitmessungsergebnisse.
+
+
+Version 1.1 Beta 1 am 10.03.05 
+------------------------------
+
+* Desktopsuche: regain bietet nun neben der Server-Suche auch eine Desktop-Suche.
+  Die Desktop-Suche bietet viele Eigenschaften, die die Bedienung kinderleicht
+  machen:
+    - Ein Installer fuer Windows.
+    - Integration in die Taskleiste unter Linux und Windows.
+    - Konfiguration ueber den Browser.
+    - Status-Anzeige ueber den Browser.
+* Crawler: Es gibt nun einen Praeparator fuer OpenOffice- und StarOffice-Dokumente.
+* Gesamt: Aktualisierung auf die neusten Versionen der genutzten Projekte.
+* Crawler: Praeparatoren sind nun ueber die CrawlerConfiguration.xml
+  konfigurierbar.
+* Suche: Die Suche wird nun ueber die SearchConfiguration.xml
+  konfiguriert, nicht mehr ueber die web.xml. Dort steht nun nur noch der Pfad
+  zur SearchConfiguration.xml.
+* Suche: In der Suche kann nun URL-Rewriting eingesetzt werden. Dadurch
+  koennen Dokumente von file://c:/www-data/intranet/docs indiziert und im
+  Browser als http://intranet.murfman.de/docs angezeigt werden.
+* Crawler: Zusatzfelder: Der Index kann durch Zusatzfelder erweitert werden, die
+  aus der URL eines Dokuments generiert werden.
+  Beispiel: Angenommen Sie haben ein Verzeichnis mit einem Unterverzeichnis fuer
+  jedes Projekt. Dann koennten Sie daraus ein Feld mit dem Projektnamen
+  generieren. Dadurch bekommen Sie bei der Suche nach "Angebotsproject:otto23"
+  nur Treffer aus diesem Verzeichnis.
+* Suche: Expertensuche: Die Werte, die fuer ein Feld im Index stehen,
+  koennen nun als ComboBox auf einer Suchseite angeboten werden. Vor allem in
+  Verbindung mit Zusatzfeldern ist das sehr praktisch.
+* Suche: Weil manche Browser aus Sicherheitsgruenden keine file-Links
+  verfolgen, die auf http-Seiten stehen, sind nun alle Dokumente, die sich im
+  Index befinden auch ueber HTTP erreichbar. Selbstverstaendlich sind sie bei der
+  Desktopsuche nur vom lokalen Rechner aus abrufbar.
+* Crawler: Der JacobMsWordPraeparator beruecksichtigt nun Formatvorlagen.
+  Dadurch koennen Ueberschriften extrahiert werden, die dann bei der Suche
+  staerker gewichtet werden.
+* Crawler: Die JacobMsOfficePraeparatoren koennen nun die Beschreibungsfelder
+  von MS Office-Dokumenten extrahieren (Titel, Autor, usw.)
+
+
+Version 1.0 am 10.06.04
+-----------------------
+
+* Erste Version
+
lib/win/jdic_license.txt to txt/README.txt
--- a/lib/win/jdic_license.txt
+++ b/txt/README.txt
@@ -1,511 +1,398 @@
-Copyright (c) 2004 Sun Microsystems, Inc., 4150 Network Circle, Santa
-Clara, California 95054, U.S.A. All rights reserved.  Use is subject
-to license terms below.  Sun, Sun Microsystems and the Sun logo are
-trademarks or registered trademarks of Sun Microsystems, Inc. in the
-U.S. and other countries.
- 
-Notice: This product is covered by U.S. export control laws and may be
-subject to the export or import laws in other countries. These laws may
-restrict the fields of use for this software and may require you to
-secure government authorization.
- 
-            GNU LESSER GENERAL PUBLIC LICENSE
-               Version 2.1, February 1999
-
- Copyright (C) 1991, 1999 Free Software Foundation, Inc.
-     59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
- Everyone is permitted to copy and distribute verbatim copies
- of this license document, but changing it is not allowed.
-
-[This is the first released version of the Lesser GPL.  It also counts
- as the successor of the GNU Library Public License, version 2, hence
- the version number 2.1.]
-
-                Preamble
-
-  The licenses for most software are designed to take away your
-freedom to share and change it.  By contrast, the GNU General Public
-Licenses are intended to guarantee your freedom to share and change
-free software--to make sure the software is free for all its users.
-
-  This license, the Lesser General Public License, applies to some
-specially designated software packages--typically libraries--of the
-Free Software Foundation and other authors who decide to use it.  You
-can use it too, but we suggest you first think carefully about whether
-this license or the ordinary General Public License is the better
-strategy to use in any particular case, based on the explanations below.
-
-  When we speak of free software, we are referring to freedom of use,
-not price.  Our General Public Licenses are designed to make sure that
-you have the freedom to distribute copies of free software (and charge
-for this service if you wish); that you receive source code or can get
-it if you want it; that you can change the software and use pieces of
-it in new free programs; and that you are informed that you can do
-these things.
-
-  To protect your rights, we need to make restrictions that forbid
-distributors to deny you these rights or to ask you to surrender these
-rights.  These restrictions translate to certain responsibilities for
-you if you distribute copies of the library or if you modify it.
-
-  For example, if you distribute copies of the library, whether gratis
-or for a fee, you must give the recipients all the rights that we gave
-you.  You must make sure that they, too, receive or can get the source
-code.  If you link other code with the library, you must provide
-complete object files to the recipients, so that they can relink them
-with the library after making changes to the library and recompiling
-it.  And you must show them these terms so they know their rights.
-
-  We protect your rights with a two-step method: (1) we copyright the
-library, and (2) we offer you this license, which gives you legal
-permission to copy, distribute and/or modify the library.
-
-  To protect each distributor, we want to make it very clear that
-there is no warranty for the free library.  Also, if the library is
-modified by someone else and passed on, the recipients should know
-that what they have is not the original version, so that the original
-author's reputation will not be affected by problems that might be
-introduced by others.
-
-  Finally, software patents pose a constant threat to the existence of
-any free program.  We wish to make sure that a company cannot
-effectively restrict the users of a free program by obtaining a
-restrictive license from a patent holder.  Therefore, we insist that
-any patent license obtained for a version of the library must be
-consistent with the full freedom of use specified in this license.
-
-  Most GNU software, including some libraries, is covered by the
-ordinary GNU General Public License.  This license, the GNU Lesser
-General Public License, applies to certain designated libraries, and
-is quite different from the ordinary General Public License.  We use
-this license for certain libraries in order to permit linking those
-libraries into non-free programs.
-
-  When a program is linked with a library, whether statically or using
-a shared library, the combination of the two is legally speaking a
-combined work, a derivative of the original library.  The ordinary
-General Public License therefore permits such linking only if the
-entire combination fits its criteria of freedom.  The Lesser General
-Public License permits more lax criteria for linking other code with
-the library.
-
-  We call this license the "Lesser" General Public License because it
-does Less to protect the user's freedom than the ordinary General
-Public License.  It also provides other free software developers Less
-of an advantage over competing non-free programs.  These disadvantages
-are the reason we use the ordinary General Public License for many
-libraries.  However, the Lesser license provides advantages in certain
-special circumstances.
-
-  For example, on rare occasions, there may be a special need to
-encourage the widest possible use of a certain library, so that it becomes
-a de-facto standard.  To achieve this, non-free programs must be
-allowed to use the library.  A more frequent case is that a free
-library does the same job as widely used non-free libraries.  In this
-case, there is little to gain by limiting the free library to free
-software only, so we use the Lesser General Public License.
-
-  In other cases, permission to use a particular library in non-free
-programs enables a greater number of people to use a large body of
-free software.  For example, permission to use the GNU C Library in
-non-free programs enables many more people to use the whole GNU
-operating system, as well as its variant, the GNU/Linux operating
-system.
-
-  Although the Lesser General Public License is Less protective of the
-users' freedom, it does ensure that the user of a program that is
-linked with the Library has the freedom and the wherewithal to run
-that program using a modified version of the Library.
-
-  The precise terms and conditions for copying, distribution and
-modification follow.  Pay close attention to the difference between a
-"work based on the library" and a "work that uses the library".  The
-former contains code derived from the library, whereas the latter must
-be combined with the library in order to run.
-
-          GNU LESSER GENERAL PUBLIC LICENSE
-   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
-
-  0. This License Agreement applies to any software library or other
-program which contains a notice placed by the copyright holder or
-other authorized party saying it may be distributed under the terms of
-this Lesser General Public License (also called "this License").
-Each licensee is addressed as "you".
-
-  A "library" means a collection of software functions and/or data
-prepared so as to be conveniently linked with application programs
-(which use some of those functions and data) to form executables.
-
-  The "Library", below, refers to any such software library or work
-which has been distributed under these terms.  A "work based on the
-Library" means either the Library or any derivative work under
-copyright law: that is to say, a work containing the Library or a
-portion of it, either verbatim or with modifications and/or translated
-straightforwardly into another language.  (Hereinafter, translation is
-included without limitation in the term "modification".)
-
-  "Source code" for a work means the preferred form of the work for
-making modifications to it.  For a library, complete source code means
-all the source code for all modules it contains, plus any associated
-interface definition files, plus the scripts used to control compilation
-and installation of the library.
-
-  Activities other than copying, distribution and modification are not
-covered by this License; they are outside its scope.  The act of
-running a program using the Library is not restricted, and output from
-such a program is covered only if its contents constitute a work based
-on the Library (independent of the use of the Library in a tool for
-writing it).  Whether that is true depends on what the Library does
-and what the program that uses the Library does.
-
-  1. You may copy and distribute verbatim copies of the Library's
-complete source code as you receive it, in any medium, provided that
-you conspicuously and appropriately publish on each copy an
-appropriate copyright notice and disclaimer of warranty; keep intact
-all the notices that refer to this License and to the absence of any
-warranty; and distribute a copy of this License along with the
-Library.
-
-  You may charge a fee for the physical act of transferring a copy,
-and you may at your option offer warranty protection in exchange for a
-fee.
-
-  2. You may modify your copy or copies of the Library or any portion
-of it, thus forming a work based on the Library, and copy and
-distribute such modifications or work under the terms of Section 1
-above, provided that you also meet all of these conditions:
-
-    a) The modified work must itself be a software library.
-
-    b) You must cause the files modified to carry prominent notices
-    stating that you changed the files and the date of any change.
-
-    c) You must cause the whole of the work to be licensed at no
-    charge to all third parties under the terms of this License.
-
-    d) If a facility in the modified Library refers to a function or a
-    table of data to be supplied by an application program that uses
-    the facility, other than as an argument passed when the facility
-    is invoked, then you must make a good faith effort to ensure that,
-    in the event an application does not supply such function or
-    table, the facility still operates, and performs whatever part of
-    its purpose remains meaningful.
-
-    (For example, a function in a library to compute square roots has
-    a purpose that is entirely well-defined independent of the
-    application.  Therefore, Subsection 2d requires that any
-    application-supplied function or table used by this function must
-    be optional: if the application does not supply it, the square
-    root function must still compute square roots.)
-
-These requirements apply to the modified work as a whole.  If
-identifiable sections of that work are not derived from the Library,
-and can be reasonably considered independent and separate works in
-themselves, then this License, and its terms, do not apply to those
-sections when you distribute them as separate works.  But when you
-distribute the same sections as part of a whole which is a work based
-on the Library, the distribution of the whole must be on the terms of
-this License, whose permissions for other licensees extend to the
-entire whole, and thus to each and every part regardless of who wrote
-it.
-
-Thus, it is not the intent of this section to claim rights or contest
-your rights to work written entirely by you; rather, the intent is to
-exercise the right to control the distribution of derivative or
-collective works based on the Library.
-
-In addition, mere aggregation of another work not based on the Library
-with the Library (or with a work based on the Library) on a volume of
-a storage or distribution medium does not bring the other work under
-the scope of this License.
-
-  3. You may opt to apply the terms of the ordinary GNU General Public
-License instead of this License to a given copy of the Library.  To do
-this, you must alter all the notices that refer to this License, so
-that they refer to the ordinary GNU General Public License, version 2,
-instead of to this License.  (If a newer version than version 2 of the
-ordinary GNU General Public License has appeared, then you can specify
-that version instead if you wish.)  Do not make any other change in
-these notices.
-
-  Once this change is made in a given copy, it is irreversible for
-that copy, so the ordinary GNU General Public License applies to all
-subsequent copies and derivative works made from that copy.
-
-  This option is useful when you wish to copy part of the code of
-the Library into a program that is not a library.
-
-  4. You may copy and distribute the Library (or a portion or
-derivative of it, under Section 2) in object code or executable form
-under the terms of Sections 1 and 2 above provided that you accompany
-it with the complete corresponding machine-readable source code, which
-must be distributed under the terms of Sections 1 and 2 above on a
-medium customarily used for software interchange.
-
-  If distribution of object code is made by offering access to copy
-from a designated place, then offering equivalent access to copy the
-source code from the same place satisfies the requirement to
-distribute the source code, even though third parties are not
-compelled to copy the source along with the object code.
-
-  5. A program that contains no derivative of any portion of the
-Library, but is designed to work with the Library by being compiled or
-linked with it, is called a "work that uses the Library".  Such a
-work, in isolation, is not a derivative work of the Library, and
-therefore falls outside the scope of this License.
-
-  However, linking a "work that uses the Library" with the Library
-creates an executable that is a derivative of the Library (because it
-contains portions of the Library), rather than a "work that uses the
-library".  The executable is therefore covered by this License.
-Section 6 states terms for distribution of such executables.
-
-  When a "work that uses the Library" uses material from a header file
-that is part of the Library, the object code for the work may be a
-derivative work of the Library even though the source code is not.
-Whether this is true is especially significant if the work can be
-linked without the Library, or if the work is itself a library.  The
-threshold for this to be true is not precisely defined by law.
-
-  If such an object file uses only numerical parameters, data
-structure layouts and accessors, and small macros and small inline
-functions (ten lines or less in length), then the use of the object
-file is unrestricted, regardless of whether it is legally a derivative
-work.  (Executables containing this object code plus portions of the
-Library will still fall under Section 6.)
-
-  Otherwise, if the work is a derivative of the Library, you may
-distribute the object code for the work under the terms of Section 6.
-Any executables containing that work also fall under Section 6,
-whether or not they are linked directly with the Library itself.
-
-  6. As an exception to the Sections above, you may also combine or
-link a "work that uses the Library" with the Library to produce a
-work containing portions of the Library, and distribute that work
-under terms of your choice, provided that the terms permit
-modification of the work for the customer's own use and reverse
-engineering for debugging such modifications.
-
-  You must give prominent notice with each copy of the work that the
-Library is used in it and that the Library and its use are covered by
-this License.  You must supply a copy of this License.  If the work
-during execution displays copyright notices, you must include the
-copyright notice for the Library among them, as well as a reference
-directing the user to the copy of this License.  Also, you must do one
-of these things:
-
-    a) Accompany the work with the complete corresponding
-    machine-readable source code for the Library including whatever
-    changes were used in the work (which must be distributed under
-    Sections 1 and 2 above); and, if the work is an executable linked
-    with the Library, with the complete machine-readable "work that
-    uses the Library", as object code and/or source code, so that the
-    user can modify the Library and then relink to produce a modified
-    executable containing the modified Library.  (It is understood
-    that the user who changes the contents of definitions files in the
-    Library will not necessarily be able to recompile the application
-    to use the modified definitions.)
-
-    b) Use a suitable shared library mechanism for linking with the
-    Library.  A suitable mechanism is one that (1) uses at run time a
-    copy of the library already present on the user's computer system,
-    rather than copying library functions into the executable, and (2)
-    will operate properly with a modified version of the library, if
-    the user installs one, as long as the modified version is
-    interface-compatible with the version that the work was made with.
-
-    c) Accompany the work with a written offer, valid for at
-    least three years, to give the same user the materials
-    specified in Subsection 6a, above, for a charge no more
-    than the cost of performing this distribution.
-
-    d) If distribution of the work is made by offering access to copy
-    from a designated place, offer equivalent access to copy the above
-    specified materials from the same place.
-
-    e) Verify that the user has already received a copy of these
-    materials or that you have already sent this user a copy.
-
-  For an executable, the required form of the "work that uses the
-Library" must include any data and utility programs needed for
-reproducing the executable from it.  However, as a special exception,
-the materials to be distributed need not include anything that is
-normally distributed (in either source or binary form) with the major
-components (compiler, kernel, and so on) of the operating system on
-which the executable runs, unless that component itself accompanies
-the executable.
-
-  It may happen that this requirement contradicts the license
-restrictions of other proprietary libraries that do not normally
-accompany the operating system.  Such a contradiction means you cannot
-use both them and the Library together in an executable that you
-distribute.
-
-  7. You may place library facilities that are a work based on the
-Library side-by-side in a single library together with other library
-facilities not covered by this License, and distribute such a combined
-library, provided that the separate distribution of the work based on
-the Library and of the other library facilities is otherwise
-permitted, and provided that you do these two things:
-
-    a) Accompany the combined library with a copy of the same work
-    based on the Library, uncombined with any other library
-    facilities.  This must be distributed under the terms of the
-    Sections above.
-
-    b) Give prominent notice with the combined library of the fact
-    that part of it is a work based on the Library, and explaining
-    where to find the accompanying uncombined form of the same work.
-
-  8. You may not copy, modify, sublicense, link with, or distribute
-the Library except as expressly provided under this License.  Any
-attempt otherwise to copy, modify, sublicense, link with, or
-distribute the Library is void, and will automatically terminate your
-rights under this License.  However, parties who have received copies,
-or rights, from you under this License will not have their licenses
-terminated so long as such parties remain in full compliance.
-
-  9. You are not required to accept this License, since you have not
-signed it.  However, nothing else grants you permission to modify or
-distribute the Library or its derivative works.  These actions are
-prohibited by law if you do not accept this License.  Therefore, by
-modifying or distributing the Library (or any work based on the
-Library), you indicate your acceptance of this License to do so, and
-all its terms and conditions for copying, distributing or modifying
-the Library or works based on it.
-
-  10. Each time you redistribute the Library (or any work based on the
-Library), the recipient automatically receives a license from the
-original licensor to copy, distribute, link with or modify the Library
-subject to these terms and conditions.  You may not impose any further
-restrictions on the recipients' exercise of the rights granted herein.
-You are not responsible for enforcing compliance by third parties with
-this License.
-
-  11. If, as a consequence of a court judgment or allegation of patent
-infringement or for any other reason (not limited to patent issues),
-conditions are imposed on you (whether by court order, agreement or
-otherwise) that contradict the conditions of this License, they do not
-excuse you from the conditions of this License.  If you cannot
-distribute so as to satisfy simultaneously your obligations under this
-License and any other pertinent obligations, then as a consequence you
-may not distribute the Library at all.  For example, if a patent
-license would not permit royalty-free redistribution of the Library by
-all those who receive copies directly or indirectly through you, then
-the only way you could satisfy both it and this License would be to
-refrain entirely from distribution of the Library.
-
-If any portion of this section is held invalid or unenforceable under any
-particular circumstance, the balance of the section is intended to apply,
-and the section as a whole is intended to apply in other circumstances.
-
-It is not the purpose of this section to induce you to infringe any
-patents or other property right claims or to contest validity of any
-such claims; this section has the sole purpose of protecting the
-integrity of the free software distribution system which is
-implemented by public license practices.  Many people have made
-generous contributions to the wide range of software distributed
-through that system in reliance on consistent application of that
-system; it is up to the author/donor to decide if he or she is willing
-to distribute software through any other system and a licensee cannot
-impose that choice.
-
-This section is intended to make thoroughly clear what is believed to
-be a consequence of the rest of this License.
-
-  12. If the distribution and/or use of the Library is restricted in
-certain countries either by patents or by copyrighted interfaces, the
-original copyright holder who places the Library under this License may add
-an explicit geographical distribution limitation excluding those countries,
-so that distribution is permitted only in or among countries not thus
-excluded.  In such case, this License incorporates the limitation as if
-written in the body of this License.
-
-  13. The Free Software Foundation may publish revised and/or new
-versions of the Lesser General Public License from time to time.
-Such new versions will be similar in spirit to the present version,
-but may differ in detail to address new problems or concerns.
-
-Each version is given a distinguishing version number.  If the Library
-specifies a version number of this License which applies to it and
-"any later version", you have the option of following the terms and
-conditions either of that version or of any later version published by
-the Free Software Foundation.  If the Library does not specify a
-license version number, you may choose any version ever published by
-the Free Software Foundation.
-
-  14. If you wish to incorporate parts of the Library into other free
-programs whose distribution conditions are incompatible with these,
-write to the author to ask for permission.  For software which is
-copyrighted by the Free Software Foundation, write to the Free
-Software Foundation; we sometimes make exceptions for this.  Our
-decision will be guided by the two goals of preserving the free status
-of all derivatives of our free software and of promoting the sharing
-and reuse of software generally.
-
-                NO WARRANTY
-
-  15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
-WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
-EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
-OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
-KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
-PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
-LIBRARY IS WITH YOU.  SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
-THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
-
-  16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
-WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
-AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
-FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
-CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
-LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
-RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
-FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
-SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
-DAMAGES.
-
-             END OF TERMS AND CONDITIONS
-
-           How to Apply These Terms to Your New Libraries
-
-  If you develop a new library, and you want it to be of the greatest
-possible use to the public, we recommend making it free software that
-everyone can redistribute and change.  You can do so by permitting
-redistribution under these terms (or, alternatively, under the terms of the
-ordinary General Public License).
-
-  To apply these terms, attach the following notices to the library.  It is
-safest to attach them to the start of each source file to most effectively
-convey the exclusion of warranty; and each file should have at least the
-"copyright" line and a pointer to where the full notice is found.
-
-    <one line to give the library's name and a brief idea of what it does.>
-    Copyright (C) <year>  <name of author>
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Lesser General Public
-    License as published by the Free Software Foundation; either
-    version 2.1 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Lesser General Public License for more details.
-
-    You should have received a copy of the GNU Lesser General Public
-    License along with this library; if not, write to the Free Software
-    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
-
-Also add information on how to contact you by electronic and paper mail.
-
-You should also get your employer (if you work as a programmer) or your
-school, if any, to sign a "copyright disclaimer" for the library, if
-necessary.  Here is a sample; alter the names:
-
-  Yoyodyne, Inc., hereby disclaims all copyright interest in the
-  library `Frob' (a library for tweaking knobs) written by James Random Hacker.
-
-  <signature of Ty Coon>, 1 April 1990
-  Ty Coon, President of Vice 
+Version 1.7.4 on 2011/XXX/xx PREVIEW
+-------------------------------------
+MIGRATE
+ * Use Java 6 only to start regain.
+NEW
+ * Annotations extraction from PDF documents
+ * System Tray will be correctly displayed on 64-bit Systems.
+
+Version 1.7.3 on 2010/Dec/21
+----------------------------
+Christmas_2010 release. Covers all changes from 1.7.1 and 1.7.2.
+
+Happy searching on XMAS 
+
+Version 1.7.2 on 2010/Nov/14 PREVIEW
+-----------------------------------
+UPDATE
+  * TrayIcon for Linux: call Regain with "java -Djava.library.path=/usr/lib/jni -jar regain.jar"
+      The trayicon will be shown correct if you installed libjdic.
+      For Ubuntu/Debian: sudo apt-get install libjdic-bin
+  * Aperture 1.5.0: Used for mimetype detection
+  * jcifs 1.3.14: Samba lib
+
+NEW
+  * Example start script for Linux (trayicon).
+
+Version 1.7.1 on 2010/11/07 PREVIEW
+-----------------------------------
+* UPDATE: Lucene from 2.9 to 3.0.2. Some deprecated regain classes where removed.
+* UPDATE: PDFBox from 0.8.0-incubating to 1.2.1
+* BUGFIX: Add missing lucene-memory-3.0.2.jar.
+* UPDATE: Poi v3.5 to v3.7.
+* NEW:    Extraction of meta data for all POI parsed and PDF documents. If there exists a title
+          the document title will be set from this value. The metadata will be indexed and stored
+          in the new index field 'metadata'. Please add metadata in the SearchConfiguration.xml
+          for older installations:
+          <searchFieldList>content title metadata headlines location filename</searchFieldList>
+
+Version 1.7.0 on 2010/08/26 STABLE
+----------------------------------
+* Authentication for http now possible.
+* List of all crawled URL will be written at the end of crawling.
+* BUGFIX: Added missing Apache Commons libs.
+* convert 'Anwenderhandbuch_regain' into current OpenOffice format. Add PDF-export
+  of document to the txt section.
+* BUGFIX: Add missing libs for launch4j.
+
+Version 1.6.8 on 2009/12/20 PREVIEW
+-----------------------------------
+* BUGFIX: Path and file name are indexed correct.
+* Enhancement: Total count of indexed documents is shown on search result page.
+
+Version 1.6.7 on 2009/12/17 PREVIEW
+-----------------------------------
+* BUGFIX: Remove unwanted PDFBox-log entries from regain log.
+
+Version 1.6.6 on 2009/12/10 PREVIEW
+-----------------------------------
+* BUGFIX: Insert missing classes from commons-collections into desktop and server version.
+
+Version 1.6.5 on 2009/12/09 PREVIEW
+-----------------------------------
+* BUGFIX: Huge memory consumption on large result sets.
+
+Version 1.6.4 on 2009/11/29 PREVIEW
+-----------------------------------
+* UPDATED: PDFBox to version 0.8.0
+* UPDATED: Lucene to version 2.9.1
+* Obsolete PoiMsWord, -Excel, -Powerpoint and -VisioPreparator classes are removed.
+* New Sorting: relevance, last-modified, size, title, mimetype, path, filename
+  The sorting feature has to be configured in the SearchConfiguration.xml.
+  Only sorting by relevance is enabled in the delivered default config (same behaviour
+  as before on the search results).
+* The last-modified date will be displayed on every search hit.
+* DEPRECATED: SingleSearchResults, MultipleSearchResults, MergedHits.
+  These classes will be removed in one of the next distribution (depend��ng on
+  the Lucene 3.0 update)
+  
+Version 1.6.3 on 2009/09/28 PREVIEW
+-----------------------------------
+* New POI-lib for extraction of Office-XML documents (xlsx, docx,pptx). All POI-
+  Extractors are merged to one POITextExtractor (PoiMsOfficePreparator).
+* UPDATE: NSIS (installer tool)
+* BUGFIX: Replacement of JAR-EXE wrapper (old jsmooth, new launch4j)
+
+Version 1.6.2 on 2009/09/05 STABLE
+-----------------------------------
+* URLCleaner for removing parts from the URL (e.g.session id)
+* regain is build again with Java 1.6 because some of the libs requires 1.6
+* BUGFIX: Rtf documents will be indexed correctly (replace wrong mimetype, disable SimpleRTFPreparator)
+* <starturls/>, <whitelist/> and <blacklist/> accepts <![CDATA[]]> sections. Usefull for
+  URLs which contains an &.
+* BUGFIX: Multiple protocols occurs some times when using the setup page of the desktop version.
+* BUGFIX: Update of samba lib (jcifs). Handling of smb-URL improved (username, password no longer
+  stored in index).
+* BUGFIX: 'Cached' text is now internationalized
+* Example of French stoppwords in CrawlerConfiguration.xml
+
+Version 1.6.1 on 04/21/2009 STABLE
+----------------------------------
+* regain compiled with java 1.5
+
+Version 1.6.0 on 03/08/2009 STABLE
+----------------------------------
+* BUGFIX: Index update at the same day leads to parsing of the document but the documents
+  will not be indexed.
+* left truncation of query terms *ack finds back, stack and so on
+
+Version 1.5.7 on 24.01.09 PREVIEW
+---------------------------------
+* Highlighting for wildcard- and fuzzysearches (contribution: A.Larsson)
+* BUGFIX: local files couldn't executed after execution of rewriteRules
+* authentication.properties will be located in installation root too (usefull for server version 
+  which doesn't have a conf directory)
+
+Version 1.5.6 on 22.12.08 PREVIEW
+---------------------------------
+* EXE-Version once again part of the distribution. There exists an unreproducible bug concerning
+  the parsing of a mime message. 
+* Mime messages will be fetched only once from the imap server. In the case of wanted reindexing 
+  the documents or the complete index have to be dropped.
+* Update of windows installer and jsmooth.
+
+Version 1.5.5 on 30.11.08 PREVIEW
+---------------------------------
+* URL-Authentication for imap(s), http, smb according to the following schema  
+  protoc://username:password@host:port/a_path/. The account/password pair are stored together 
+  with the url-pattern in a properties-files. Main usage will be the crawling of imap mail stores.
+* New input field for imap(s) urls on the config page (desktop search).
+* BUGFIX: Whitelist entry for directories/files from file system not more any longer file:///
+* MISSING: Windows installer version. The Mailparsing doesn't work inside a wrapped Java program.
+  This bug will hopefully be fixed in a later release.
+* CONFIGURATION: There exists a new configuration .../my_installation_path/conf/authentication.properties.
+  The matching entries of account name/password for a specific host has to be provided before the start
+  of the crawler.
+  
+Version 1.5.4 on 16.11.08 PREVIEW
+---------------------------------
+* Content storage (for the new preview function from 1.5.2) could be disabled with <storeContentForPreview/> {true,false} in the 
+  Crawler configuration. See example config.
+
+Version 1.5.3 on 05.10.08 PREVIEW
+---------------------------------
+* POI update to version 3.1, changed word- and excel text extraktion (contribution J.Stiepel)
+* new Visio preparator (experimental) (contribution J.Stiepel)
+* Bugfix: fixed exception handling for file permission problems (contribution J.Stiepel)
+* Feature: sub indices. This feature allows the aggregation of single indices into one. (experimental) (contribution filiadata)
+* Bugfix: 'encoding preservation' of search term (regain server frontend in application container)
+* updatet servlet api
+
+Version 1.5.2 on 15.08.08 PREVIEW
+---------------------------------
+* The whole extracted content will be stored in the index. This feature allows the creation 
+  of a content-view in the result jsp with <search:hit_content/> from the updated Tag-lib. 
+  The output is not localised (by now it's only in German).
+  ATTENTION: This is a highly experimental feature. The index could grow very fast.
+
+Version 1.5.1 on 07.08.08 
+-------------------------
+* Filename will be indexed correctly
+* Date format of field 'last-modified' changed to "YYYYMMDD". By now range search could 
+  be applied to the field. (code contribution by filiadat)
+* Improved locale-Handling in SharedTag (code contribution by filiadata)
+
+Version 1.5.0 on 09.07.08 Preview
+---------------------------------
+* Link extraction with REgexp switched to HTMLParser link extraction
+* HTMLParser now complete integrated
+* -notrayicon - command line parameter for  desktop-search (TrayIcon will never be shown, code contribution by Stefan Gottlieb)
+* Lucene updated to version 2.3.2
+* Removing anchors from URLs
+* Definition of a default index update interval
+* Deletion of temporary files is handled safer
+* Improved mime-type detection
+
+Version 1.4.2 on 04.06.08 Preview
+---------------------------------
+* http://-links which ends with a / will be extracted and indexed
+
+Version 1.4.1 on 2008-04-27 Preview
+-----------------------------------
+* JavaPreparator for *.java-files. The JavaPreparator is not part
+  of the 'standard'-distribution because of his size and the limited 
+  user group.
+
+
+Version 1.4.0 on 05.04.08 Preview
+---------------------------------
+* Bugfix: StackOverflowError in link extraction catched
+* mp3-preparator extracts ID3v2 or ID3v1 tags
+* Generic audio preparator, which extract metadata from mp4 (iTunes), 
+  ogg-Vorbis and flac
+
+
+Version 1.3.0/1 on 16.03.08 Preview
+-----------------------------------
+
+* smb/CIFS driver 
+* new HTML-Parser for better content extraction
+* Bugfix mime typ detection
+* Priority for preparators
+* Highlighting for content and title
+* Preparator selektion on basis of mime-types 
+* Mimetype-detection (based on file extension and MagicMime)
+* Replacement "Extended Search" from extension selection to mimetype selection
+
+
+Version 1.2.3 on 2007-12-01
+---------------------------
+
+* Bugfix: In some cases no file contents were indexed.
+
+
+Version 1.2.2 on 2007-11-01
+---------------------------
+
+* It is now possible to use any Lucene analyzer.
+* Bugfix: The attibute beautified of hit_url tag was missing in the TLD
+  definition.
+* Bugfix: Fixed URL-encoding problems when using the file-to-http-bridge.
+
+
+Version 1.2.1 on 2007-10-30
+---------------------------
+
+* Bugfix: In regain 1.2 some libs were missing. This was fixed with
+  version 1.2.1.
+
+
+Version 1.2 on 2007-07-20
+-------------------------
+
+* The search result show now icons indicating the file's type.
+* The index fields "size" and "last-modified" are now searchable.
+* New preparator: EmptyPreparator (Contributed by Gerhard Olsson). This
+  preparator extracts no content files assigned to it. Therefore only the path
+  and the filename is written to the index (helpful for all file types having no
+  matching preparator).
+* The maximum number of terms per document is now configurable using the
+  <maxFieldLength> tag in the CrawlerConfiguration.xml. Default is 10000.
+* The IfilterPreparator works now under Windows Server 2003, too.
+* The values for the <search:input_fieldlist> tag may now be determined when
+  indexing. Therefore this operation beeing slow for large indexes must not be
+  executed any more when searching the first time. This may be configured
+  using the <valuePrefetchFields> tag in the CrawlerConfiguration.xml.
+* Several bugfixes
+
+
+Version 1.1.1 on 2006-03-27
+---------------------------
+
+* Bugfixes in the server variant
+
+
+Version 1.1 on 2006-02-26
+-------------------------
+
+* regain now searches the URLs, too.
+* The desktop search now shows the last log messages.
+* Better handling of HTTP-Redirects. (Thanks to Gerhard Olsson)
+* Auxiliary fields have new options: "tokenize", "store" and "index".
+* Added documentation of the Tag Library.
+* The search mask now accepts multiple "query" parameters
+  (they are just concatinated)
+* The Jacob preparators have been improved. (Thanks to Reinhard Balling)
+* New preparator ExternalPrepartor: This preparator calls an external program
+  or script in order to get the text of documents. (Thanks to Paul Ortyl)
+* Completed italian localization. (Thanks to Franco Lombardo)
+* Some Bugfixes
+
+
+Version 1.1 Beta 6 on 2005-12-05
+--------------------------------
+
+* New preparator: With the PoiMsPowerPointPreparator there is now a platform
+  independant preparator for Powerpoint. (Thanks to Gerhard Olsson)
+* New preparator: The IfilterPreparator uses the I-Filter interface of
+  Microsoft to read various file formats. Unfortunately it only works on Windows.
+* Multi index search: In the SearchConfiguration.xml now several indexes may be
+  specified as default.
+* The auxiliary fields have now a better handling for case sensitivity.
+* The HTTP agent sent by the crawler to the web servers may now be configured in
+  the CrawlerConfiguration.xml. This way the crawler can identify itself as
+  Internet Explorer, for example.
+* Several bugfixes
+
+
+Version 1.1 Beta 5 on 2005-08-13
+--------------------------------
+
+* Multi index search: It is now possible to search several search indexes over
+  one search mask. The search query is executed on every index and is merged
+  afterwards.
+* The white and the black list now allow regular expressions, too.
+* Search mask: The location of ressources and the configuration is better
+  detected now. Therefor regain works properly now, even if Tomcat is running
+  as service.
+* Search mask: The file-to-http-bridge is may be switched off now.
+* Crawler: The crawler needs less memory now when crawling directories.
+* Crawler: The crawler now adds failed documents as well to the index. Therefore
+  they are not retried the next time the crawler is running. But if the crawler
+  is executed with the option "-retryFailedDocs", all failed documents are
+  retried.
+* The HTML preparator now preparates the extensions .jsp, .php, .php3, .php4
+  and .asp as well.
+* It's now possible to specify in the CrawlerConfiguration.xml which documents
+  should be preparated with a certain preparator.
+* Several bugfixes
+
+
+Version 1.1 Beta 4 on 2005-04-13
+--------------------------------
+
+* Access rights management: It is now possible to integrate an access rights
+  management, that ensures that a user only sees results for documents he has
+  reading rights for.
+* Search: The search taglib has now a tag "hit_field", that writes an index
+  field value. The tag "hit_summary" was thereby removed.
+* Search: If you don't want to read the search config from an XML file or if
+  you don't want to write the location of the XML file in the web.xml, you
+  may write your own SearchConfigFactory class and create the config on your
+  own. The SearchConfigFactory class is specified in the web.xml.
+* Server search: The enclosed JSP pages did not work.
+
+
+Version 1.1 Beta 3 on 2005-03-17
+--------------------------------
+
+* Crawler: Bugfix: The PoiMsExcelPreparator did not get on with all number and
+  date formats.
+* Crawler: The error log is now more detailed (with stacktraces).
+* Crawler: Preparators are now encapsulated in own jars. Thus the regain.jar
+  only contains what regain itself needs and preparators may be replaced more
+  easily. Also other developers may provide preparators that can be mounted
+  very easily.
+  The configuration of the preparators is still in the CrawlerConfiguration.xml.
+  But now not all preparators must be declared. The preparators are executed in
+  the same order as they are configured, the unconfigured preparators afterwards.
+* Desktop search: The desktop search now runs under Linux, too.
+* Search: Bugfix: Files whichs URL contains a double slash (e.g. of network
+  drives: //fileserver/bla/blubb) couldn't be loaded.
+* Desktop search: Bugfix: At the search results umlauts were presentet wrong.
+* Desktop search: On the status page a currently running index update can now be
+  paused and an index update can be started.
+* Crawler: Bugfix: The HtmlPraeparator did not get on with all files.
+
+
+Version 1.1 Beta 2 on 2005-03-12
+--------------------------------
+
+* Crawler: The crawler now creates periodically so called breakpoint. When doing
+  so the current state of the search index is copied into a separate directory.
+  If the index update should be cancelled (e.g. if the computer is shut down),
+  the crawler will go on from the last breakpoint.
+* Desktop search: The status page now shows the timing results.
+
+
+Version 1.1 Beta 1 on 2005-03-10
+--------------------------------
+
+* Desktop search: reagain now provides a desktop search besides the server
+  search. The desktop searchs provides many features that makes the use as easy
+  as winking:
+    - An installer for Windows.
+    - Integration in the task bar under Linux and Windows.
+    - Configuration over the browser.
+    - Status monitoring over the browser.
+* Crawler: There is now a preparator for OpenOffice and StarOffice documents.
+* All: Updated to the newest versions of the used projects.
+* Crawler: Preparators are now configurable by the CrawlerConfiguration.xml.
+* Search: The Search is now configured by the SearchConfiguration.xml, not the
+  web.xml any more. There is only the path to the SearchConfiguration.xml
+  any more.
+* Search: The Search now provides URL rewriting. This way you can index
+  documents in file://c:/www���data/intranet/docs and show the documents in the
+  browser as http://intranet.murfman.de/docs.
+* Crawler: Auxiliary fields: The index may now be extended by auxiliary fields
+  that are extracted from a document's URL.
+  Example: Assumed you have a directory with a sub directory for every project.
+  Then you can generate an auxiliary field with the project name. Doing so you
+  get only documents from that directory when searching for
+  "Offer��project:otto23".
+* Search: Advanced search: All values that are in the index for one field may
+  now be provided as a combo box on the search page. Particularly together with
+  auxiliary fields this is very useful.
+* Search: Some browsers load for security reasons no file links from http pages.
+  Thus all documents that are in the index are now provided over HTTP. Of corse
+  at the desktop search these documents are only accessible from the local host.
+* Crawler: The JacobMsWordPreparator now regards styles. Thus it is possible
+  to extract headlines that will be weight more when searching.
+* Crawler: The JacobMsOfficePreparators are now able to extract the description
+  fields (Title, author, etc.)
+
+
+Version 1.0 on 2004-06-10
+-------------------------
+
+* First version
src/net/sf/regain/ui/desktop/TrayIconManager.java to src/net/sf/regain/ui/desktop/TrayIconHandler.java
--- a/src/net/sf/regain/ui/desktop/TrayIconManager.java
+++ b/src/net/sf/regain/ui/desktop/TrayIconHandler.java
@@ -1,6 +1,6 @@
 /*
  * regain - A file search engine providing plenty of formats
- * Copyright (C) 2004  Til Schneider
+ * Copyright (C) 2004-2011  Til Schneider, Thomas Tesche
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
@@ -21,92 +21,96 @@
  * CVS information:
  *  $RCSfile$
  *   $Source$
- *     $Date: 2008-08-06 16:04:27 +0200 (Mi, 06 Aug 2008) $
+ *     $Date: 2008-08-06 16:04:27 +0200 (Wed, 06 Aug 2008) $
  *   $Author: thtesche $
  * $Revision: 325 $
  */
 package net.sf.regain.ui.desktop;
 
+import java.awt.AWTException;
+import java.awt.Image;
+import java.awt.MenuItem;
+import java.awt.PopupMenu;
+import java.awt.SystemTray;
+import java.awt.Toolkit;
+import java.awt.TrayIcon;
 import java.awt.event.ActionEvent;
 import java.awt.event.ActionListener;
-
-import javax.swing.ImageIcon;
-import javax.swing.JMenuItem;
-import javax.swing.JPopupMenu;
-import javax.swing.UIManager;
+import java.net.URL;
 
 import net.sf.regain.util.io.Localizer;
-
-import org.jdesktop.jdic.tray.SystemTray;
-import org.jdesktop.jdic.tray.TrayIcon;
 
 /**
  * Manages the tray icon.
  *
- * @author Til Schneider, www.murfman.de
+ * @author Thomas Tesche, www.clustersystems.de
  */
-public class TrayIconManager {
-  
+public class TrayIconHandler {
+
   /** The localizer for this class. */
-  private static Localizer mLocalizer = new Localizer(TrayIconManager.class);
-  
-  /** The singleton. */
-  private static TrayIconManager mSingleton;
-  
-  /** The try icon */
-  private TrayIcon mTrayIcon;
+  private static Localizer localizer = new Localizer(TrayIconHandler.class);
+  /** The singleton instance of the TrayIconHandler. */
+  private static TrayIconHandler trayIconHandlerSingleton;
+  /** Should a tray icon be displayed? */
+  private boolean active;
+  /** the TrayIcon itself. */
+  private TrayIcon trayIcon = null;
 
-  /** Is a tray icon used? */
-  private boolean active;
-  
-  
   /**
-   * Gets the singleton.
+   * Gets or create the singleton instances of TrayIconHandler.
    * 
    * @return The singleton.
    */
-  public static TrayIconManager getInstance() {
-    if (mSingleton == null) {
-      mSingleton = new TrayIconManager();
+  public static TrayIconHandler getInstance() {
+    if (trayIconHandlerSingleton == null) {
+      trayIconHandlerSingleton = new TrayIconHandler();
     }
-    return mSingleton;
+    return trayIconHandlerSingleton;
   }
-  
-  
+
   /**
    * Initializes the tray icon.
+   * 
+   * @param useTrayIcon should the tray icon be displayed
    */
   public void init(boolean useTrayIcon) {
     active = useTrayIcon;
-    if (! active) return;
-
-    try {
-      UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
-    } catch (Exception evt) {
-      evt.printStackTrace();
+    if (!active || !SystemTray.isSupported()) {
+      return;
     }
 
-    JPopupMenu menu = new JPopupMenu();
-    JMenuItem item;
+    // NOTE: The SystemTray must be created get before the TrayIconHandler is created.
+    //       Otherwise a UnsatisfiedLinkError will raise on linux systems
+    SystemTray tray = SystemTray.getSystemTray();
+    Image icon = loadImageFromClasspath("net/sf/regain/ui/desktop/regain_icon_16.gif");
 
-    item = new JMenuItem(mLocalizer.msg("search", "Search"));
+    PopupMenu menu = new PopupMenu();
+    MenuItem item;
+
+    item = new MenuItem(localizer.msg("search", "Search"));
     item.addActionListener(new ActionListener() {
+
+      @Override
       public void actionPerformed(ActionEvent evt) {
         DesktopToolkit.openPageInBrowser("searchinput.jsp");
       }
     });
     menu.add(item);
 
-    item = new JMenuItem(mLocalizer.msg("status", "Status"));
+    item = new MenuItem(localizer.msg("status", "Status"));
     item.addActionListener(new ActionListener() {
+
+      @Override
       public void actionPerformed(ActionEvent evt) {
         DesktopToolkit.openPageInBrowser("status.jsp");
       }
     });
     menu.add(item);
-    
-    item = new JMenuItem(mLocalizer.msg("config", "Preferences"));
+
+    item = new MenuItem(localizer.msg("config", "Preferences"));
     item.addActionListener(new ActionListener() {
+
+      @Override
       public void actionPerformed(ActionEvent evt) {
         DesktopToolkit.openPageInBrowser("config.jsp");
       }
@@ -114,32 +118,33 @@
     menu.add(item);
 
     menu.addSeparator();
-    
-    item = new JMenuItem(mLocalizer.msg("exit", "Exit"));
+
+    item = new MenuItem(localizer.msg("exit", "Exit"));
     item.addActionListener(new ActionListener() {
+
+      @Override
       public void actionPerformed(ActionEvent evt) {
         Main.quit();
       }
     });
     menu.add(item);
-    
-    ImageIcon icon = new ImageIcon(getClass().getResource("regain_icon_16.gif"));
 
-    // NOTE: The SystemTray must be created get before the TrayIcon is created.
-    //       Otherwise a UnsatisfiedLinkError will raise on linux systems
-    SystemTray tray = SystemTray.getDefaultSystemTray();
-    
-    mTrayIcon = new TrayIcon(icon, "regain", menu);
-    mTrayIcon.setIconAutoSize(true);
-    mTrayIcon.addActionListener(new ActionListener() {
+    trayIcon = new TrayIcon(icon, "regain", menu);
+    trayIcon.setImageAutoSize(true);
+    trayIcon.addActionListener(new ActionListener() {
+
+      @Override
       public void actionPerformed(ActionEvent evt) {
         DesktopToolkit.openPageInBrowser("searchinput.jsp");
       }
     });
-    
-    tray.addTrayIcon(mTrayIcon);
+
+    try {
+      tray.add(trayIcon);
+    } catch (AWTException e) {
+      System.err.println("TrayIcon could not be added.");
+    }
   }
-
 
   /**
    * Sets whether there is currently an index update running.
@@ -147,17 +152,43 @@
    * @param updateRunning Whether there is currently an index update running.
    */
   public void setIndexUpdateRunning(boolean updateRunning) {
-    if (! active) return;
+    if (!active) {
+      return;
+    }
 
     if (updateRunning) {
-      ImageIcon icon = new ImageIcon(getClass().getResource("regain_icon_scan_16.gif"));
-      mTrayIcon.setIcon(icon);
-      mTrayIcon.setToolTip("regain - " + mLocalizer.msg("indexUpdate", "Updating index"));
+      Image image = loadImageFromClasspath("net/sf/regain/ui/desktop/regain_icon_scan_16.gif");
+      trayIcon.setImage(image);
+      trayIcon.setToolTip("regain - " + localizer.msg("indexUpdate", "Updating index"));
+
     } else {
-      ImageIcon icon = new ImageIcon(getClass().getResource("regain_icon_16.gif"));
-      mTrayIcon.setIcon(icon);
-      mTrayIcon.setToolTip("regain");
+      Image image = loadImageFromClasspath("net/sf/regain/ui/desktop/regain_icon_16.gif");
+      trayIcon.setImage(image);
+      trayIcon.setToolTip("regain");
     }
   }
 
-}
+  /**
+   * Load the image from the classpath.
+   *
+   * @param name qualified name of the image (package + image name)
+   * @return the image in case it could be loaded otherwise false
+   */
+  private Image loadImageFromClasspath(String name) {
+    ClassLoader loader = ClassLoader.getSystemClassLoader();
+
+    if (loader != null) {
+      URL url = loader.getResource(name);
+      if (url == null) {
+        url = loader.getResource("/" + name);
+      }
+      if (url != null) {
+        Toolkit tk = Toolkit.getDefaultToolkit();
+        Image img = tk.getImage(url);
+        return img;
+      }
+    }
+
+    return null;
+  }
+}
1 2 > >> (Page 1 of 2)