Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Eclipse Committer does not give me advantage

IIRC umlet does connect to JDT already, so find how that was done in the code and do the same for CDT. One possible difference is that JDT publishes its bundles to Maven central as artifacts and CDT does not. I would be willing to accept patch(es) that add such ability, however I am unable to provide any direction on how to achieve this. Trawling through the archives may help you.

Jonah

~~~
Jonah Graham
Kichwa Coders
www.kichwacoders.com


On Fri, 3 Jan 2020 at 22:02, Ming Cheng <chengm349@xxxxxxxxxxx> wrote:
Hi All,

Hope everyone had a good break and also a happy new year ahead.
Keen to hearing your guide/comments on below information.

Warm Regards.


From: Ming Cheng
Sent: Monday, December 23, 2019 7:28 AM
To: cdt-dev@xxxxxxxxxxx <cdt-dev@xxxxxxxxxxx>
Subject: Eclipse Committer does not give me advantage
 

Hi CDT and Eclipse guys

 

Today I tried to used Eclipse Committer for everything I want to do including generating UMLet Eclipse plugin. Within UMLet package, there is a module called umlet-elements. Originally it does not need to access CDT function. Attached pom.xml is from UMLet GitHub site.

 

Now I need to change umlet-element to access CDT function(s).

Although I have all CDT code within the Committer, but maybe bcos I did not set correctly, now the compilation complains:

 

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project umlet-elements: Compilation failure: Compilation failure:

[ERROR] C:\Users\mcheng\FlexTrade\autoplugin\qfixsoden_old\umlet-elements\src\main\java\com\baselet\element\interfaces\GridElement.java:[15,36] package org.eclipse.cdt.core.dom.ast does not exist

[ERROR] C:\Users\mcheng\FlexTrade\autoplugin\qfixsoden_old\umlet-elements\src\main\java\com\baselet\element\interfaces\GridElement.java:[88,9] cannot find symbol

[ERROR]   symbol:   class IASTNode

[ERROR]   location: interface com.baselet.element.interfaces.GridElement

 

If I used my ugly way to modify pom.xml to be pom.CDT.xml, and at the same time by adding the need jar file into my local maven repository, then the Committer is happy.

 

Please guide how to make the whole thing elegant.

 

Thanks.

 

Sent from Mail for Windows 10

 

_______________________________________________
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