If u tell me the exact version of nutch which you are using ,I can suggest modifications based on that
Rgds Prabhu On 2/23/06, Dima Mazmanov <[EMAIL PROTECTED]> wrote: > > Hi Raghavendra, > I tried to compile SWFParser.java and got following errors > compile: > [echo] Compiling plugin: parse-swf > [javac] Compiling 1 source file to > /usr/local/nutch/build/parse-swf/classes > [javac] > > /usr/local/nutch/src/plugin/parse-swf/src/java/org/apache/nutch/parse/swf/SWFParser.java:92: > cannot resolve symbo > [javac] symbol : variable OutlinkExtractor > [javac] location: class org.apache.nutch.parse.swf.SWFParser > [javac] Outlink[] olinks = OutlinkExtractor.getOutlinks(text); > [javac] ^ > [javac] > > /usr/local/nutch/src/plugin/parse-swf/src/java/org/apache/nutch/parse/swf/SWFParser.java:108: > cannot resolve symbol > [javac] symbol : constructor ParseData > (org.apache.nutch.parse.ParseStatus,java.lang.String, > org.apache.nutch.parse.Outlink[], > org.apache.nutch.protocol.ContentProperties) > [javac] location: class org.apache.nutch.parse.ParseData > [javac] ParseData parseData = new > ParseData(ParseStatus.STATUS_SUCCESS, "", links, > [javac] ^ > [javac] > > /usr/local/nutch/src/plugin/parse-swf/src/java/org/apache/nutch/parse/swf/SWFParser.java:125: > cannot resolve symbol > [javac] symbol : constructor Content > (java.lang.String,java.lang.String,byte[],java.lang.String, > org.apache.nutch.protocol.ContentProperties) > [javac] location: class org.apache.nutch.protocol.Content > [javac] Parse p = parser.getParse(new > Content(file,file,raw,"application/x-shockwave-flash",prop)); > [javac] ^ > [javac] 3 errors > Any clues? > Thanks. > ----- Original Message ----- > From: "Raghavendra Prabhu" <[EMAIL PROTECTED]> > To: <[email protected]>; "Dima Mazmanov" <[EMAIL PROTECTED]> > Sent: Wednesday, February 22, 2006 7:15 PM > Subject: Re: Re[6]: parse-swf plugin in 0.7 release > > > >I mean this uses ContentProperties which i believe may be different in > your > > case > > > > Other than that there should be none. > > > > Please change src/plugins/build.xml to include > > > > parse-swf in the deploy and clean targets > > > > Compilation shud clearly show you trivial errors > > > > In case of any error just look at how other parse-plugins have been > > written.Hope this helps > > > > Rgds > > Prabhu > > > > > > On 2/22/06, Dima Mazmanov <[EMAIL PROTECTED]> wrote: > >> > >> Hi,Raghavendra. > >> > >> Exactly what changes? Sorry for persistence... > >> You wrote 22 февраля 2006 г., 20:07:58: > >> > >> > HI > >> > >> > It does not use metadata package > >> > >> > Hope that helps. But you may have to do some other minor > modifications > >> which > >> > are easy to do > >> > Rgds > >> > Prabhu > >> > >> > >> > On 2/22/06, Dima Mazmanov <[EMAIL PROTECTED]> wrote: > >> >> > >> >> Hi, Raghavendra. > >> >> If it depends on metadata package then I won't help. > >> >> When I'm including metadata - during I get a lot of errors during > >> >> compilation. > >> >> > >> >> > >> >> You wrote 22 февраля 2006 г., 19:53:07: > >> >> > >> >> > ═ > >> >> > Use this for nutch-0.7 > >> >> > ═ > >> >> > I hope this helps > >> >> > ═ > >> >> > You may have to make some more minor modifications also > >> >> > ═ > >> >> > Rgds > >> >> > Prabhu > >> >> > >> >> > ═ > >> >> > On 2/22/06, Dima Mazmanov <[EMAIL PROTECTED]> wrote: > >> >> > Здравствуйте, Stefan. > >> >> > >> >> > Вы писали 22 февраля 2006 г., 19:46:40: > >> >> > >> >> >> Did you activate it in the nutch-default.xml (plugins include > >> section)? > >> >> > >> >> >> Am 22.02.2006 um 17:48 schrieb Dima Mazmanov: > >> >> > >> >> >>> Hi. > >> >> >>> Could you tell me what changes must be done to apply this plugin > >> into > >> >> >>> nutch-0.7? > >> >> >>> I pasted it to plugin directory, crawler parses corresponding > >> >> >>> plugin.xml > >> >> >>> but no flash based sites are parsed. > >> >> >>> > >> >> >>> > >> >> >>>══Dima══════════════════════════mailto: [EMAIL PROTECTED] > >> >> >>> > >> >> >>> > >> >> > >> >> >> --------------------------------------------------------------- > >> >> >> company:════════http://www.media-style.com > >> >> >> forum:════════http://www.text-mining.org > >> >> >> blog:════════════http://www.find23.net > >> >> > >> >> > >> >> > >> >> > >> >> >> __________ NOD32 1.1415 (20060221) Information __________ > >> >> > >> >> >> This message was checked by NOD32 antivirus system. > >> >> >> http://www.eset.com > >> >> > >> >> > >> >> > Hi Stefan! > >> >> > Of course! Otherwise══it wouldn't parse plugin's xml file. > >> >> > >> >> > -- > >> >> > С уважением, > >> >> > Dima══════════════════════════mailto:[EMAIL PROTECTED] > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> -- > >> >> Regards, > >> >> Dima mailto:[EMAIL PROTECTED] > >> >> > >> >> > >> > >> > >> > >> -- > >> Regards, > >> Dima mailto:[EMAIL PROTECTED] > >> > >> > > > >
