·
In the editor that just opened, click
Set as Target Platform on the top right.
Eclipse will now download the required dependencies, which may take some time the first time. Once this is done, it should trigger a full build of your workspace and a lot of errors
should go away.
Issue 1
I couldn’t Set as Target Platform on the top right.
However I can see a lot of .class files being generated.
Launching
After all the CDT projects have successfully built, you'll probably want to run and/or do source-level debugging of the CDT code. Open the PDE (Plug-in Development Environment)
perspective: Window->Perspective->Other->"Plug in Development". There, you'll see a project with the name org.eclipse.cdt.ui, right click the org.eclipse.cdt.ui project, select "Run As"->"eclipse application". You should see a new instance of eclipse - with
the latest version of eclipse CDT plugins.
Issue 2
I couldn’t follow the above steps bcos I can’t find
a project with the name org.eclipse.cdt.ui.
Issue 3.
How to generate jar files like these:
![]()
Sent from
Mail for Windows 10
It's in releng/org.eclipse.cdt.target, try importing it directly. Here is the link to it in the git browser:
https://git.eclipse.org/c/cdt/org.eclipse.cdt.git/tree/releng/org.eclipse.cdt.target
o set the target platform:
·
Expand the "org.eclipse.cdt.target" project.
·
Double-click on
cdt.target.
·
In the editor that just opened, click
Set as Target Platform on the top right.
When clone and import, I selected all, but still can’t see “org.eclipse.cdt.target" project.
Now I am using 9.10.0
Sent from
Mail for Windows 10
Got it and thanks Christian.
Sent from
Mail for Windows 10
![cid:image001.png@01D5B653.67EEED30]()
Ming Cheng wrote:
> I don’t know how to dynamically debug Eclipse plugin code
>
> ...
>
> I tried to build with command:
>
> mvn clean install
>
> but with a lot of error (please refer to the attached file).
I'm not sure, but at a glance it could be that your Maven and/or Tycho are too old for pom-less building. Look inside the top-level pom.xml, it mentions some versions.
However, for debugging it is more convenient to build in Eclipse (PDE) than with Maven. It is described very well in
https://wiki.eclipse.org/Getting_started_with_CDT_development .
-Christian
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/cdt-dev
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/cdt-dev