Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to load file under component root from Eclipse client

 I have a component in the RTC repository that has the following structure (2 directories and 2 files under the component root):
 -- DIR1
 -- DIR2
 -- setEnv.bat
 -- build.xml

However, after I create my workspace and load the source, I only see the two directories; the two files (setEnv.bat and build.xml) are not loaded - Note that I don't want to create the "Component root" folder during the load.

0 votes


Accepted answer

Permanent link
Using the normal "load" operation on a component in a workspace, you are only given the choice of loading folders.  So the only way to load the two files is to load the folder that contains them (which in your case, is the root folder of the component).   If you don't want to load the root folder of the component, but just one or more of the top level files, then you need to do that from the Repository_File view.   In that view, right click on the file you want to load, and select "Load".
Kevin Lou selected this answer as the correct answer

1 vote


One other answer

Permanent link
pls confirm which option are you trying to load the files.

1) Find and Load Eclipse projects,option than the folders will create with root component and files and folders will be listed. but

2) if you are selecting the second option in load the root folder of the components as projects, only folders will be listed unless the files are under folder.


0 votes

Comments

Here is how I tried to load the code: 

  - Select "Browse the components to select folders to be loaded" 
  - Then I select "DIR1" and "DIR2" from the list - note I don't see the files from the list
  - The I select "Load the selected folder but do not create Eclipse project"

After the load, I only see the two folders, but not the files. 

This works fine for me with RTC-4.0.2.  When you say "I only see the two folders", do you mean using standard file system tools?    (You will of course not see them in Eclipse, since you selected the "do not create Eclipse project" option.

Yes, I mean I only see the two folders in system's file explorer. I am using RTC3.0.1. I guess this problem has been fixed in the later releases. Do you have the WI that is used to track this change?

You need to select the root folder of the component (that's the folder that contains those two files).   If you just select DIR1 and DIR2, you will only get those directories, and not the files that are siblings of those directories.

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,019

Question asked: Mar 18 '13, 9:18 a.m.

Question was seen: 5,357 times

Last updated: Apr 04 '13, 12:54 a.m.

Confirmation Cancel Confirm