File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes IDEs, Version Control and other tools and the fly likes Ant succeeds, eclipse errors. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Ant succeeds, eclipse errors." Watch "Ant succeeds, eclipse errors." New topic
Author

Ant succeeds, eclipse errors.

jay vas
Ranch Hand

Joined: Aug 30, 2005
Posts: 407
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

Joined: May 14, 2008
Posts: 5827
    
    7

Try adding the jar file containing the imported class to the Libraries tab on the Java Build Path for the project.


JBoss In Action
jay vas
Ranch Hand

Joined: Aug 30, 2005
Posts: 407
I ran a clean and it fixed it . duh.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Ant succeeds, eclipse errors.