- This topic has 9 replies, 3 voices, and was last updated 17 years, 6 months ago by lonelyblue.
-
AuthorPosts
-
lonelyblueMemberI 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
Loyal WaterMemberCan you give me some more information about this bug ?
lonelyblueMemberorg.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.
Riyad KallaMemberMoving to OT > Soft Dev
lonelyblueMemberThis 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.
lonelyblueMemberAdditional 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.
Riyad KallaMemberlonelyblue,
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?
lonelyblueMemberThanks 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.
Riyad KallaMemberlonelyblue,
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.
lonelyblueMemberwork under:
===================================================================
Windows XP Professional SP2
MyEclipse 5.5 GA
Eclipse Platform Version: 3.2.2.r322_v20070119-RQghndJN8IM0MsKFrameWork 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 -
AuthorPosts