Build: plugins' Jars not found
------------------------------

                 Key: NUTCH-347
                 URL: http://issues.apache.org/jira/browse/NUTCH-347
             Project: Nutch
          Issue Type: Bug
    Affects Versions: 0.8
            Reporter: Otis Gospodnetic


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.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to