You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by Jieping Lu <jl...@itm-software.com> on 2005/08/30 18:59:15 UTC

Nutch 0.7 build.xml not working

The build.xml file in Nutch 0.7 release seems to missing the following
section at the top. 

  <property file="${user.home}/build.properties" />
  <property file="${basedir}/build.properties" />
  <property file="${basedir}/default.properties" />

  <!-- the normal classpath -->
  <path id="classpath">
    <pathelement location="${build.classes}"/>
    <fileset dir="${lib.dir}">
      <include name="*.jar" />
    </fileset>
  </path>



Re: Nutch 0.7 build.xml not working

Posted by Piotr Kosiorowski <pk...@gmail.com>.
Hmm, I have just downloaded nutch-0.7.tar.gz release and build.xml 
starts with:
<?xml version="1.0"?>

<project name="Nutch" default="compile">

   <!-- Load all the default properties, and any the user wants    -->
   <!-- to contribute (without having to type -D or edit this file -->
   <property file="${user.home}/build.properties" />
   <property file="${basedir}/build.properties" />
   <property file="${basedir}/default.properties" />

   <!-- the normal classpath -->
   <path id="classpath">
     <pathelement location="${build.classes}"/>
     <fileset dir="${lib.dir}">
       <include name="*.jar" />
     </fileset>
   </path>

   <!-- the unit test classpath -->
   <dirname property="plugins.classpath.dir" file="${build.plugins}"/>
   <path id="test.classpath">
     <pathelement location="${test.build.classes}" />
     <pathelement location="${conf.dir}"/>
     <pathelement location="${test.src.dir}"/>
     <pathelement location="${plugins.classpath.dir}"/>
     <path refid="classpath"/>
   </path>
[...]
So I do not know where the problem is.
Regards
Piotr
Jieping Lu wrote:
> The build.xml file in Nutch 0.7 release seems to missing the following
> section at the top. 
> 
>   <property file="${user.home}/build.properties" />
>   <property file="${basedir}/build.properties" />
>   <property file="${basedir}/default.properties" />
> 
>   <!-- the normal classpath -->
>   <path id="classpath">
>     <pathelement location="${build.classes}"/>
>     <fileset dir="${lib.dir}">
>       <include name="*.jar" />
>     </fileset>
>   </path>
> 
> 
>