Can I build an Eclipse RCP Application with a feature patch? - eclipse

I have an Eclipse RCP Application, and I find a bug in an Eclipse plug-in. I do not want to modify the source code directly, I want to use a Feature Patch to fix it. Can I build the app with this feature patch ?

Related

How can I use an existing .target file in Eclipse?

I would like to develop plugins for an RCP Applicaction. Now, they provide a .target file for development.
I tried to read on several Eclipse pages but I could not find out how to use that file. Do I have to load it somewhere? Do I have to add it at a specific location?
I'm sure, I missed something...
Please give me a hint.
Use the target definition editor to open the target file.
You will need to have the Plug-in development tools (PDE) installed to develop plug-ins for RCP applications. PDE can be installed into an existing IDE from the projects download page.
Or you can download an Eclipse package that contains PDE. This page gives an overview which package contains what. However, I recommend to choose the Eclipse for RCP and RAP develoipers
If you have PDE installed and the target file is located in the workspace, it is the default editor (i.e. you can simply doiuble click the respective entry in the package explorer).
Use the Set as target platform in the top right corner of the target editor to make it the current target platform.
The current target platform constitutes the plug-ins which your workspace will be built and run against. It describes the platform that you are developing for.
Once a target platform is known to the IDE it can also the changed through the Plug-in Development > Target Platform preference page.
There is also an option to show the name of the current target platform in the status bar on the Plug-in Development preference page.

Developing with the latest Processing version in Eclipse

I just found out that the Processing Eclipse plugin is not under active development, and for that matter uses a rather old version of Eclipse.
Eclipse plugin project for Processing
I tried to to use the latest core.jar lib with the plugin but that didnt do. Is there a way to use develop Processing sketches in Eclipse using the latest Procssing version. Thanks
I warmly recommend the Proclipsing plugin.
Eclipse > Help > Install New Software > Add >
http://proclipsing.googlecode.com/svn/tags/current_releases/proclipsingSite/
There's also a quick video tutorial available:
It allows you to easily create a Processing project (java but links the core.jar and extends a PApplet for you) and also has tools to export a Processing Application or Applet.
All you need to do is point to your Processing install and it will also find your existing libraries.
If you don't want to use any eclipse plugins you can always create a new Java project, add core.jar to the build path and extend PApplet.
Update
Based on your comments, perhaps a half-way method would solve your problem:
Try the PDE X mode in Processing. You get auto-complete, code navigation and renaming.
Update
PDE X is now integrated into the Processing 3.0 pre-release

Customizing Eclipse application launcher when launching a plugin

We are writing an Eclipse plugin that will work in a ClearCase environment i.e., our plugin will work along with the ClearCase SCM plugin for eclipse(available from IBM).
When developing the plugin, our eclipse(RCP & RAP) don't need ClearCase plugin. However, when we launch the plugin thru "Eclipse Application Launcher", the new eclipse does need the ClearCase plugin.
Is it possible to configure the "Eclipse Application Launcher" to include ClearCase plugin(or any different plugin that's not in the base eclipse) when it fires up another eclipse instance?
I could not find a way to do this from the documentation.
I think Target platform is what you are looking for.
You can use a pure Eclipse release(such as Juno) as development tool, then use another collection of compile and runtime plug-ins via specifying a target platform.

Best way to configure Eclipse Target-Platform?

What is the best way to configure target platform to develop Eclipse RCP application? Download 'pure' Eclipse and add only needed plug-ins in project or download Eclipse for RCP and RAP Developers? And what is better solution to add plugins? Open Eclipse-TP and download from eclipse-marketplace or manually copy jars to appropriate folders?
It depends on the set of plug-ins your RCP application depends on.
"RCP SDK" provides a minimal target platform, with source code.
"Platform SDK" provided more plug-ins, with source code. It includes more plug-ins than RCP SDK, without including the developer-oriented plug-ins of Eclipse IDEs. Unfortunately, this platform is not currently provided.
"Platform Runtime Binary" provides the same thing as Platform SDK -- without source code.
If you want to release on multiple platforms, also download the DeltaPack, which contains platform-specific resources for multiple platforms.
By the way, if you're adding the target platform to version control, use binary type for the following files in plugins/*/META-INF:
eclipse.inf -- line endings should be NL
MANIFEST.MF, ECLIPSE_.SF, and ECLIPSEF.SF (note the spelling) -- line endings
should be CR/NL

How to disable Eclipse compiler

Is it possible to disable or remove the built-in Java compiler from an Eclipse installation?
I would like to use the XML editing and validation features of Eclipse in an environment that forbids installation of compilers. Can the compiler be disabled/removed without breaking the XML editing and validation functions? How?
Comments in this related question suggest that it can't be done, but I don't need the Java development features of Eclipse (and don't expect them to work without the compiler).
Yes, it is certainly possible to create an Eclipse install without the Java compiler (or JDT to be specific). The real question is whether the XML tools have an indirect dependency on JDT that will pull that back in.
Here is what I would try...
Download Eclipse Platform zip. You can get it from this URL:
http://download.eclipse.org/eclipse/downloads/
Look under the Latest Releases heading. You will want to download something stable. The latest release now is 3.6.1...
http://download.eclipse.org/eclipse/downloads/drops/R-3.6.1-201009090800/index.php
Now find a heading called "Platform Runtime Binary" and download the zip that's right for your platform. Verify that file name is "eclipse-platform-[version]-[platform].zip". If it isn't you've downloaded the wrong thing.
Unzip it as you usually would an Eclipse distro. You now have a runnable Eclipse install, minus any and all interesting IDE functionality. In particular, there is no JDT.
Now it's time to install XML tools. Go to Help->Install New Software->Add and use this URL for the repository: http://download.eclipse.org/releases/helios/
Uncheck "contact all update sites during install to find required software".
Type in XML into the filter field. The feature you want is called "Eclipse XML Editors and Tools". Select it and hit finish.
Assuming it installs correctly, you will want to confirm that it didn't silently pull in JDT. Look at your Eclipse install in the plugins directory. See if you have org.eclipse.jdt.core plugin present. That's where the Java compiler lives.
Good luck and if you run into problems, a good place to ask follow-up questions is on the following forum. There a few people hanging out there that are pretty dedicated to the notion of some day creating an "XML IDE" eclipse distribution, so they should be glad to help you out.
http://www.eclipse.org/forums/index.php?t=thread&frm_id=88&
I would ideally suggest you to move away from eclipse, coz there are a ton of tools (Quanta Plus IDE, Bluefish etc) that provide you with great XML editing and validation feature.
However, this forum might help you -> http://www.eclipsezone.com/eclipse/forums/t40126.html.
You can un-tick Project > Build Automatically for automatic builds not to happen and even remove the buttons with the Run and Debug functionality in order not to press them accidentally.