facebook

can’t get all methods

  1. MyEclipse IDE
  2.  > 
  3. Off Topic
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #272061 Reply

    lonelyblue
    Member

    I use the “org.apache.commons.fileupload 1.2” .
    but, I can’t get methods all of the Class named “ServletFileUpload”.

    
    ServletFileUpload upload = new ServletFileUpload(factory);
    upload.setProgressListener()     -----------→error
    
    #272084 Reply

    Loyal Water
    Member

    Can you give me some more information about this bug ?

    #272095 Reply

    lonelyblue
    Member

    org.apache.commons.fileupload.servlet.ServletFileUpload extends org.apache.commons.fileupload.FileUpload
    org.apache.commons.fileupload.FileUpload extends org.apache.commons.fileupload.FileUploadBase
    There is a method “public void setProgressListener(ProgressListener pListener)” in “FileUploadBase”
    But,in Myeclipse 5.5GA couldn’t list the method.I must copy “FileUploadBase.java” to the Project then worked.

    #272109 Reply

    Riyad Kalla
    Member

    Moving to OT > Soft Dev

    #272146 Reply

    lonelyblue
    Member

    This should be a very obvious bug as far as I am concerned. In this case, I have to copy the source code of org.apache.commons.fileupload.FileUploadBase into my own project, then only would the method show up in the IDE.

    Please advise.

    #272147 Reply

    lonelyblue
    Member

    Additional information, if I start up Eclipse with “Eclipse.exe -clean” then everything just works fine. I would not need to copy the said source code into my project in order to build my project.

    #272202 Reply

    Riyad Kalla
    Member

    lonelyblue,
    I’m sorry maybe I misunderstood the problem…

    You are working with the Jakarta Commons FileUpload library, and when you add it to your build path, no autocomplete works? Or is it that you don’t get proper Javadoc or Variable names until you attach source?

    #272220 Reply

    lonelyblue
    Member

    Thanks for your help!
    It can’t autocomplete, also it doesn’t get all Methods name until I attach source.
    Only show a little methods over there. It works without myeclipse-plugin.

    I think the problem is that there are some inner static classes in “org.apache.commons.fileupload.FileUploadBase”,and the makeup of the class is so complex so as to myeclipse-plugin doesn’t work.

    #272247 Reply

    Riyad Kalla
    Member

    lonelyblue,
    We don’t instrument the standard JDT in any way, and this is the plugin providing all the tooling you are using with autocomplete and so on. I’ll add this to my TODO list to look into.

    #272287 Reply

    lonelyblue
    Member

    work under:
    ===================================================================
    Windows XP Professional SP2
    MyEclipse 5.5 GA
    Eclipse Platform Version: 3.2.2.r322_v20070119-RQghndJN8IM0MsK

    FrameWork and third party:
    ===================================================================
    Spring 1.2
    Hibernate 3.2.1
    J2EE 1.4
    jaybird 1.2
    JSTL 1.1
    JDK 1.5.0_11
    Velocity 1.5
    Json-lib 1.1
    commons fileupload 1.2

Viewing 10 posts - 1 through 10 (of 10 total)
Reply To: can’t get all methods

You must be logged in to post in the forum log in