| Forum: Plugin Development Environment (PDE) |
|---|
| Topic: Exporting and importing source bundle |
|---|
| Exporting and importing source bundle [message #499978] |
Tue, 24 November 2009 11:06 |
Kyle Neumeier Messages: 7 Registered: July 2009 |
Junior Member |
|
|
Hi,
I want to be able to export a bundle and its source code so that another developer can simply import the bundle, view the source and edit it. Is this possible? I am having trouble figuring out exactly which options to check on the build.xml and the export wizard. n the export wizard, I check the 'export source' option. I have tried generating source bundles and including the source in the exported plugin. I have also tried packaging the plugins as individual jars.
The problem is that when I import the bundle (using the eclipse import->plugins and fragment wizard) bundles that have been exported as individual jars, the source code seems to be in a zip file. When I don't use the export as individual jar option, the source is there, but its just a normal folder called src. That is the classpath isn't set up so that I can just start modifying the source.
I'd just like to export the bundle with its source code out of one workspace and then be able to import the bundle into another workspace and be able to start modifying the bundle just like I could in the first one.
Thanks,
Kyle
|
|
|
| Topic: Working Set |
|---|
| Working Set [message #499885] |
Tue, 24 November 2009 08:18 |
Cosmin Messages: 4 Registered: October 2009 |
Junior Member |
|
|
Hello,
I would like to ask a question about creating working sets programmatically. Is there anyway to create a new working set and add projects to it?
I use a static function to create a IProject :
CustomProject.createProject("Test", new URI("file:///D:/S")); . My problem is that I need to create 3-4 of this projects and would like to group them programmatically, is there a way to do that?
|
|
|
| Topic: target definition requires javax.crypto.spec |
|---|
| target definition requires javax.crypto.spec [message #499869] |
Tue, 24 November 2009 07:44 |
Lars Fischer Messages: 12 Registered: July 2009 |
Junior Member |
|
|
Hello,
I created an update site (using eclipse 3.5.1) containing some galileo
features. Using this update site as source for a target platform
definition, I get the error message, that the bundle
"org.eclipse.equinox.security.ui" could not solve the required package
"javax.crypto.spec".
This package is not exported by any bundle, because it is contained in
the jre. But why is the target platform resolver throwing this error?
How do I solve this?
Regards,
Lars
|
|
|
| Topic: Include resources inside bundle jar |
|---|
| Include resources inside bundle jar [message #499866] |
Mon, 23 November 2009 11:23 |
|
Originally posted by: gaston.tonietti.teracode.com
Hi guys,
I have a couple of properties files in one of my packages, they must be
loaded as PropertyResourceBundle so I want them to be copied just next to
the class which needs to load them.
It is working great in development as the eclipse source folder
configuration is include (all) and exclude (none), they are copied to the
output folder so included in classpath.
But when I export the project as a bundle jar, it seems PDE is just copying
java classes and it excludes any resource placed in the source folders.
I tried checking them in "Binary Build" tree in the build editor, but when
copied it recreates the source path to put them there instead of including
them inside the classes folder.
So my question is: How can I tell PDE to copy properties files next to the
compiled classes? in the same place they are in the source folder.
Thank you so much in advance.
Gaston.
|
|
|
| Topic: How to catch delete function in launch configuration un eclipse |
|---|
| How to catch delete function in launch configuration un eclipse [message #499624] |
Mon, 23 November 2009 09:57 |
Anton Messages: 2 Registered: November 2009 |
Junior Member |
|
|
go to menu Run->Run configuration.
I need to intercept the delete function when you delete the launch configuration.
How do it?
|
|
|
| Topic: How to catch delete function in launch configuration un eclipse |
|---|
| How to catch delete function in launch configuration un eclipse [message #499621] |
Mon, 23 November 2009 09:52 |
Anton Messages: 2 Registered: November 2009 |
Junior Member |
|
|
go to menu Run->Run configuration.
I need to intercept the delete function when you delete the launch configuration.
How do it?
|
|
|
| Topic: Embed a Flash animation within Eclipse 3.4 RCP Help |
|---|
| Embed a Flash animation within Eclipse 3.4 RCP Help [message #499343] |
Fri, 20 November 2009 19:24 |
ali Messages: 8 Registered: July 2009 |
Junior Member |
|
|
Hello all,
I'm wanting to enhance my Eclipse 3.4 RCP Help using Flash "screen-capture" movies that demo how to use my RCP application.
I'm assuming I'll need additional libraries (war, jar etc) to be included somewhere (perhaps within the embedded Jetty config), but I'm not sure where. I'm using an embedded JRE, so I do have control over what is added.
Has anyone done this? Any help would be very much appreciated.
Additional note:
I'm guessing a solution may involve adding Flash Player libraries to Jetty. Has anyone out there done this? I have experience with doing this type of thing with Tomcat and other servers, but I'm not sure how to configure the hidden Eclipse RCP instance of Jetty to include additional functionality.
I'd love to solve this because I'd be able to include voiced training movies within my Eclipse 3.4 RCP Help.
Ali.
|
|
|
| Topic: How to add an "extension" in the extensions tab to a plugin programmatically? |
|---|
| How to add an "extension" in the extensions tab to a plugin programmatically? [message #499205] |
Fri, 20 November 2009 07:31 |
sudhir Messages: 3 Registered: September 2009 |
Junior Member |
|
|
How to add an "extension" in the extensions tab to a plugin programmatically?
I used the code
IPluginExtension extension = fModel.getPluginFactory().createExtension();
extension.setId("");
extension.setInTheModel(false);
extension.setName("");
extension.setPoint("com.axway.xtp.test.core.componentClass");
fModel.getPluginBase().add(extension);
but it is not showing up, and in the debug mode its schema is showing as "NULL".
please help.
|
|
|
| Topic: Issues about LabelProvider and TreeViewer |
|---|
Issues about LabelProvider and TreeViewer [message #499162] |
Fri, 20 November 2009 03:35 |
Javier Messages: 1 Registered: November 2009 |
Junior Member |
|
|
Hi Folks:
Firts of all, thanks for you help. I talk you about my problem:
I'm developing a plug-in to parser a file and view the results as a tree, using a TreeViewer. For each leaf, I use a LabelProvider with a text and icon. I have a class that extends LabelProvider and here, I've implemented methods getText() and getImage(). I see, the icon is always in the first position and then the text. Is there any way to change that? I'd like to put the text first and icon, next.
If that is not possible, is there any other way to paint a tree, putting text and icon? Using another class instead of TreeViewer? I hope I've explained well.
Your comments will be well received.
Thank you very much.
|
|
|
| Topic: Compare *selected sections* of code across different files |
|---|
| Compare *selected sections* of code across different files [message #499075] |
Thu, 19 November 2009 12:51 |
|
Originally posted by: spayne.s4isystems.com
I'm not sure if this is the appropriate group to ask this, but please
let me know if it isn't and I will post this question to the write place:
I've replicated a bunch of code in a bunch of very different classes,
but I was wondering if it is possible to do a code compare across 2
different files but compare only the areas of text I select in those 2
files. I want to notice what, if any, subtle differences between the
code sections there are before I attempt to extract methods and create a
class to condense the code. Is this possible without copying the code
sections to 2 new files and then running a compare against them?
Thanks again for all your help!
|
|
|
| Topic: Eclipse plug-in support for GB18030 strings (4 byte characters) in chinese locale on windows |
|---|
| Eclipse plug-in support for GB18030 strings (4 byte characters) in chinese locale on windows [message #498898] |
Thu, 19 November 2009 00:17 |
Rajesh Messages: 1 Registered: November 2009 |
Junior Member |
|
|
Eclipse plug-in unable to find class files if class files exists in a path which has chinese GB18030 4 byte characters.
The java program is invoked through eclipse plug-in but plug-in fails to invoke the java class its unable to find the java class due to GB18030 string.
Steps to recreate the problem:
1. create a sample java program.
2. copy the java class file into a location path contains GB18030 chinese string.
3. Invoke java class through eclipse plug-in.
4. it throws error: cannot find class definition.
Is there any workaround to resolve the GB18030 strings (4 byte characters) in chinese locale?
Thank you
Raj
[Updated on: Thu, 19 November 2009 05:07]
|
|
|
| Topic: ToggleState default value |
|---|
| ToggleState default value [message #498844] |
Wed, 18 November 2009 13:52 |
Joel Messages: 6 Registered: October 2009 |
Junior Member |
|
|
My command has a default value, but it seems to be ignored whether true or false. Specifically, in the handler's execute(), event.getCommand().getState(ID).getValue() always returns false the first time (before I toggle its state).
I'm using Eclipse 3.4. Here is my command extension:
| Quote: |
<extension
point="org.eclipse.ui.commands">
<command
defaultHandler="mystuff.command.DisplayZonesHandler"
description="Toggles the displaying of the video zones"
id="mystuff.command.displayzones"
name="Display Zones">
<state
id="mystuff.command.displayzones.state">
<class class="org.eclipse.jface.commands.ToggleState">
<parameter name="default" value="false">
</parameter>
</class>
</state>
</command>
|
Thanks in advance.
<Edit>
Still no luck, but I set the actual state value in the handler's constructor, but the UI element does not reflect the change.
ICommandService service = (ICommandService) PlatformUI.getWorkbench().getService(ICommandService.class);
State state = service.getCommand("com.p21csi.fps.vision.zone.ui.command.displayzones")
.getState(STATE_ID);
state.setValue(true);
service.refreshElements("com.p21csi.fps.vision.zone.ui.command.displayzones", null);
[Updated on: Wed, 18 November 2009 14:49]
|
|
|
| Topic: Accessing the menu manager |
|---|
| Accessing the menu manager [message #498023] |
Fri, 13 November 2009 12:21 |
dwain Messages: 9 Registered: October 2009 |
Junior Member |
|
|
I need to be able to update the menus when an editor gains focus. I am able to do that with the following discouraged access in the editors setFocus() method.
IWorkbenchWindow window = PlatformUI.getWorkbench().getActiveWorkbenchWindow();
if(window instanceof WorkbenchWindow)
{
MenuManager menuManager = ((WorkbenchWindow)window).getMenuManager();
menuManager.update(IAction.TEXT);
}
However I don't like using the discouraged access, so I am hoping that there is a better way to access the MenuManager or that someone might be able to show me how to do it in the extension manager.
I need to have some commands disabled depending on a variable that is in the editor input. Right now I have some definitions that disable them if it is the wrong type of editor, but not sure how I can get at a variable that is in the editors input in that way. Thank you for the help.
Dwain
[Updated on: Fri, 13 November 2009 12:27]
|
|
|
| Topic: MBS tool definition: How to put output files in same directory as input? |
|---|
| MBS tool definition: How to put output files in same directory as input? [message #497575] |
Fri, 13 November 2009 04:13 |
Daniel Schrepfer Messages: 1 Registered: November 2009 |
Junior Member |
|
|
Hello,
I made a custom toolchain for cdt and everything works fine. The only thing I'm not able to do is to tell one (and only one) of the involved tools to put its outputs in a specific directory (it has to be the directory of the input files of the tool) and not the standard Release- und Debug-Folders.
Am I right in thinking the correct starting point for such a topic is the outputType definition of the tool?
I tried to use the lines "outputPrefix", "outputNames", "namePattern" and even wrote my own "nameProvider", but nothing worked.
The outputPrefix "../" only works for projects without any subfolders with source files.
Most of the MBS Build Macros i found and tried to use with "outputNames" don't seem to work or produce an error in eclipse.
What would you suggest to do?
Thank you very much, and please excuse my poor english...
Daniel
|
|
|
| Topic: Manifest Editor and Handler/Command TreeNode Labels in ExtensionPage |
|---|
Manifest Editor and Handler/Command TreeNode Labels in ExtensionPage [message #497536] |
Fri, 13 November 2009 03:37 |
Adam Lucarz Messages: 510 Registered: July 2009 |
Senior Member |
|
|
Hello,
i use the "new" Eclipse Command Framework for a while now. The framework is very satisfying, but the handling in the plug-in manifest editor is really uncomfortable. My problems/points are:
1. org.eclipse.ui.handlers extensions have no labels in the extension tree. So I see always something like:
org.eclipse.ui.handlers
-> (handler)
-> (handler)
-> (handler)
-> (handler)
-> (handler)
-> (handler)
-> (handler)
...
So when I seek for a special handler, I have always to switch to the xml representation or click each handler in order to show the properties in the details view. *arg*
2. Similar behavior with org.eclipse.ui.menu and commands.
I know the possibility to define a label for a menu contribution, but I see a big advantage in defining a default label and default icon at one place (for a command) in the application and reusing the command in many places.
Do I overlook something...does anyone else have same annoying moments while using the command framework? How do you handle this?
I found nothing about this uncomfortable behavior in the newsgroups or bugzilla.
Greetings
Adam
|
|
|
| Topic: importing plugin does not automatically add classpath entry for generated jar |
|---|
| importing plugin does not automatically add classpath entry for generated jar [message #497161] |
Thu, 12 November 2009 11:05 |
KJ Messages: 3 Registered: November 2009 |
Junior Member |
|
|
Hi,
I created a plugin which I exported using the export as a plugin wizard. When I now import this plugin into another workspace using the import wizard again, the .classpath file of the created project does not contain an entry for the jar the export-wizards creates (pluginABC_2.0.9.jar). In the new workspace, I want to create a new fragment which extends the imported plugin. When I remove and add the generated jar (pluginABC_2.0.9.jar) by using the manifest editor, the classpath entry is added nicely though and everything works fine. However, I would like the classpath to be generated correctly after every export / import.
I expect this to be an configuration issue, I just don't see which one. What am I doing wrong?
Cheers,
KJ
My MANIFEST.MF:
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: PluginABC
Bundle-SymbolicName: PluginABC;singleton:=true
Bundle-Version: 2.0.9
Bundle-Activator: pluginabc.Activator
Require-Bundle: org.eclipse.ui,
org.eclipse.core.runtime,
org.eclipse.ui.views;bundle-version="3.3.0",
org.eclipse.gef;bundle-version="3.4.1",
de.byteholder.geoclipse;bundle-version="0.1.4",
de.byteholder.geoclipse.gpx;bundle-version="0.0.2",
de.byteholder.geoclipse.libraries;bundle-version="0.1.4",
de.byteholder.geoclipse.map;bundle-version="0.0.2",
de.byteholder.geoclipse.tilefactory.osm;bundle-version="0.1.4 ",
de.byteholder.geoclipse.tilefactory.osm.cycle;bundle-version = "0.1.4",
de.byteholder.geoclipse.tilefactory.osm.tile.at.home;bundle- version= "0.1.4",
de.byteholder.gpx;bundle-version="0.1.4"
Bundle-ActivationPolicy: lazy
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Bundle-ClassPath:
jar/geotransform.jar,
jar/sax2r2.jar,
jar/yguard.jar,
.
Export-Package:
...
...
...
build.properties:
bin.includes = icons/,\
META-INF/,\
.,\
jar/,\
build.properties,\
PluginABC.product,\
plugin.xml,\
.project
bin.excludes = jar/xerces.jar
source.. = src/,\
<more source folders (yeah, kinda ugly)>
|
|
|
| Topic: Looking for guidelines in creating plug-in for unit tests |
|---|
| Looking for guidelines in creating plug-in for unit tests [message #496974] |
Wed, 11 November 2009 20:19 |
No Real Name Messages: 1 Registered: November 2009 |
Junior Member |
|
|
I would like to create a plug-in for creating unit tests for existing classes.
The plug-in should be similar to the "JUnit" plug in, in the sense that it should enable selecting a class, selecting the methods to generate tests for, and create a new class with the relevant tests.
The target platform is running J2ME, so using the existing JUnit framework (and plug-in) would not work.
Modifying the existing plug-in would probably the simplest way.
Can someone please guide me to relevant documentation, or (even better) - to a working code?
Thanks
|
|
|
| Topic: problem triggering checkstyle jar |
|---|
| problem triggering checkstyle jar [message #496530] |
Tue, 10 November 2009 08:07 |
silent_Thunder Messages: 1 Registered: November 2009 |
Junior Member |
|
|
Hi,
I am facing a problem while integarting checkstyle jar into my plugin. When iam executing the plugin during eclipse runtime environment it works perfectly . But when i execute it after exporting it as a plugin, my application kind of gets stopped with out proceeding. I had given logs too which did not show of any exception trace... I have no clue where i have gone wrong. Please help me in resolving this issue 
Thanks and Regards,
James
|
|
|
| Topic: Adding annotation model to default text editor |
|---|
| Adding annotation model to default text editor [message #496527] |
Tue, 10 November 2009 07:42 |
No Real Name Messages: 1 Registered: November 2009 |
Junior Member |
|
|
Hi,
this drives me crazy. My goal is to write a plugin that highlights words at the cursor in any file (i.e. plain text files too, not just Java or C++). To achieve this, I would like add an annotation model to the default text editor, without creating my own editor. I spent several days to find solutions without success. Here are my questions:
- how can I add my own custom annotation model to a TextEditor instance ? I would try to use IAnnotationModelExtension, but it is not clear at all what 'piggybacking of annotations' mean. I know what piggybacking means, I just don't see the high level picture here: who are the main players ? My guess would be that I can associate more than one annotation model with a document. Is this correct ?
- what is the right hook point to add and remove custom annotation models to documents (at runtime) ? So if a document is opened, I get a call so that I can set my annotation model on the document.
- when I ask for the annotation model of a text document, I get null. How come ? Without a model, I can't use the IAnnotationModelExtension methods. Or should I check if the annotation model is null, then I can add my own model ? I can't find any method doing so either.
Thanks for any help,
McHalls
|
|
|
| Topic: Some inter-plug-in dependencies have not been satisfied |
|---|
| Some inter-plug-in dependencies have not been satisfied [message #494899] |
Tue, 03 November 2009 02:34 |
Matthias Kohles Messages: 33 Registered: July 2009 |
Member |
|
|
Here we go again,
well, again i have to bother you with my maybe stupid questions 
Everytime the eclipse.buildscript task is running, i received those dependencies issues. The build is running fine but i wonder what those messages mean? I checked my host eclipse and my target eclipse, and the plugins mentioned in those messages are available.
Messages:
[java] generateScript:
[java] [eclipse.buildScript] Some inter-plug-in dependencies have not been satisfied.
[java] [eclipse.buildScript] Bundle com.myplugin.sdk:
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.pde.core_0.0.0.
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.ant.core_0.0.0.
[java] [eclipse.buildScript] Bundle com.myplugin.sdk.nl.core:
[java] [eclipse.buildScript] Another singleton version selected: com.myplugin.sdk.nl.core_1.0.0
[java] [eclipse.buildScript] Bundle com.myplugin.sdk.help:
[java] [eclipse.buildScript] Another singleton version selected: com.myplugin.sdk.help_1.0.0
[java] [eclipse.buildScript] Bundle com.myplugin.sdk:
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.pde.core_0.0.0.
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.ant.core_0.0.0.
[java] [eclipse.buildScript] Bundle org.eclipse.emf.nl_de:
[java] [eclipse.buildScript] Host plug-in org.eclipse.emf_0.0.0 has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.emf.nl_es:
[java] [eclipse.buildScript] Host plug-in org.eclipse.emf_0.0.0 has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.emf.nl_fr:
[java] [eclipse.buildScript] Host plug-in org.eclipse.emf_0.0.0 has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.emf.nl_it:
[java] [eclipse.buildScript] Host plug-in org.eclipse.emf_0.0.0 has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.emf.nl_nl:
[java] [eclipse.buildScript] Host plug-in org.eclipse.emf_0.0.0 has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.emf.nl_no:
[java] [eclipse.buildScript] Host plug-in org.eclipse.emf_0.0.0 has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.emf.nl_pt_BR:
[java] [eclipse.buildScript] Host plug-in org.eclipse.emf_0.0.0 has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.equinox.nl_de:
[java] [eclipse.buildScript] Host plug-in org.eclipse.equinox_0.0.0 has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.equinox.nl_es:
[java] [eclipse.buildScript] Host plug-in org.eclipse.equinox_0.0.0 has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.equinox.nl_fr:
[java] [eclipse.buildScript] Host plug-in org.eclipse.equinox_0.0.0 has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.equinox.nl_nl:
[java] [eclipse.buildScript] Host plug-in org.eclipse.equinox_0.0.0 has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.equinox.nl_no:
[java] [eclipse.buildScript] Host plug-in org.eclipse.equinox_0.0.0 has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.equinox.nl_pt_BR:
[java] [eclipse.buildScript] Host plug-in org.eclipse.equinox_0.0.0 has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.jdt.junit.nl_de:
[java] [eclipse.buildScript] Host plug-in org.eclipse.jdt.junit_0.0.0 has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.jdt.junit.nl_es:
[java] [eclipse.buildScript] Host plug-in org.eclipse.jdt.junit_0.0.0 has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.jdt.junit.nl_fr:
[java] [eclipse.buildScript] Host plug-in org.eclipse.jdt.junit_0.0.0 has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.jdt.junit.nl_nl:
[java] [eclipse.buildScript] Host plug-in org.eclipse.jdt.junit_0.0.0 has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.jdt.junit.nl_no:
[java] [eclipse.buildScript] Host plug-in org.eclipse.jdt.junit_0.0.0 has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.jdt.junit.nl_pt_BR:
[java] [eclipse.buildScript] Host plug-in org.eclipse.jdt.junit_0.0.0 has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.jdt.junit:
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.debug.core_[3.3.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.debug.ui_[3.3.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.jdt.core_[3.3.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.jdt.ui_[3.3.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.jdt.launching_[3.2.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.jdt.debug.ui_[3.2.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.compare_[3.3.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.ltk.core.refactoring_[3.3.0,4.0.0).
[java] [eclipse.buildScript] Bundle org.eclipse.jdt.launching.macosx.nl_de:
[java] [eclipse.buildScript] Host plug-in org.eclipse.jdt.launching.macosx_0.0.0 has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.jdt.launching.macosx.nl_es:
[java] [eclipse.buildScript] Host plug-in org.eclipse.jdt.launching.macosx_0.0.0 has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.jdt.launching.macosx.nl_fr:
[java] [eclipse.buildScript] Host plug-in org.eclipse.jdt.launching.macosx_0.0.0 has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.jdt.launching.macosx.nl_nl:
[java] [eclipse.buildScript] Host plug-in org.eclipse.jdt.launching.macosx_0.0.0 has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.jdt.launching.macosx.nl_no:
[java] [eclipse.buildScript] Host plug-in org.eclipse.jdt.launching.macosx_0.0.0 has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.jdt.launching.macosx.nl_pt_BR:
[java] [eclipse.buildScript] Host plug-in org.eclipse.jdt.launching.macosx_0.0.0 has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.platform.source.win32.win32.x86:
[java] [eclipse.buildScript] Host plug-in org.eclipse.platform.source_3.3.3.r33x_r20080129-_19UEl7Ezk_gXF1kouft has not been found.
There are a few entries that are language packs (emf, jdt.junit...), and they are located in my eclipse target platform but with different versioning (they have 3.4.0 version numbers, not 0.0.0 as the messages says). Whats wrong with that?
Then some of my plugins are missing the pde_core, but there is no dependency entry in their feature.xml for pde.core???
And what thas "another singleton version..." mean? i googled for it but didn't find anything which made me understand that.
best regards and big thanks for helping me
Matthias
[Updated on: Tue, 03 November 2009 02:35]
|
|
|
| Topic: Imported JUnit package is not resolved |
|---|
| Imported JUnit package is not resolved [message #494878] |
Mon, 02 November 2009 22:47 |
Setya Messages: 368 Registered: July 2009 |
Senior Member |
|
|
Hi all,
I added junit.framework package into 'Imported Packages' section of PDE, but our test classes were unable to resolve it.
Later I found out that the JUnit plugin was actually packaged as jar, once I exploded the jar into folder it was resolveable by our test classes.
Is this a known limitation ?
Any comment would be greatly appreciated.
Best Regards,
Setya
|
|
|
| Topic: Extensions Details not visible |
|---|
| Extensions Details not visible [message #493853] |
Wed, 28 October 2009 05:55 |
Christian Eugster Messages: 11 Registered: July 2009 |
Junior Member |
|
|
Hi,
I admit: I opened an eclipse workspace used by version 3.2 with Galileo. Working with extensions in the plugin.xml extensions editor shows, that using the contextmenu on an list entry to add a new subentry only shows Generic at new...
While in another workspace the same contextmenu (for example when adding a subentry to org.eclipse.ui.commands) I have several entries at new... I can choose from.
Why is this strange behaviour? What have I to do, to get the full functionality?
|
|
|
| Topic: Extending PDE? |
|---|
| Extending PDE? [message #493761] |
Tue, 27 October 2009 17:49 |
No Real Name Messages: 8 Registered: September 2009 |
Junior Member |
|
|
Im interested in extending PDE for my own purposes but I have no clue where to start reading. Basically, my goal is to have a separate plugin.xml (called something else of course) which will internally be tacked onto the end and/or start of the original plugin.xml during the usage of plugin.xml.
This file will be a clojure file which, when evaluated, will return regular xml.
Is this possible and where would you recommend I start reading?
|
|
|
| Topic: Override Variables Views on Debug Perspective |
|---|
| Override Variables Views on Debug Perspective [message #493549] |
Mon, 26 October 2009 15:06 |
Cleber Souza Messages: 1 Registered: October 2009 |
Junior Member |
|
|
Hi
In the process of debugging had to build MY view of
variables. (a characteristic). I would like to help. What should I do to replace the view of the variables for my debug view? I want you when you run the debug esclipse be only my view of variables. The existing view I
want it closed.
tks
|
|
|
| Topic: Programmatically adding a plug-in dependency |
|---|
| Programmatically adding a plug-in dependency [message #493431] |
Mon, 26 October 2009 05:20 |
Matt R Messages: 1 Registered: October 2009 |
Junior Member |
|
|
I'm trying to programmatically add a plug-in dependency to a plug-in project. I tried the following:
IPluginModelBase pluginModelBase = PluginRegistry.findModel(project);
IPluginBase pluginBase = pluginModelBase.getPluginBase();
IPluginImport newImport = pluginModelBase.getPluginFactory().createImport();
newImport.setId("x.y.z");
pluginBase.add(newImport);
However, it complains with an "org.eclipse.core.runtime.CoreException: Illegal attempt to change read-only plug-in manifest model". What's the right way to do this?
|
|
|
| Topic: Modifying other Plugins |
|---|
| Modifying other Plugins [message #493211] |
Fri, 23 October 2009 12:07 |
No Real Name Messages: 8 Registered: September 2009 |
Junior Member |
|
|
|
I was wondering what the current practice was in slightly configuring external plugins and exposing their interface to other plugins. For example, when i open a certain type of folder which uses an editor I would like to change what port it connects to. So i guess my question is how are plugins supposed to expose an interface to other plugins?
|
|
|
| Topic: Undefined context exception when activating a plug-in |
|---|
| Undefined context exception when activating a plug-in [message #493216] |
Fri, 23 October 2009 12:04 |
Michael Matzen Messages: 5 Registered: July 2009 |
Junior Member |
|
|
Hi all,
when i am loading a generated plug-in (with the extensionRegistry) i am
receiving a lot of 'Undefined context while filtering dialg/window
contexts' exception.
Here's a part of the stack trace:
org.eclipse.core.commands.common.NotDefinedException: Cannot get the
parent identifier from an undefined context.
org.eclipse.mylyn.context.ui.actionSet
at org.eclipse.core.commands.contexts.Context.getParentId(Conte xt.java:201)
at
org.eclipse.jface.bindings.BindingManager.createFilteredCont extTreeFor(BindingManager.java:825)
at
org.eclipse.jface.bindings.BindingManager.recomputeBindings( BindingManager.java:1721)
There are a few bugzilla tickets about this topic and i think they are
thrown because i am loading the plug-in when eclipse is already running
so the bindings are active when the BindingManager calls 'undefine'
while recomputing the bindings.
Is there anything i can do about it ?
Regards,
Michael
|
|
|
| Topic: Hiding incompatible features in update site? |
|---|
| Hiding incompatible features in update site? [message #493206] |
Fri, 23 October 2009 11:46 |
Richard Bone Messages: 9 Registered: July 2009 |
Junior Member |
|
|
Hi,
I have an update site that packages a few different features. One of these features requires the presence of another feature that I don't package, called foo feature.
The update manager correctly detects my unsatisfied dependency to the foo feature and doesn't let me install it, but I'm curious, is there a way to make it hide the incompatible feature altogether?
Thanks,
Richard
|
|
|
| Topic: Modify the environment option |
|---|
| Modify the environment option [message #492901] |
Thu, 22 October 2009 06:10 |
No Real Name Messages: 1 Registered: October 2009 |
Junior Member |
|
|
Hi,
I need to modify eclipse options (in particular reload the target platform) by a wizard I created to setting up a particular plugin structure.
Is it possible?
Thank You
|
|
|
| Topic: Eclipse WorkbenchStatusDialogManager |
|---|
Eclipse WorkbenchStatusDialogManager [message #492836] |
Wed, 21 October 2009 19:36 |
dwain Messages: 9 Registered: October 2009 |
Junior Member |
|
|
I want to setSupportAreaProvider(AbstractStatusAreaProvider) to my own AbstractStatusAreaProvider but am not sure where or how to get to the WorkbenchStatusDialogManager? Anyone done this before and can help out?
Thanks,
Dwain
|
|
|
| Topic: trouble disabling the 'Search' button on the eclipse SearchDialog |
|---|
| trouble disabling the 'Search' button on the eclipse SearchDialog [message #492782] |
Wed, 21 October 2009 12:55 |
|
Originally posted by: josh.odowd.vanns.net
Greetings:
I have registered an ISearchPage in my plugin to do a custom search. I have
taken advantage of storing the ISearchPageContainer via the setContainer()
implementation. It is my understanding from the javadoc for this object
that I can use the setPerformActionEnabled(boolean) method from the
container to control the button on the SearchDialog. I have tried calling
container.setPerformActionEnabled from the setContainer() and from the
createControl() methods of my ISearchPage but to no avail, the Search
button remains... Where should I call the enabled method from to initially
disable the Search button on the SearchDialog??
Many Thanks for your time!
Josh O'Dowd
|
|
|
| Topic: Property page not visible on IProject level |
|---|
| Property page not visible on IProject level [message #491887] |
Fri, 16 October 2009 08:03 |
No Real Name Messages: 1 Registered: October 2009 |
Junior Member |
|
|
Hi
I implemented a PDE property page which should be visible in my Resource Navigator and on the 'Project->Properties' context menu. The dialog itself works, and it is registered as extension 'org.eclipse.ui.propertyPages'.
The problem is that it is visible as long as the objectClass is org.eclipse.core.resources.IFile - but not so if I set it to org.eclipse.core.resources.IProject - which is what I need.
The project resources within the resource navigator view are recognized as project since the standard property dialog on the resource says "type : project"
I work with eclipse 3.5.1, but the project I work on was originally created on eclipse 3.0
Thanks for any help in advance
|
|
|
| Topic: Access UI properties from extension |
|---|
| Access UI properties from extension [message #491882] |
Fri, 16 October 2009 07:33 |
Pablo Messages: 1 Registered: October 2009 |
Junior Member |
|
|
Hi,
I'm not sure if this is the right place for my post but here it goes.
I am quite new to eclipse Plugins and I'm a bit lost.
I am working (for my university project) in a way to do these three things in any view of the active :
- Listen to Even generated (i.e. project updated)
- Trigger event generated by user (i.e. set selected)
- Read contents (i.e get the contents of the editor)
Is there any way I can accesses these in the UI using a Plugin or do I have to write my own implementation of the targeted plugin (i.e. JDT)
Thanks,
Pablo.
|
|
|
| Topic: Create new dynamic help for existing Text Editor |
|---|
| Create new dynamic help for existing Text Editor [message #491665] |
Thu, 15 October 2009 08:35 |
No Real Name Messages: 2 Registered: October 2009 |
Junior Member |
|
|
Hi,
My situation is the following: I am a Flash/Flex developer and I use Eclipse + FDT to develop applications.
Just as Java libraries have JavaDoc files, ActionScript libraries have ASDoc files. What I want to do, is link the existing AS editor, provided by the FDT plugin, to display the helpfiles of custom imported ASDocs.
I am able to convert the ASDoc files to a toc.xml file and I'm even able to add a the files as a static book to the 'Help contents panel'. As I've said before: I want to take it one step further: When a user selects a certain class/method/keyword in the editor, I want the normal Help panel (under Related Topics) to give a link to the right documentation. Just like this, but with my own toc.xml:

Now, is there an easy way to do this? And with easy I mean: just a plugin.xml file with the right content? If not, does anyone have a good tutorial for writing my own plugin that I can link to the editor and display my own search results?
Thanks for reading!
Jeroen
|
|
|
| Topic: OS-specific Eclipse features in update site project |
|---|
| OS-specific Eclipse features in update site project [message #491615] |
Thu, 15 October 2009 05:24 |
Peter Saunders Messages: 15 Registered: July 2009 |
Junior Member |
|
|
Hi
I have two Eclipse feature projects, one is specific to Windows, one is specific to Linux. I would like to create a single update site project which I can build on Linux but provides both features. I would like end users of the site to see only the feature that is relevant to their own operating system. I am using Eclipse Galileo SR1 (version 3.5.1).
If I specify os=win32 for a specific feature in feature.xml then the feature is not included in the update site when building on Linux.
If I specify os=win32 for a specific feature in site.xml then the feature _is_ included in the update site but the feature is visible by end users of the update site regardless of their operating system. It is not clear to me what difference the use of os=win32 in site.xml is making.
Is it possible to achieve my goal or will I need to create separate update sites for Windows users and Linux users?
Thanks
Peter Saunders
|
|
|
| Topic: Listener for Popupmenu command |
|---|
| Listener for Popupmenu command [message #491363] |
Wed, 14 October 2009 06:51 |
lancel lau Messages: 21 Registered: July 2009 |
Junior Member |
|
|
HI,
i am developing an Eclipse plugin. what i want to do is: wenn i right click a file in the Navigator view and choose a command in the showing popupmenu, a popup window will be shown before the execution of this command. i can not figure out which listener should i use and to which object should i add this listener. Action or command listener? and which package of the original Eclipse has done these things? can anybody help me?
regards
|
|
|
| Topic: PDE-SVN Build |
|---|
| PDE-SVN Build [message #491148] |
Tue, 13 October 2009 09:19 |
Michael Hei Messages: 13 Registered: July 2009 |
Junior Member |
|
|
Hi,
We am using PDE headless build together with the SVN plug-in. Is it possible to set a property that a specific revision is taken instead of the HEAD revision?
Currently we face the problem that we have multiple build that depend on each other and we want to force that all builds take the same revision from the repository instead of the latest.
Best Regards,
Michael
|
|
|
| Topic: Update Site Creation Automation |
|---|
| Update Site Creation Automation [message #491123] |
Tue, 13 October 2009 08:10 |
michal Messages: 1 Registered: October 2009 |
Junior Member |
|
|
Hi,
I've developed a plug in, and created a feature and an update site projects inside eclipse to publish it.
What i am looking for, is a way to automate the process of creating my update site during our automatic build process through a command line rather that manually throught the UI of the update site project.
It seems to me that large projects must use an automated process, and that it should be quite straightforward, but didn't find any simple reference on how to do it in the web.
Thank a lot in advance!
Michal.
|
|
|
| Topic: PDE build that uses pre-compiled artifacts |
|---|
| PDE build that uses pre-compiled artifacts [message #490760] |
Sat, 10 October 2009 06:24 |
Peter Kullmann Messages: 65 Registered: July 2009 |
Member |
|
|
Hi
First of all I would like to congratulate the PDE and p2 teams for the
great enhancements in PDE build 3.5. I am now able to build by just
giving my target as some p2 repositories instead of having a huge flat
set of plugins.
So here is my question: We have some components that are reused in
different products. These components are being built by our cruise
control system and the results are placed into a p2 repository. When
building the final product it would be nice to use the pre-compiled
artifacts instead of building them again. In order to make this happen I
added the repository to the build repositories (ie the new kind of
target platform) but PDE build is still fetching source from cvs and is
not using the pre-compiled plugins (see for example the generated
build.xml in such a plugin). I suspect that this comes from the fact
that these features and plugins have entries in the map files. Am I
doing something wrong? (I could supply more details if necessary)
Another question: If using of pre-compiled artifacts in this sense is
possible, what would be the best way to go for integration and release
builds? Nightly-builds that use the HEAD revisions of all constituents
can also use the newest artifacts from the repository but for the other
kinds of builds one usually uses maps that select specific revisions
from cvs. There should be an alternitve so that specific pre-compiled
versions could be fetched from a p2 repository. I'm aware of the "p2IU"
kind of map entry which allows to get a specific version from a p2 repo.
For my purpose it doesn't work since I'm using the same map for the
build of the reused component on the one side and the final product on
the other.
Thanks for any ideas
Peter
|
|
|
| Topic: problems with root.permissions |
|---|
| problems with root.permissions [message #490460] |
Thu, 08 October 2009 13:40 |
Ren Messages: 1 Registered: July 2009 |
Junior Member |
|
|
hi there,
I've created a feature which contains a plugin. this plugin contains a bin directory that contains script files. How can I set the permissions to files in that directory to e.g. 755 (executable). I added the following line to my build.properties which should solve my problem:
root.permissions.755=../../plugins/org.myplugin_0.1.0/bin/*
but after installing the feature via update site, the permissions to the files are not set. I'm testing on macos and my eclipse (galileo) is located in /Applications. How can I achieve my goals to set the file permissions correctly?
regards,
René
|
|
|