• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Could not find xxxClass Make sure you have it in your classpath

 
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Folks- I'm busting my brains over this for the last few days, have exhausted all avenues, must be missing something simple, but I am apparently not able to set up the <classpath> correctly for .class files.

<dirset dir="${test-output.home}">
<include name="classes/**/*.class" />
</dirset>

I have tried <fileset> and <classfileset> also but to no avail.


Here is my build.xml:



when I run it:
$ ant run -verbose




Help!!! save my sanity.
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Try changing line 30 to:



You do not want to include class files in the classpath, instead you want to include the base directory that include that class files within a directory path that reflects their packages.
reply
    Bookmark Topic Watch Topic
  • New Topic