- This topic has 9 replies, 3 voices, and was last updated 18 years 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
June 26, 2007 at 3:09 pm #272084
Loyal WaterMemberCan you give me some more information about this bug ?
June 27, 2007 at 12:13 am #272095
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.June 27, 2007 at 10:07 am #272109
Riyad KallaMemberMoving to OT > Soft Dev
June 28, 2007 at 7:22 am #272146
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.
June 28, 2007 at 7:25 am #272147
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.
June 29, 2007 at 10:41 am #272202
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?
June 30, 2007 at 9:08 pm #272220
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.
July 2, 2007 at 10:34 am #272247
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.July 2, 2007 at 8:49 pm #272287
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