Re: org.mortbay.proxy package not found in nutch 1.x, Ref Class - ProxyTestbed

2015-02-12 Thread Preetam Pradeepkumar Shingavi
Cool. Issue resolved now.

Thanks Sebastian !

On Wed, Feb 11, 2015 at 12:21 PM, Sebastian Nagel 
wastl.na...@googlemail.com wrote:

 Hi,

 the jetty-client-6.1.22.jar
 is a dependency needed only for testing.
 Consequently, it's placed in
  build/test/lib/
 but only if you run the tests, resp. call
  % ant resolve-test

 There is also a target
  % ant eclipse
 which writes a complete Eclipse project configuration.
 Sometimes, if dependencies change, you have to run it again.

 Of course, even with this config you have to run
  % ant resolve-default resolve-test
 after a clean to copy all dependencies into build/{lib,test/lib}/

 Best,
 Sebastian

 On 02/11/2015 05:00 AM, Preetam Pradeepkumar Shingavi wrote:
  Hi,
 
  I am trying to configure Nutch 1.X on eclipse, and configured the build
 path to include all jars
  from the build-lib folder.
 
  There is a class ProxyTestbed.java which has a error in importing the
 following package :
  import *org.mortbay.proxy.*AsyncProxyServlet; (proxy package not found)
 
  I tried to figure out that this class file loads from *jetty-6.1.26.jar,
 *but is not actually
  present in this jar.
 
  Am I missing anything here ? Do I download any other jar ?
 
  Thanks in advance !




Re: org.mortbay.proxy package not found in nutch 1.x, Ref Class - ProxyTestbed

2015-02-11 Thread Sebastian Nagel
Hi,

the jetty-client-6.1.22.jar
is a dependency needed only for testing.
Consequently, it's placed in
 build/test/lib/
but only if you run the tests, resp. call
 % ant resolve-test

There is also a target
 % ant eclipse
which writes a complete Eclipse project configuration.
Sometimes, if dependencies change, you have to run it again.

Of course, even with this config you have to run
 % ant resolve-default resolve-test
after a clean to copy all dependencies into build/{lib,test/lib}/

Best,
Sebastian

On 02/11/2015 05:00 AM, Preetam Pradeepkumar Shingavi wrote:
 Hi,
 
 I am trying to configure Nutch 1.X on eclipse, and configured the build path 
 to include all jars
 from the build-lib folder.
 
 There is a class ProxyTestbed.java which has a error in importing the 
 following package :
 import *org.mortbay.proxy.*AsyncProxyServlet; (proxy package not found)
 
 I tried to figure out that this class file loads from *jetty-6.1.26.jar, *but 
 is not actually
 present in this jar. 
 
 Am I missing anything here ? Do I download any other jar ?
 
 Thanks in advance !