简体   繁体   中英

Can I run a third-party Eclipse plugin as a standalone RAP application?

I am using a freeware third-party Eclipse plugin ( Toad Extensions for Eclipse , which I really love), and I'm interested if I can run that plugin in a Rich Ajax Platform (RAP) container with little effort. If that was possible, I could run a simple intranet server for shared database access, using this splendid tool.

Of course, I will double-check licenses again, before actually doing it. But I'm wondering about the technical feasibility...

The common procedure is to import the source code of this extension into an Eclipse workspace, switch the target platform to a recent RAP target, and change the dependencies from org.eclipse.ui to org.eclipse.rap.ui. Include any non-Eclipse-UI dependencies into the target.

After this, look for compile errors in the Problems view. These compile errors give you an idea of those API functions that your plugin needs but are not available in RAP.

For this mismatch, you have two options: either you modify the code so that it does not need this unsupported API anymore, or you try to provide a replacement for the missing features in RAP. The RAP forum/newsgroup will surely assist you to sort out which things are doable and which rather not.

Good luck!

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