• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Ant succeeds, eclipse errors.

 
jay vas
Ranch Hand
Posts: 407
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys : I have an ant project which succeeded , however, there are "red" marks on some classes.
I've tried "refresh", but to no avail. The strangest part of it all is the fact that the errors are on an imported class (i.e. the import cannot be resolved) , which eclipse clearly recognizes (that is, i can hold the "control/function" and click on the class and see the source code !

Any idea how to straighten out eclipse so that its in sync with the successfull ANT build ?
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try adding the jar file containing the imported class to the Libraries tab on the Java Build Path for the project.
 
jay vas
Ranch Hand
Posts: 407
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I ran a clean and it fixed it . duh.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic