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

Build engine can' load component with files at root level

We migrated some base CC branches over to RTC using CC cnnector's syc. stream import and checked that all files and folders are migrated, including a few build scripts located at the root level of the CC VOB, which are now loated at the root level of the generated component.

We noticed that when developers tried to load the component to their local workspace, they have to make sure to select the component folder to get all files and folders loaded, otherwise, the files at component root level won't be able to loaded even though all folders are loaded.

But when they start to use the RTC build engine to run the builds,they all failed because the missing files located at the component root level and can't be loaded by the build engine, which seems to be able to only get all folders and their contains at the component root level.

We tried to load the new imported component at the component folder level and select to create new Eclise .projec file for it, checkin nd deliver the change but th build still faied.

What is the default load option the build engine uses? We want to be able to change it as when we do in loading a component into any othr workspace

0 votes



5 answers

Permanent link
There are several enhancement requests for this (e.g. 44004, 85020,
88677), but to my knowledge, the only way to do this currently is to
have the rtc build explicitly use the rtc command line to load the files
(i.e. there is no "declarative" way to get this done by a build).

Perhaps someone on the SCM team knows an easier way to make this happen?

Cheers,
Geoff


On 7/19/2010 2:37 PM, ghu wrote:
We migrated some base CC branches over to RTC using CC cnnector's syc.
stream import and checked that all files and folders are migrated,
including a few build scripts located at the root level of the CC
VOB, which are now loated at the root level of the generated
component.

We noticed that when developers tried to load the component to their
local workspace, they have to make sure to select the component
folder to get all files and folders loaded, otherwise, the files at
component root level won't be able to loaded even though all folders
are loaded.

But when they start to use the RTC build engine to run the builds,they
all failed because the missing files located at the component root
level and can't be loaded by the build engine, which seems to be able
to only get all folders and their contains at the component root
level.

We tried to load the new imported component at the component folder
level and select to create new Eclise .projec file for it, checkin nd
deliver the change but th build still faied.

What is the default load option the build engine uses? We want to be
able to change it as when we do in loading a component into any othr
workspace

0 votes


Permanent link
I got a respone from h work item I raised about this issue:

added: This was fixed in 2.0.0.2 iFix 3. See item 113853 and item 102186 comment 9 for a workaround.

And the workaround is:
using the 2.0.0.2 build system is to specify (in the build definition editor's SCM page) a load rules file for the component with:
RootFolderName=/

But I am not sure wher this file is to be stored. Seems tat we need to add it to SCM and it can't in the root level.

0 votes


Permanent link
Our developers tried the workaround and can't get it work:


I tried on is_8_5_tier1 and the test failed. I delivered the change of adding loadRule.properties into the repository workspace under third_party_tools folder.

In build config, we can only get loading rule file from the source controlled repository workspace. Here comes the chicken and egg issue: to have the loading we need to have code downloaded first; to download the code, we have to have the loading rule.

I don't think this way is right.

0 votes


Permanent link
We did verify that after upgrading to iFix03 Build System Toolkit, the build engin is able to pickup the root level files and folder to run the build successfully.

0 votes


Permanent link
Glad to hear it's working for you now with iFix 3. For the earlier workaround, the component load rules file needs to be specified in the build definition (in the load rules field of the Jazz Source Control page). JBE reads this file before doing the main load, so there's no chicken and egg problem.

0 votes

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

Question asked: Jul 19 '10, 2:32 p.m.

Question was seen: 6,076 times

Last updated: Jul 19 '10, 2:32 p.m.

Confirmation Cancel Confirm