Community
Participate
Working Groups
The problem is an erroneous compile error shows up in a class as a red X on the package and on the class. The compile error (below) is definitely erroneous - I open FTPClient, maintained in a separate project(this class is from Enterprise Data Technologies, library name is edtftp) and it sure enough contains the method Eclipse is complaining about: From FTPClient.java: public Date modtime(String remoteFile) Eclipse Compile Error: The method modtime(String) is undefined for the type FTPClient The offending line of code (OLOC): lastModifiedDates[i] = ftp.modtime(listings[i]); Where: lastModifiedDates = new Date[listings.length]; And the OLOC is in this loop: for( int i=0; i<listings.length; i++ ) { lastModifiedDates[i] = ftp.modtime(listings[i]); } I am using Eclipse Build id: 200311030802 I would ideally prefer to email someone the screenshot of this problem.
You can attach a screenshot to this bug if you want. Can you provide reproduceable steps to we can further investigate it ?
Created attachment 7513 [details] A screen shot showing the problematic compile error I wouldn't know what steps to take to reproduce this bug as it just appeared out of nowhere (seemingly).
Does the problem go away when performing a full rebuild ? Could you have more than one occurrence of the definition of the type of 'ftp' ? Could you simplify your code to a smaller testcase you could attach to this bug report ?
Please reopen once steps to reproduce are available.
There are absolutely no definite steps to reproduce this problem. As I said, it just appeared one day. I will simply continue to build with Ant outside of Eclipse as I have been doing for months.
There must be some steps to reproduce this issue, and unfortunately you need to provide them as we aren't aware of such an issue, and we use Eclipse extensively. Are you mixing Ant build with the Eclipse compiler activity ? By doing so, you could clearly burn assumptions that the Eclipse compiler makes when incrementally compiling files (it assumes that it was in charge of generating them).
Closing as never reproduced in a long time
As of now 'LATER' and 'REMIND' resolutions are no longer supported. Please reopen this bug if it is still valid for you.