Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Any comment is welcome to my topics in Eclipse Forum
  • From: Ming Cheng <chengm349@xxxxxxxxxxx>
  • Date: Thu, 19 Dec 2019 05:54:10 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=knui1LJn6nBgkWwY1ODwGJAQ+y7DQvTeJ0fQC8guKsQ=; b=BrrR/HKOGmO3wioabzCbDkbyNxPwSUUByAy0Y6qGJl1xLVixGi1bXPnGVUec/COGv14WvAJLIJZtvJdMAhrAuGasJRirFVnzkkh5yBF+R6R8sm97Fyd4kqioTMDYymKMrW7JTwqNDpbSosZzxNxTw+ifYGwhPCTe/jcGVlAFnfjtjyU2VZEB60iYd8+EzPbYcdDiMPIYztNmcdpj5ft9FjXODjejgvcl7G/kHvs7eCvl3nVJZelJVFi96wNizUlJcF3d+Dp21jS8JMJHz6rPGiSF1ZrhQYzPBD1ht/cHTJGWzHJ+SFln/w+V0Tatg9mDmrShz4hBsJ5XCAULyeQJrA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=P21XSSoO2ix7c1J4E6Ox1IHqFOTjwMuxDQ6SBbgCWnwBVUdojFB9PqBUzcWGsQdINfl18jtMaM3gSj1AlGK0NuDDwHiJ8PiX5puwn/UUlq5U9xR4dAmj+MxJbCc9pazzwTdujKK9H84HXQVe+fF7MdxOeHEQEXDoIplUPoDXgUkCF9JXn9L5vP7L2tYnl1krn8nBKVblvaaQC0euczni0Z8jXr7MyCW/QDqQZ4YN+T7fbp5qvK36P3KsajzFv85FUeFir5FsgYaP4Lg2lTDfyXxNWmVXzV3oO1nJoTUxmM5T/hzMbwvXHbqR4jPQ3ByjkYIQC2HWraXDRI0wIahZNQ==
  • Delivered-to: cdt-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/cdt-dev>
  • List-help: <mailto:cdt-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/cdt-dev>, <mailto:cdt-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/cdt-dev>, <mailto:cdt-dev-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AQHVqwsPman4yV3TP06y8wYySKvP3qeqyVwAgA0X656AAAg4AIAEX/kDgACj6ICAASpIK4AAX7CAgADAhK+AACe9mYAALVUAgAACiv6AATrMUIAAAZEAgAANKZSAAAzMAIAAGUtjgAAK8p0=
  • Thread-topic: [cdt-dev] Any comment is welcome to my topics in Eclipse Forum

To me before I could change anything in CDT src, what I want to achieve is:

 

  • Get CDT src from Eclipse repo
  • Compile it and get those jars.

 

Article/tutorial are all great but most time they could not bring a newbie to be expert.

 

My Eclipse env

 

Eclipse IDE for Java Developers

 

Version: 2019-09 R (4.13.0)

Build id: 20190917-1200

 

CDT branch is 9.10.0.

 

What’s the ABC steps to generate all CDT jars?

 

Thanks.

 

Sent from Mail for Windows 10

 

From: Ming Cheng
Sent: Thursday, December 19, 2019 1:13 PM
To: CDT General developers list.
Subject: Re: [cdt-dev] Any comment is welcome to my topics in Eclipse Forum

 

I’ll go through the tutorial.

 

Now it’s an experimental try. If it’s successful, it may become a internal tool (kind of commercial) .

 

I asked UMLet, they did not bother.

 

Sent from Mail for Windows 10

 

From: Jonah Graham
Sent: Thursday, December 19, 2019 11:40 AM
To: CDT General developers list.
Subject: Re: [cdt-dev] Any comment is welcome to my topics in Eclipse Forum

 

Have a look at this great tutorial on how to write eclipse plugins. Some of it goes into issues that you don't need to know about yet, so focus on chapters 1 to 5 to start, and have a look at 17 to 22 for more topics. As you become more experienced you can revisit the other chapters. 

 

https://www.vogella.com/tutorials/EclipsePlugin/article.html

 

BTW, it sounds like your goal is to extend umlet? Have you engaged anyone from that project yet? As they already have eclipse plugins, they may have better advice on how to edit their own code. I/we can try to point you in the right direction of how to use CDT code, but as you seem to be going off the beaten path you are probably going to have to figure your own way through on most of this. 

 

PS what is the context of your work. For example is this for a commercial product, open source project or academic work? 

 

Thanks, 

Jonah 

 

On Wed., Dec. 18, 2019, 22:01 Ming Cheng, <chengm349@xxxxxxxxxxx> wrote:

·         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

 

From: Jonah Graham
Sent: Thursday, December 19, 2019 10:07 AM
To: CDT General developers list.
Subject: Re: [cdt-dev] Any comment is welcome to my topics in Eclipse Forum

 

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

 

On Wed., Dec. 18, 2019, 21:02 Ming Cheng, <chengm349@xxxxxxxxxxx> wrote:

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

 

From: Ming Cheng
Sent: Wednesday, December 18, 2019 3:15 PM
To: CDT General developers list.
Subject: Re: [cdt-dev] Any comment is welcome to my topics in Eclipse Forum

 

Got it and thanks Christian.

 

Sent from Mail for Windows 10

 

From: cdt-dev-bounces@xxxxxxxxxxx <cdt-dev-bounces@xxxxxxxxxxx> on behalf of Christian Walther <walther@xxxxxxxx>
Sent: Wednesday, December 18, 2019 3:05:20 PM
To: CDT General developers list. <cdt-dev@xxxxxxxxxxx>
Subject: Re: [cdt-dev] Any comment is welcome to my topics in Eclipse Forum

 

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

 

_______________________________________________
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

 

 


Back to the top