[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[ews.eclipse.technology.rap] Re: FileUpload provided from .jar (plugin)

Hello again,
here is a new formulation of my question:
What should one do in order to run the upload demo without the rest of
the projects opened in the workspace. The rest of the projects are:
rwt.widgets.upload, commons-io and commons-fileupload.

What I did is that I found commons-io.jar and commons-fileupload.jar,
added them to a lib folder in the widget.upload project and removed the
dependencies. Then jarred the whole thing and added it to the upload.demo.

And on start it shows error:

Could not evaluate javascript response:
TypeError: org.eclipse.rwt.widgets.Upload is not a constructor

The console is full with "Active" and "Resolved" statuses.
I will attach the generated .jar file, if you wish to reproduce the problem.

I believe that I have some conceptual mistake, and I hope that I can
learn from it.

Thanks in advance.

Greetings,
Aleks




Benjamin Muskalla wrote:
> Hi,
> 
> yep, manifest looks good (that's the one that comes with the upload
> widget).
> What are your current problem in using the widget? Do you still get the
> javascript error? If yes, please check if the bundle starts correctly
> (start RAP with -console and check the bundle state with "ss"). Are all
> dependencies satisfied?
> 
> Note, there is a demo project that shows how to use the widget.
> 
> Regards,
>   Ben
>