简体   繁体   中英

FileDialog in RAP 2.1 - Add bundle Dependency

I tried this tutorial with my RAP 2.1. I downloaded my bundle from FileUpload (you can find it from Eclipse Rap Incubator . After it I wanted to add a bundle dependency to org.eclipse.rap.rwt.supplemental.filedialog to my project. So I tried Run Configuration -> Bundles -> Add Required. But can't find my supplemental.filedialog. So I tried to add it to the required dependencies from my plugin.xml but it also not working.

What is wrong?

I assume that you are using this ( http://download.eclipse.org/rt/rap/incubator/2.1/fileupload/ ) p2 repository for getting the FileUpload bundles. Please make sure that org.eclipse.rap.rwt.supplemental.fileupload and org.eclipse.rap.rwt.supplemental.filedialog bundles exist in your target platform. Make sure that you have Appache Commons IO/FileUpload bundles also (get them from Orbit).

Why you not upgrade to RAP 2.2?

Repository here:

http://download.eclipse.org/rt/rap/incubator/2.2

Change Dependency from org.eclipse.rap.rwt.supplemental.filedialog to org.eclipse.rap.addons.filedialog

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM