Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Nutch Wiki" for change 
notification.

The following page has been changed by JuanJosePablos:
http://wiki.apache.org/nutch/GettingNutchRunningWithJetty

------------------------------------------------------------------------------
  All the commands are assume to be under the nutch_home 
+ Create a ant file called userjetty.xml wich this content:
  
+ <?xml version="1.0"?>
+ <project name="Nutch" default="jetty">
+   <target name="jetty"
+    description="Run Jetty with configuration set by the jetty.run property">
+     <java classname="org.mortbay.jetty.Server"
+           dir="."
+           fork="yes"
+           failonerror="yes"
+           >
+        <classpath>
+       <fileset dir="lib">
+         <include name="*.jar"/>
+        </fileset>
+          <pathelement path="${env.CLASSPATH}" />
+          <pathelement path="${env.JAVA_HOME}/lib/tools.jar" />
+        </classpath>
+     </java>
+   </target>
+ </project>
+ 

Reply via email to