On 6/20/07, Chris Mattmann <[EMAIL PROTECTED]> wrote:
> On 6/20/07 7:17 AM, "Doğacan Güney" <[EMAIL PROTECTED]> wrote:
>
> > It never passes for me (not even when I do it in src/plugin/feed). If
> you
> > check the output, parseResult only contains a single entry which
> is
> > rsstest.rss.
>
> Okay, please tell me I'm  not crazy here. I'm on Mac OS X 10.4, Java
> version:
>
> # java -version
> java version "1.5.0_07"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-164)
> Java HotSpot(TM) Client VM (build 1.5.0_07-87, mixed mode, sharing)
>
> I did a fresh checkout of the Nutch trunk. Then, from that dir, I run:
>
> # ant compile-core
> # cd src/plugin/feed
> # ant clean test
>
> All tests pass? Here is a log:
>
> [XXX:~/src/nutch] mattmann% ant compile-core
> Searching for build.xml ...
> Buildfile: /Users/mattmann/src/nutch/build.xml
>
> init:
>     [mkdir] Created dir: /Users/mattmann/src/nutch/build
>     [mkdir] Created dir: /Users/mattmann/src/nutch/build/classes
>     [mkdir] Created dir: /Users/mattmann/src/nutch/build/test
>     [mkdir] Created dir: /Users/mattmann/src/nutch/build/test/classes
>     [mkdir] Created dir: /Users/mattmann/src/nutch/build/hadoop
>     [unjar] Expanding: /Users/mattmann/src/nutch/lib/hadoop-0.12.2-core.jar
> into /Users/mattmann/src/nutch/build/hadoop
>     [untar] Expanding: /Users/mattmann/src/nutch/build/hadoop/bin.tgz into
> /Users/mattmann/src/nutch/bin
>     [mkdir] Created dir: /Users/mattmann/src/nutch/build/webapps
>     [unjar] Expanding: /Users/mattmann/src/nutch/lib/hadoop-0.12.2-core.jar
> into /Users/mattmann/src/nutch/build
>
> compile-core:
>     [javac] Compiling 172 source files to
> /Users/mattmann/src/nutch/build/classes
>     [javac] Note: Some input files use or override a deprecated API.
>     [javac] Note: Recompile with -Xlint:deprecation for details.
>     [javac] Note: Some input files use unchecked or unsafe operations.
>     [javac] Note: Recompile with -Xlint:unchecked for details.
>
> BUILD SUCCESSFUL
> Total time: 3 seconds
> [XXX:~/src/nutch] mattmann% cd src/plugin/feed
> [XXX:src/plugin/feed] mattmann% ant clean test
> Searching for build.xml ...
> Buildfile: /Users/mattmann/src/nutch/src/plugin/feed/build.xml
>     [mkdir] Created dir: /Users/mattmann/src/nutch/build/feed/test/data
>      [copy] Copying 1 file to /Users/mattmann/src/nutch/build/feed/test/data
>
> clean:
>    [delete] Deleting directory /Users/mattmann/src/nutch/build/feed
>
> init:
>     [mkdir] Created dir: /Users/mattmann/src/nutch/build/feed
>     [mkdir] Created dir: /Users/mattmann/src/nutch/build/feed/classes
>     [mkdir] Created dir: /Users/mattmann/src/nutch/build/feed/test
>     [mkdir] Created dir: /Users/mattmann/src/nutch/build/feed/test/data
>      [copy] Copying 1 file to /Users/mattmann/src/nutch/build/feed/test/data
>
> init-plugin:
>
> deps-jar:
>
> compile:
>      [echo] Compiling plugin: feed
>     [javac] Compiling 2 source files to
> /Users/mattmann/src/nutch/build/feed/classes
>
> compile-test:
>     [javac] Compiling 1 source file to
> /Users/mattmann/src/nutch/build/feed/test
>
> jar:
>       [jar] Building jar: /Users/mattmann/src/nutch/build/feed/feed.jar
>
> deps-test:
>
> init:
>     [mkdir] Created dir:
> /Users/mattmann/src/nutch/build/nutch-extensionpoints
>     [mkdir] Created dir:
> /Users/mattmann/src/nutch/build/nutch-extensionpoints/classes
>     [mkdir] Created dir:
> /Users/mattmann/src/nutch/build/nutch-extensionpoints/test
>
> init-plugin:
>
> compile:
>
> jar:
>       [jar] Building MANIFEST-only jar:
> /Users/mattmann/src/nutch/build/nutch-extensionpoints/nutch-extensionpoints.
> jar
>
> deps-test:
>
> deploy:
>     [mkdir] Created dir:
> /Users/mattmann/src/nutch/build/plugins/nutch-extensionpoints
>      [copy] Copying 1 file to
> /Users/mattmann/src/nutch/build/plugins/nutch-extensionpoints
>
> copy-generated-lib:
>      [copy] Copying 1 file to
> /Users/mattmann/src/nutch/build/plugins/nutch-extensionpoints
>
> init:
>     [mkdir] Created dir: /Users/mattmann/src/nutch/build/protocol-file
>     [mkdir] Created dir:
> /Users/mattmann/src/nutch/build/protocol-file/classes
>     [mkdir] Created dir: /Users/mattmann/src/nutch/build/protocol-file/test
>
> init-plugin:
>
> deps-jar:
>
> compile:
>      [echo] Compiling plugin: protocol-file
>     [javac] Compiling 4 source files to
> /Users/mattmann/src/nutch/build/protocol-file/classes
>
> jar:
>       [jar] Building jar:
> /Users/mattmann/src/nutch/build/protocol-file/protocol-file.jar
>
> deps-test:
>
> deploy:
>     [mkdir] Created dir:
> /Users/mattmann/src/nutch/build/plugins/protocol-file
>      [copy] Copying 1 file to
> /Users/mattmann/src/nutch/build/plugins/protocol-file
>
> copy-generated-lib:
>      [copy] Copying 1 file to
> /Users/mattmann/src/nutch/build/plugins/protocol-file
>
> deploy:
>     [mkdir] Created dir: /Users/mattmann/src/nutch/build/plugins/feed
>      [copy] Copying 1 file to /Users/mattmann/src/nutch/build/plugins/feed
>
> copy-generated-lib:
>      [copy] Copying 1 file to /Users/mattmann/src/nutch/build/plugins/feed
>      [copy] Copying 2 files to /Users/mattmann/src/nutch/build/plugins/feed
>
> test:
>      [echo] Testing plugin: feed
>     [junit] Running org.apache.nutch.parse.feed.TestFeedParser
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.635 sec
>
> BUILD SUCCESSFUL
> Total time: 3 seconds
> [XXX:src/plugin/feed] mattmann%
>
> Why is mine passing, and yours not? Or, have I been working too hard lately,
> and is all this a hallucination? :)

Since you are doing compile-core, no plugins get compiled (say,
urlfilter-prefix), then when  you do a ant test in feed only
protocol-file gets compiled. So, no urlfilter-prefix, no problem :). I
have to say that I am certain that I am not sure of what I just said.

Can you retry with just 'ant' instead of 'ant compile-core'?

>
> Cheers,
>   Chris
>
> ______________________________________________
> Chris A. Mattmann
> [EMAIL PROTECTED]
> Key Staff Member
> Modeling and Data Management Systems Section (387)
> Data Management Systems and Technologies Group
>
> _________________________________________________
> Jet Propulsion Laboratory            Pasadena, CA
> Office: 171-266B                        Mailstop:  171-246
> _______________________________________________________
>
> Disclaimer:  The opinions presented within are my own and do not reflect
> those of either NASA, JPL, or the California Institute of Technology.
>
>
>


-- 
Doğacan Güney
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Nutch-developers mailing list
Nutch-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nutch-developers

Reply via email to