eclipse-pde

Eclipse v4.5 without delta-pack: How to perform a multiplatform headless PDE build?

我怕爱的太早我们不能终老 提交于 2019-12-19 02:56:07
问题 Now that eclipse 4.5 is out and the eclipse team decided to not build the so-called "delta-pack" anymore, I don'tknow how to perform a PDE headless build with ant.. Official PDE build documentation here http://help.eclipse.org/mars/index.jsp?nav=%2F4_2_0 states that variable "baseLocation" should point to "the location of an eclipse install containing all the pre-built features and plug-ins that your product requires in features/ and plugins/ subdirectories" With v4.4, it was easy, this

Want to open a eclipse xml file in code and navigate to a specific line number with reference to its IFile

我的未来我决定 提交于 2019-12-18 09:36:54
问题 I have a reference to an xml file in eclipse IDE through its IFile instance. I know want to add an action on my view that opens the file in the xml editor and navigate to a specific line number. Anyone have any ideas on how to go about this? 回答1: Assuming you know the file's URL: IWorkbenchPage page = activeWorkbenchPage(); if (page == null) { throw new RuntimeException(); } IFile file; IFile[] files = ResourcesPlugin.getWorkspace().getRoot() .findFilesForLocationURI(url.toURI()); file =

In RCP Eclipse(Neon) Development, how to enable a created perspective

余生颓废 提交于 2019-12-13 22:05:08
问题 I have created the Perceptive Stack and added 2 perspective in Application.e4xmi. Then i have created 2 perspective class in my package and connected them via class URI. Now i am new to rcp development and I want to invoke one of the perspective. First i want to enable the toolbar of perspective of eclipse(as i am willing to extend and use the perspective feature of eclipse). (refer image below) Then I want to see only my perspectives in in the perspective menu. and (Refer image below) My

How to set up Eclipse PDE/Build with Indigo?

半城伤御伤魂 提交于 2019-12-13 13:48:12
问题 In my project I use PDE/Build to build my RCP application on a remote server in Hudson. The current version is a package based on Eclipse Galileo and it works fine both as a builder application and as a target platform. Now I want to upgrade it to Indigo and I need some help here. First, the old method of unpacking number of zips to form a target platform does not work. (I used Platform Runtime Binary, Delta pack, PDE Runtime Binary and JDT Runtime Binary - a set that I came up with that can

What do the PDE icons in Eclipse mean?

被刻印的时光 ゝ 提交于 2019-12-12 06:25:26
问题 Following the question "What do the icons in Eclipse mean?" that has an excellent answer I hope to find what all the icons and icon decorations of the "Plug-ins" and "Plug-ins Dependencies" views of the PDE 回答1: I can fill in most of those: Main Icons : Plugin : Fragment Overlays : Re-exported by parent plugin : Optional import : Exists in the target platform (not the workspace) 来源: https://stackoverflow.com/questions/17277288/what-do-the-pde-icons-in-eclipse-mean

Eclipse AST not changing class files when changing TypeDeclaration

家住魔仙堡 提交于 2019-12-12 04:34:53
问题 I am trying to edit several Java classes with the Java AST. But my changes wont show in the Java class files. What specifically do I want to do? I want to take an IPackageFragment and visit all the ICompilationUnit s. For every declared class I want to set the super class to a specific class (using the qualified name of the super class, because it is an Xtend class). I also tried applying the edits via the Document class. For example: A class main.model.someClass should inherit from wrappers

How to differentiate between build configurations in Eclipse (C) project template to setup build cfg sepcific settings?

喜夏-厌秋 提交于 2019-12-12 03:26:00
问题 I'm trying to play with Eclipse (C) project template. I found this very descriptive answer of how to work with Eclipse project template from @Jonah Graham and went through Eclipse documentation - How to add project templates to CDT I'm able to create the project template and setup some settings by "SetMBSStringOptionValue" <!-- Set TMP setting by adding textual build settings --> <process type="org.eclipse.cdt.managedbuilder.core.SetMBSStringOptionValue"> <simple name="projectName" value="$

How to display an custom editor inside a form page?

删除回忆录丶 提交于 2019-12-12 01:52:16
问题 Is it possible to display or embed a custom editor inside a form page(form toolkit)? I have created a eclipse plugin where i need to embed a custom editor inside a multi - page form editor. Is it possible? If possible, How? Am a newbie in eclipse plugin, This question may look easy for you people. Please help with this. I have searched a lot in internet but i couldn't find any perfect solution. Updated : 来源: https://stackoverflow.com/questions/27242139/how-to-display-an-custom-editor-inside-a

org.osgi.framework.BundleException: The activator org.eclipse.ui.internal.WorkbenchPlugin for bundle org.eclipse.ui.workbench is invalid

做~自己de王妃 提交于 2019-12-11 17:37:48
问题 org.osgi.framework.BundleException: The activator org.eclipse.ui.internal.WorkbenchPlugin for bundle org.eclipse.ui.workbench is invalid Caused by: java.lang.NoClassDefFoundError: org/eclipse/swt/SWTError I have verified in the target platform that the org.eclipse.swt(3.6.2.v3659c) is checked. the plugin org.eclipse.swt.win32.win32.x86(3.6.2.v3659c) is not checked due to this is a not a 32bit target build. I do not see a org.eclipse.swt.win32.win32.x86_64 plugin I did try checking the plugin

Running p2.process.artifacts in Jenkins

孤人 提交于 2019-12-11 16:27:51
问题 I read the SO post Running P2 Ant tasks outside Eclipse, which was a great help. I am trying to call p2.process.artifacts, however I am not sure what arguments should I pass to java task call. What should value for application argument be and how can I pass augment for jar signing (p2.process.arifacts:sign) to this call which is nested in p2.process.artifacts element? Thanks, Alex 回答1: If you want to run with Java calling Eclipse's AntRunner to run an ant script (eg., build.xml) containing