Thanks Runping!
For any other ant-challenged souls, I solved the problem based on Runping's
comments using:
<path id="proto.classpath">
<path refid="classpath"/>
<pathelement location="${build.dir}/hadoop-datajoin.jar"/>
</path>
and then in my "compile" phase within the <javac>...</javac> rules:
<classpath refid="proto.classpath"/>
Thanks,
C G
Runping Qi <[EMAIL PROTECTED]> wrote:
Try to add something like the following lines in your build.xml:
....
....
Runping
> -----Original Message-----
> From: C G [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 26, 2007 9:12 PM
> To: [email protected]
> Subject: build question
>
> Hi All:
>
> I am trying to build an app using the data_join classes. When compiling
> via ant I am failing on an import:
>
> [javac] Compiling 8 source files to /home/cg/hadoop-
> 0.14.1/build/proto
> [javac] /home/cg/hadoop-
> 0.14.1/src/com/company/hadoop/joinProcessor.java:28: cannot find symbol
> [javac] symbol : class TaggedMapOutput
> [javac] location: package org.apache.hadoop.contrib.utils.join
> [javac] import org.apache.hadoop.contrib.utils.join.TaggedMapOutput;
>
> The import seems to reside in build/hadoop-datajoin.jar . My question
> is what do I need to do to build.xml to get the jar into the classpath.
>
> I recognize this is more a "how does ant work" question, but if anybody
> has the answer I'd be most grateful.
>
> Thanks,
> C G
>
>
> ---------------------------------
> Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail,
> news, photos & more.
---------------------------------
Moody friends. Drama queens. Your life? Nope! - their life, your story.
Play Sims Stories at Yahoo! Games.