You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by Aaron Kimball <aa...@cloudera.com> on 2009/03/17 00:10:34 UTC

Modifying build classpath for contrib item

Hi all,

I'm working on converting a build file to play nicely with the "contrib"
structure and its build*.xml files. This program needs to use JUnit on the
src/ side of things (not just the test/ side). This doesn't seem to be on
the classpath, even though this is in my ivy.xml file:

   <dependency org="junit"
      name="junit"
      rev="${junit.version}"
      conf="common->default"/>

I tried looking for other examples in other contrib files, but can't figure
out what to do. How do I get junit into the classpath for src/java/** ?

Thanks,
- Aaron