Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » How to import plug-ins from Eclipse CDT with source((novice questions))
How to import plug-ins from Eclipse CDT with source [message #713497] Mon, 08 August 2011 14:41 Go to next message
Jusctsch  is currently offline Jusctsch
Messages: 22
Registered: July 2011
Junior Member
Hello all,
I've been having an issue importing a plugin from the Eclipse CDT- C/C++ GDB Hardware Debugging. The steps that I have followed have been from this site
http://www.vogella.de/articles/EclipseCodeAccess/article.html#importplugins
but I am not obtaining the source (?).

In my situation, I have two instances of Eclipse on my computer, one for Java and one for C/C++. I have been trying to import the plugins from the CDT to view, change, recompile in the Java-dev Eclipse.
The steps that I used are as follows (my interpretation of the previously mentioned site):

Import Plugins from Eclipse CDT
○ From the menu, select File > Import > Plug-ins and Fragments
○ Click on 'Open the Target Platform preference page...' in 'Import From' box
○ Add a Target definition, loading the plug-ins folder from the Eclipse CDT in the corresponding directory
○ Parse through the desired plug-ins to download, Apply, Finish, etc
○ (back in Import Plug-ins and Fragments) Change Target definition to match the one you just made
○ Import As Projects with source folders


In addition, I then made the assumption that it couldn't find source that wasn't in the CDT, assuming the plugins are just .jars, so I then tried creating a Target definition in the form of a website.
New Target Definition -> Software Site -> http://download.eclipse.org/tools/cdt/releases/indigo
and I selected the two plugins that I was interested in The Eclipse GDB Hardware Debug Core Plug-in 8.0.0.2~, and the C/C++ GDB Hardware Debugging 7.0.0.2~.
After selecting the previously mentioned plugins on the site, I push some apply buttons and Eclipse tells me that "0 plugins available" and "Cannot satisfy dependency".

Now my question is the following, I know that I could use git or something clever to pull the plugin source, but is there a more easy and intuitive way that this can be done via the Eclipse GUI?

Thanks a bunch
Re: How to import plug-ins from Eclipse CDT with source [message #713545 is a reply to message #713497] Mon, 08 August 2011 15:32 Go to previous message
Jusctsch  is currently offline Jusctsch
Messages: 22
Registered: July 2011
Junior Member
Self-Serving again.
Abridged from http://wiki.eclipse.org/CDT/git
I recommend following these steps:

○ Install Egit 1.0 (you can get it from Indigo update site). See docs http://wiki.eclipse.org/EGit/User_Guide
○ Clone the repo. From the Git perspective, select clone repo action
○ Cut & Paste url below in the first page of wizard for cloning
○ URL - git://git.eclipse.org/gitroot/cdt/org.eclipse.cdt.git
○ It will ask you what branches to import. If you only care about head select master, if you want to work with other branches select a corresponding branch, for example cdt_8_0.
○ Press Next. As location where files are stored select a folder inside your workspaces, for example workspace/cdt-git
○ Press Finish (skip Gerrit page)
○ This should take about 3-5 minutes
○ From the repo, select Import Projects...
○ Select all the projects or individual. Project filter does not seems to work. It maybe easier select all, then close projects you don't need
○ Let the build run. To build properly you should have set API baseline, see comment above about API baseline.
Previous Topic:Programatically setting Javadoc and Source
Next Topic:we
Goto Forum:
  


Current Time: Mon Sep 15 04:10:19 GMT 2014

Powered by FUDForum. Page generated in 0.05878 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software