How to handle files not part of an eclipse project?
Hi All
Look at this. The project has this structure in ClearCase. In the way below, I dump the structure into one component and load the root of the component as an eclipse project into the project explorer. This way, developers see the exact some structure in project explorer. But actually each of EJBServer and webclient folder is an eclipse project (there is a .project) in the root of EJBServer folder. 1. If we load the whole file structure like this. EJBServer and webclient is not showing as a java project in eclipse IDE, not good for developers to do development, right? 2. If I load individual project such EJBServer and webclient into project explorer, then how can I load other files not part of an eclipse project? e.g. no matter how I load, these files in the root such as CCC-version.txt, won't even be appeared in the sandbox. Then there is no way you can modify them. This is not like ClearCase. |
4 answers
Geoffrey Clemm (30.1k●3●30●35)
| answered Dec 06 '11, 1:38 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
This is just a question about Eclipse, and doesn't have anything to do
with ClearCase or RTC-SCM, does it? Neither ClearCase or RTC-SCM really care whether you have .project files, and where they are located, but Eclipse cares. Or am I missing something? Cheers, Geoff On 12/6/2011 12:23 PM, hujirong wrote: Hi All |
This is just a question about Eclipse, and doesn't have anything to do You are right. But the key issue is in RTC, e.g. these files in the root is not loaded into the sandbox, using the 2nd approach. Means you can't modify these files. While in ClearCase, at least they are in the view. Jirong |
In this scenario 1, I see that everything is shared in RTC correctly and that Eclipse has the parent Eclipse project loaded (ex: OASA2). Could you not just use the normal Eclipse File --> Import to add any Eclipse projects you want to have them show up as Eclipse projects in the Package Explorer? Ex, do that for EJBServer and webclient. |
Geoffrey Clemm (30.1k●3●30●35)
| answered Dec 07 '11, 1:38 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
You can use RTC-SCM to load the same tree as appears in the ClearCase
view. Use the Advanced Option: "Load the selected folders but do not create Eclipse projects". Note: I agree that it is a hassle in Eclipse to manipulate files that live "above" our "outside of" Eclipse projects, but that is true whether you are using ClearCase or RTC-SCM (and whatever you are doing in ClearCase to deal with this issue, you can do the same thing with RTC-SCM). Cheers, Geoff On 12/7/2011 10:23 AM, hujirong wrote: gmclemmwrote: |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.