On 27/03/11 21:02, Daniel McEnnis wrote:
Steve,

Here it is:

user@ubuntu:~/src/trunk$ ant -diagnostics
------- Ant diagnostics report -------
Apache Ant version 1.8.0 compiled on May 9 2010

-------------------------------------------
  Implementation Version
-------------------------------------------
core tasks     : 1.8.0 in file:/usr/share/ant/lib/ant.jar
optional tasks : 1.8.0 in file:/usr/share/ant/lib/ant-nodeps.jar


OK, that's a linux distro install without any extra jars. There's enough in a JVM these days that the basic operations will all work.





compile-rcc-compiler:
    [javac] /home/user/src/trunk/build.xml:333: warning:
'includeantruntime' was not set, defaulting to
build.sysclasspath=last; set to false for repeatable builds

BUILD FAILED
/home/user/src/trunk/build.xml:338: taskdef A class needed by class
org.apache.hadoop.record.compiler.ant.RccTask cannot be found: Task
  using the classloader

Looking at that class,
http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.20/src/core/org/apache/hadoop/record/compiler/ant/RccTask.java?view=markup

I don't see any obvious dependencies on non-standard things,

20      import java.io.File;
21      import java.util.ArrayList;
22      import org.apache.hadoop.record.compiler.generated.Rcc;
23      import org.apache.tools.ant.BuildException;
24      import org.apache.tools.ant.DirectoryScanner;
25      import org.apache.tools.ant.Project;
26      import org.apache.tools.ant.Task;
27      import org.apache.tools.ant.types.FileSet;

The only odd one is the generated Rcc taks.

That taskdef message from ant is saying something imported is missing.

Try running ant in debug mode (ant -debug) to see if it gives a clue, but there's very little that anyone else can do here.

Reply via email to