• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
K Mansoor
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • 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.
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic