I am using Rhino to script an Eclipse (RCP) application. The problem is that from Javascript I only have access to classes available to the plugin that provides Rhino, and not to all the classes available to the plugin that runs the scripts.
The obvious answer would be to put Rhino in the scripting plugin, but this doesn't work because ...
Hi,
I am developing an Eclipse/Equinox based OSGI WebApplication (using embedded Jetty) and using headless PDE-Build for building the app. My build creates a zip file for Linux GTK and one for my local macosx.
This has worked well so far and I could just unzip the linux zip file on my Debian based server and run ./eclipse from the comma...
I have a product consisting of several plugins that I want to build. The endresult I want is a zipfile containing all my jar files AND the dependencies I have, i.e org.eclipse.swt.X.jar, org.eclipse.ui.Y.jar etc.
It's building and zipping ok but I only get my plugins, not the dependencies. I'm guessing there is a parameter or XML attri...
I am building a plugin for Eclipse - but as we use Maven as a standard build platform I would like to be able to build the plugin using Maven.
I have found a previous question about using Maven with Eclipse Plugins - but as it is a year old I thought it was worthwhile collecting some new answers:
http://stackoverflow.com/questions/5455...
I got some OSGi bundles in binary form that declare dependencies to bundles like "org.ietf.jgss" which are provided by Java itself. P2 detects these dependencies and when I try to install the product later using the P2 director application the installation fails since no bundle provides these packages. But if I use the P2 product build I...
Hi,
I am currently using PDE build in headless mode to build my OSGI Bundle project.
The PDE Antrunner task uses an Eclipse installation and I am just pointing it to my local Eclipse installation.
unfortunatelly my eclipse installation is about 260MB big, but I assume that a PDE build does NOT require all of those plugins in a standard...
Hi there,
We are build a huge set of plugins using ANT pde build script for features (not product).
We are using the Eclipse 3.5 version and have one plugin that uses optional dependency.
The feature including this plugin does not include the optional dependency but the optional plugin is present in the plugin folder during build.
the ...
In my eclipse plugin I have the following code:
public class MyHandler extends AbstractHandler {
@Override
public Object execute( ExecutionEvent event ) throws ExecutionException {
ISelection sel = HandlerUtil
.getActiveWorkbenchWindowChecked( event )
.getSelectionService()
.getSelecti...
Motivation
I have written an eclipse plugin that shows me a list of all files and folders with unreviewed content. When selecting a folder, I want an editor to open showing all files and subfolders that this folder contains. It has to work for versioned items, too. So I have to create the content of the editor within my plugin (no backi...
I have two plugins, say com.site.plugin.core and com.site.plugin.ui.
I'd like to separate core part from UI part, so at plugin com.site.plugin.ui I created Preferences page where I defined some preferences, which should be used by com.site.plugin.core. I check article at Eclipse site, but it is quite outdated, and linked bug also do not ...
I'm writing my own eclipse plug-in that integrates with the Eclipse Android Development Tools (ADT).
However, I'm getting a CoreException ("Project target not loaded yet.") thrown when I attempt to call IProject.build on an Android project as part of a unit test:
IProject project = importProject(...);
project.build(IncrementalProjectBu...
I need to add a pulldown button to a view's toolbar in an Eclipse plugin.
Actually buttons in the toolbar are added like that :
<extension point="org.eclipse.ui.viewActions">
<viewContribution id="..." targetId="$MyViewId$">
<action id="..."
toolbarPath="action1"
class="Class extending Action and implement...
Hi,
I have created 2 plugins, implementing an ODA driver plugin and its UI plugin for the BIRT extension to Eclipse.
My plugins both work as expected when eclipse starts up another eclipse application where I can then test the plugins I am developing. However, when I install my plugins into an Eclipse application and then start it from...
One of my Eclipse plug-ins (OSGi bundles) is supposed to contain a directory (Database Elements) of .sql files. My build.properties shows:
bin.includes = META-INF/,\
.,\
Database Elements/
(...which looks right to me.)
When I build and run from within my interactive Eclipse IDE, everything works fine: calls to ...
A qustion about Eclipse PDE development: I write a small plugin for Eclipse and have the following
* an org.eclipse.ui.texteditor.ITextEditor
* a line number
How can I automatically jump to that line and mark it? It's a pity that the API seems only to support offsets (see: ITextEditor.selectAndReveal()) within the document but no line n...
In eclipse 3.4, here is the section of my plugin.xml:
<extension point="org.eclipse.ui.views">
<view
allowMultiple="true"
class="the.full.class.name"
icon="images/icon.gif"
id="VIEWNAME"
name="View Name">
</view>
</extension>
<extension point="org.eclipse.ui.perspectiveExtensions">
<perspectiveExtension targetI...
Hello everybody,
I created an OSGi project in which one I've 2 projects :
- one plugin project : that contains my source files, my product configuration that uses my feature project and the feature org.eclipse.equinox.p2.ui.user. It means that my program is able to install new software or to update the program.
- one feature project tha...
I created an eclipse run configuration for a number of bundles. One of the bundles has a dependency to the following packages:
com.sun.mirror.apt,
com.sun.mirror.declaration,
com.sun.mirror.type,
com.sun.mirror.util
I believe these are part of the Sun Java JVM. When I add these packages as system packages to a Felix container, the bun...
I've added some functionality to the standard Eclipse "compare view" via a handler which is activated on the Compare view's popup (context) menu. One of the things that this handler does is add a marker at the selection location. However, markers are not shown in the compare view. How can I enhance the compare view to show markers? Do...
Im building a plugin in Eclipse 3.6, but I want it to be compatible with Eclipse 3.2.
I just got NoSuchMethodException, because I used some new API. is there any way to force eclipse to check if im not using too new methods?
When I created plugin i chose eclipse 3.2.
...