Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » How to modify projects nest? (project nesting )
How to modify projects nest? [message #1820599] Thu, 23 January 2020 16:41 Go to next message
Helen Keller is currently offline Helen KellerFriend
Messages: 173
Registered: June 2019
Senior Member
I have used "Configure and Detect Nested projects" to be able to compile two projects.
Works as expected.
I am unable to reconfigure the resulting "nest" - AKA change / remove / delete project from it.
Any pointers / help would be appreciated.

See attached screen shot

Addendum
I just realized that I definitely do not want "project nesting" .
Maybe I want "project set" . Not sure.

So I really need to REMOVE current nest.

It looks as "project relations" as in "Close unrelated project" MAY NOT BE SAME
as "project nesting" .

So much for descriptive terminology.

[Updated on: Thu, 23 January 2020 17:22]

Report message to a moderator

Re: How to modify projects nest? [message #1820607 is a reply to message #1820599] Thu, 23 January 2020 20:34 Go to previous messageGo to next message
David VavraFriend
Messages: 1426
Registered: October 2012
Senior Member
What is your attached screen shot supposed to show?

A nested project is just a project within another project.
For it to be "nested" it has to have been imported into the workspace .
When deleting the parent, it will ask if you wan to delete N subprojects.
Or you could just delete the subproject in the workspace.

In the following, "xor" is a nested project in "tinyNEAT"
the dialog is a response to deleting "tinyNEAT"
but it will delete both if I say OK
To delete "xor" I would just delete "xor" from the workspace.
index.php/fa/37224/0/

These are only nested because they came that way.
Normally, I would avoid nesting projects.

Re: How to modify projects nest? [message #1820626 is a reply to message #1820607] Fri, 24 January 2020 01:58 Go to previous messageGo to next message
Helen Keller is currently offline Helen KellerFriend
Messages: 173
Registered: June 2019
Senior Member
"It looks as "project relations" as in "Close unrelated project" MAY NOT BE SAME
as "project nesting" . "

1. After more playing with the idea of being able to make project related as far as being able to compile them in "one click" I realized that is not what Eclipse definition of "nested projects" is " . ( David confirmed that- thanks)
2. HOWEVER - for a spell using "Configure and Detect Nested projects" worked that way ! Then I needed to brake the RELATIONSHIP ( ?) which per option used was indeed "created " nested something. Hence the only VISIBLE option was to use "Configure and Detect Nested projects" which has "delete " ( what ?) option. Hence the screen shot which shows "related" project but I failed to see how to delete it .

In my simplistic view Eclipse (IDE ?) is juggling several technological terms
nested (project)
Launch Group (projects)
related project ( "Close unrelated project " )
project set(s)

Allow me to simplify the post and just ask about perceived definition of RELATION of projects


1. HOW / WHAT option creates RELATED projects , using "Close unrelated project " option as DIRECT definition of "RELATED"?

( RELATION can be closed , but HOW is it created in first place ?)

2. HOW / WHAT option configures such RELATION - by configure I mean change - delete , add to RELATION?



Re: How to modify projects nest? [message #1820627 is a reply to message #1820626] Fri, 24 January 2020 02:04 Go to previous messageGo to next message
Helen Keller is currently offline Helen KellerFriend
Messages: 173
Registered: June 2019
Senior Member
"For it to be "nested" it has to have been imported into the workspace ."
Just a comment on that - makes some sense when the coder STARTS with the idea, however, switching / creating workspaces nilly-willy has proven to be a royal hit and miss pain.
Re: How to modify projects nest? [message #1820635 is a reply to message #1820627] Fri, 24 January 2020 06:45 Go to previous messageGo to next message
David VavraFriend
Messages: 1426
Registered: October 2012
Senior Member
Quote:
Hence the screen shot which shows "related" project but I failed to see how to delete it .

The screenshot you supplied doesn't contain the word "related".


Quote:
( RELATION can be closed , but HOW is it created in first place ?)

It's talking about projects that are referenced by the selected project.
Project --> Properties --> Project References
The menu option is to close an UNrelated project(s).

https://help.eclipse.org/2019-12/topic/org.eclipse.cdt.doc.user/reference/cdt_u_prop_ref.htm?cp=10_4_7_0_5

[Updated on: Fri, 24 January 2020 07:15]

Report message to a moderator

Re: How to modify projects nest? [message #1820669 is a reply to message #1820635] Sat, 25 January 2020 17:43 Go to previous message
Helen Keller is currently offline Helen KellerFriend
Messages: 173
Registered: June 2019
Senior Member
SOLVED
Thank you, seems as "relations" and "references" terms are interchangeable.
Previous Topic:Eclipse, how to generate "auto/update-makefile" for a project
Next Topic:include from not current project
Goto Forum:
  


Current Time: Thu Apr 25 01:03:00 GMT 2024

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

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

Back to the top