You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by og...@yahoo.com on 2006/08/12 05:38:06 UTC

build kaput: plugins' jars can't be found

Hi,

While building Nutch, I noticed several places where various Jars from plugins' lib directories could not be found, for example:

$ ant package
...
deploy:
     [copy] Warning: Could not find file /home/otis/dev/repos/lucene/nutch/trunk/build/lib-log4j/lib-log4j.jar to copy.
init:
init-plugin:
compile:
jar:
deps-test:
deploy:
     [copy] Warning: Could not find file /home/otis/dev/repos/lucene/nutch/trunk/build/lib-nekohtml/lib-nekohtml.jar to copy.
...

The problem is, these "lib-XXXX.jar" files do not exist.  Instead, those Jars are typically named with a version in the name, like log4j-1.2.11.jar.  I could not find where this "lib-" prefix comes from, nor where the version is dropped from the name.  Anyone knows?
In order to avoid these errors I had to make symbolic links and fake things:
e.g.
  ln -s log4j-1.2.11.jar lib-log4j.jar

But this should really be fixed somewhere, I just can't see where... :(

Note that this doesn't completely break the build, but missing Jars can't be a good thing.  Or I may be missing something about the build?

Thanks,
Otis