John,

   Great, here is the README.

Andy

[EMAIL PROTECTED] wrote:

Andy,

Could you add a brief note about how to generate the jar file
from sources? Then, I am going to commit, if no one complains.

John

On Mon, Sep 27, 2004 at 09:13:36AM +0100, Andy Hedges wrote:


Just been doing so research on the version number. The closest I can find
is either a date (10/30/2001) or a CVS id ($Id: RTFParserDelegate.java,v
1.2 2001/07/10 03:07:53 eric Exp $). Obviously that only applies to the
one java file, the jj file doesn't have a id in it.

The date is the date it was submitted to the JavaCC Grammar Repository
found here: http://www.cobase.cs.ucla.edu/pub/javacc/#Rsection

Perhaps I could contact the author and try and find out more.

I also included the source (only 2 files) in the jar file in case we ever
need to refer to it and it's not available else where.

Andy



The 3rd party library is LGPL Version 2.1, February 1999. I deliberately
made sure I didn't modify the orginial files and included the LGPL text
as a file in the jar.

I've extracted the license file and attached it for your reference.

Andy



[EMAIL PROTECTED] wrote:



Andy,

On Mon, Sep 20, 2004 at 07:49:17PM +0100, Andy Hedges wrote:




John,

 I have rewritten the parser using a different library with no
dependacies on X11 or anything else for that matter. Hope it's
acceptable.


https://sourceforge.net/tracker/index.php?func=detail&aid=1020724&group_id=59548&atid=491356

 Cheers,




Which license does rtf-parser.jar use? Any version number?
We need a LICENSE file for it as suggested by Dawid (e.g.,
src/plugin/clustering-carrot2/lib/carrot2.LICENSE).

Thanks,

John


------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php _______________________________________________ Nutch-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nutch-developers








-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Nutch-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nutch-developers



__________________________________________
http://www.neasys.com - A Good Place to Be
Come to visit us today!


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Nutch-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nutch-developers



Prereqs: JDK 1.4+ and javacc version 3.2+

This document describes how to create rtf-parser.jar file as used by Nutch.

Source files are contained in:

http://www.cobase.cs.ucla.edu/pub/javacc/rtf_parser_src.jar

Create a new directory with the following files in:

        LICENCE
        RTFParser.jj
        RTFParserDelegate.java

cd into this new directory create a src directory
        
        $mkdir src
        
copy RTFParser.jj RTFParserDelegate.java into this src directory

        $cp RTFParser.jj RTFParserDelegate.java src/
        
now cd into this src directory and generate the javacc classes for the parser
and then cd out again

        $cd src
        $javacc RTFParser.jj
        $cd ..
        
now compile all the source and generated files

        $javac -d . src/*.java
        
(optional) remove the generated source

        $rm -rf src # (optional)
        
finally create the jar archive of all the salient files

        $jar -cvf rtf-parser.jar com/ LICENCE RTFParser*
        
--Andy Hedges

Credits:

Thanks to Eric Friedman for writing this javacc grammar file.

Reply via email to