It's all about the answers!

Ask a question

3 issues in RTC3.0, expect help


ajax chai (1153) | asked Dec 28 '10, 10:30 p.m.
hi, RTC Admin,

We are using RTC3.0 10 user free license in our company (top 500) for one of our project trail. And it is pretty good in Agile/Scrum planning, however, we encountered following issues, pls help on this. thank u in advance.

1) Developer use Eclipse with RTC client to edit/input the code, and build the code in build server by request build via the build engine, the target product is for Linux/Unix and the build server contains the header files and libs for the build/link, this is no problem. however, when edit code in client, the RTC client/Eclipse always prompt that the workspace/project has errors (so many errors) since the header files in the project is not located in the developer's client windows XP environment, and it has many errors displayed, this do have impact on developer's code edit/input, it also impacts the code delivery since there have a good rule said that their should have no errors before you delivery(this is good and we want this rule), however, this rule was wrongly detected/used. any suggestions how to resolve this issue? it is not possible that to install all headers/lib in client environment. (give details suggestions please, thanks).

2) About build keeping, we set to keep last 10 builds in the build engine. Base on each build, our build sever have a process (e.g. A) to fetch the build resut/binary then delivery to testing. If more than 3 developers request builds at almost the same time, where is the history build result saved on the RTC server and how to clarify who is the owner of each history build? Also where is the personal build results was saved on the RTC server? Can we define the process A was invoked at the end of the build? any suggestions?

3) Regarding the build. Our system is huge project and have millions lines codes, one project will only part DU/Subsystem of the system. However, since history reasons, the DU/Subsystem's codes and its build has depends on other many subsystems/DUs. When setup workspace/source control, currently we just share the overall system's source in RTC server, this cause no good since the codes is so much! we only want to work on part of the system. IF you could give some suggestions, it will be appreciated.

4) Regarding the testing, as I state above, after the build, our build server/RTC server process A will auto fetch out the build result (binary) and then run this binary to test it. and the test result will be output to one folder of the server (e.g. under one public_html folder so that developer can query testing result via IE), our question is can this be queried via the RTC/Eclipse client? how to config it?

Thanks a lot in advance.

Ajax Chai

ajaxchai@gmail.com

5 answers



permanent link
Geoffrey Clemm (30.1k33035) | answered Dec 29 '10, 2:59 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
(1) This is an Eclipse IDE question, not an RTC question, so it would
probably be best to post in an Eclipse forum. But logically, either you
need to load the files you need on the client, in order to get a clean
compile on the client, or you have to turn of the "do not deliver with
errors" rule.

(2) The build requests will be received by the RTC server in some order,
and they will appear in the build queue in that order. The "submitter"
of the build is stored with the build request, so that info is available
(in the GUI, for example). The process that gets invoked at the end of
the build is specified in your build script. If you want to give the
submitter control over that process, you can define a build property,
and have the submitter set that property in their build request.

(3) We have a similar situation when developing RTC itself. There are a
large set of "platform" binaries that only change infrequently. We
store those binaries on a build server, and provide a mechanism for the
developers to download those pre-build modules using a very efficient
"copy" script.

(4) One of the things a build script can do is to "post" results back to
the RTC server, at which point it is visible on the results page of the
build. You can either post the result files themselves, or (if they are
very large) you can post the URL for the results.

Cheers,
Geoff

On 12/28/2010 10:38 PM, ajaxchai wrote:
hi, RTC Admin,

We are using RTC3.0 10 user free license in our company (top 500) for
one of our project trail. And it is pretty good in Agile/Scrum
planning, however, we encountered following issues, pls help on this.
thank u in advance.

1) Developer use Eclipse with RTC client to edit/input the code, and
build the code in build server by request build via the build engine,
the target product is for Linux/Unix and the build server contains the
header files and libs for the build/link, this is no problem. however,
when edit code in client, the RTC client/Eclipse always prompt that
the workspace/project has errors (so many errors) since the header
files in the project is not located in the developer's client windows
XP environment, and it has many errors displayed, this do have impact
on developer's code edit/input, it also impacts the code delivery
since there have a good rule said that their should have no errors
before you delivery(this is good and we want this rule), however,
this rule was wrongly detected/used. any suggestions how to resolve
this issue? it is not possible that to install all headers/lib in
client environment. (give details suggestions please, thanks).

2) About build keeping, we set to keep last 10 builds in the build
engine. Base on each build, our build sever have a process (e.g. A)
to fetch the build resut/binary then delivery to testing. If more
than 3 developers request builds at almost the same time, where is
the history build result saved on the RTC server and how to clarify
who is the owner of each history build? Also where is the personal
build results was saved on the RTC server? Can we define the process
A was invoked at the end of the build? any suggestions?

3) Regarding the build. Our system is huge project and have millions
lines codes, one project will only part DU/Subsystem of the system.
However, since history reasons, the DU/Subsystem's codes and its
build has depends on other many subsystems/DUs. When setup
workspace/source control, currently we just share the overall
system's source in RTC server, this cause no good since the codes is
so much! we only want to work on part of the system. IF you could
give some suggestions, it will be appreciated.

4) Regarding the testing, as I state above, after the build, our build
server/RTC server process A will auto fetch out the build result
(binary) and then run this binary to test it. and the test result
will be output to one folder of the server (e.g. under one
public_html folder so that developer can query testing result via
IE), our question is can this be queried via the RTC/Eclipse client?
how to config it?

Thanks a lot in advance.

Ajax Chai

ajaxchai@gmail.com

permanent link
ajax chai (1153) | answered Dec 30 '10, 1:00 a.m.
Thank you, Geoff.
Regarding 1) OK -- I will find the solution from Eclipse forum;
Regarding 3 & 4) -- No more problem, thank you.

Regarding 2) for the build, I still have questions as following.
2.1) If we have 10 developer request build at almost same time, you means the build queue will order them? right? if a build needs e.g. 0.5 hour, that means the last developer need to wait at least 5hours for his build, right? this is not good I think, or I have miss-understanding this?
pls point me out.

2.2) if we keep 10 builds, where is the last 9 build result stored? e.g. from server side, where can we find it? e.g. the path.

2.3) Current I saw that, each developer's build result will overwrite prior's another developer's build result (e.g. middle libs, binarys etc) when they use the same build definitions. this is not good since this will cause interferes when A developer modify the libs that will be used by developer B, and may cause developer B's build fail. how to resolve this?

thanks again and happy new year.

Ajax Chai

(1) This is an Eclipse IDE question, not an RTC question, so it would
probably be best to post in an Eclipse forum. But logically, either you
need to load the files you need on the client, in order to get a clean
compile on the client, or you have to turn of the "do not deliver with
errors" rule.

(2) The build requests will be received by the RTC server in some order,
and they will appear in the build queue in that order. The "submitter"
of the build is stored with the build request, so that info is available
(in the GUI, for example). The process that gets invoked at the end of
the build is specified in your build script. If you want to give the
submitter control over that process, you can define a build property,
and have the submitter set that property in their build request.

(3) We have a similar situation when developing RTC itself. There are a
large set of "platform" binaries that only change infrequently. We
store those binaries on a build server, and provide a mechanism for the
developers to download those pre-build modules using a very efficient
"copy" script.

(4) One of the things a build script can do is to "post" results back to
the RTC server, at which point it is visible on the results page of the
build. You can either post the result files themselves, or (if they are
very large) you can post the URL for the results.

Cheers,
Geoff

On 12/28/2010 10:38 PM, ajaxchai wrote:
hi, RTC Admin,

We are using RTC3.0 10 user free license in our company (top 500) for
one of our project trail. And it is pretty good in Agile/Scrum
planning, however, we encountered following issues, pls help on this.
thank u in advance.

1) Developer use Eclipse with RTC client to edit/input the code, and
build the code in build server by request build via the build engine,
the target product is for Linux/Unix and the build server contains the
header files and libs for the build/link, this is no problem. however,
when edit code in client, the RTC client/Eclipse always prompt that
the workspace/project has errors (so many errors) since the header
files in the project is not located in the developer's client windows
XP environment, and it has many errors displayed, this do have impact
on developer's code edit/input, it also impacts the code delivery
since there have a good rule said that their should have no errors
before you delivery(this is good and we want this rule), however,
this rule was wrongly detected/used. any suggestions how to resolve
this issue? it is not possible that to install all headers/lib in
client environment. (give details suggestions please, thanks).

2) About build keeping, we set to keep last 10 builds in the build
engine. Base on each build, our build sever have a process (e.g. A)
to fetch the build resut/binary then delivery to testing. If more
than 3 developers request builds at almost the same time, where is
the history build result saved on the RTC server and how to clarify
who is the owner of each history build? Also where is the personal
build results was saved on the RTC server? Can we define the process
A was invoked at the end of the build? any suggestions?

3) Regarding the build. Our system is huge project and have millions
lines codes, one project will only part DU/Subsystem of the system.
However, since history reasons, the DU/Subsystem's codes and its
build has depends on other many subsystems/DUs. When setup
workspace/source control, currently we just share the overall
system's source in RTC server, this cause no good since the codes is
so much! we only want to work on part of the system. IF you could
give some suggestions, it will be appreciated.

4) Regarding the testing, as I state above, after the build, our build
server/RTC server process A will auto fetch out the build result
(binary) and then run this binary to test it. and the test result
will be output to one folder of the server (e.g. under one
public_html folder so that developer can query testing result via
IE), our question is can this be queried via the RTC/Eclipse client?
how to config it?

Thanks a lot in advance.

Ajax Chai

ajaxchai@gmail.com

permanent link
Anthony Kesterton (7.5k7180136) | answered Dec 30 '10, 11:33 a.m.
JAZZ DEVELOPER
Hi Ajax


Regarding 2) for the build, I still have questions as following.
2.1) If we have 10 developer request build at almost same time, you means the build queue will order them? right? if a build needs e.g. 0.5 hour, that means the last developer need to wait at least 5hours for his build, right? this is not good I think, or I have miss-understanding this?
pls point me out.

2.2) if we keep 10 builds, where is the last 9 build result stored? e.g. from server side, where can we find it? e.g. the path.


Builds on a single build engine will be invoked in order, so yes, it could take a while if yours is the last build to run. However, no reason why you could not have multiple build engines running.

regards

anthony

permanent link
Geoffrey Clemm (30.1k33035) | answered Dec 30 '10, 4:08 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
(2.1) As Tony wrote, you can associate multiple build engines with a
given build definition, so you can have as many builds in parallel as
you have build engine processes running. In the Eclipse RTC plug-in,
you associate build engines with a build definition on the Overview page
of the Build Definition editor).

(2.2) The "build results" that were posted back to the server will be
associated with the build result object in the RTC repository for that
build. Right click on the build definition, and select "Show Build
Results", and Builds view will open with a list of all of the build
results for that build definition. If you want the path for a given
build result, just right-click on the build result and select "Copy URL".

(2.3) To keep build results from concurrent builds of the same build
definition from overwriting in each other on the build machine, in your
build script, allocate a unique directory for the build to run in
(examples for this have been posted in earlier messages in this forum).

Cheers,
Geoff



On 12/30/2010 1:08 AM, ajaxchai wrote:
...
Regarding 2) for the build, I still have questions as following.
2.1) If we have 10 developer request build at almost same time, you
means the build queue will order them? right? if a build needs e.g.
0.5 hour, that means the last developer need to wait at least 5hours
for his build, right? this is not good I think, or I have
miss-understanding this?
pls point me out.

2.2) if we keep 10 builds, where is the last 9 build result stored?
e.g. from server side, where can we find it? e.g. the path.

2.3) Current I saw that, each developer's build result will overwrite
prior's another developer's build result (e.g. middle libs, binarys
etc) when they use the same build definitions. this is not good since
this will cause interferes when A developer modify the libs that will
be used by developer B, and may cause developer B's build fail. how
to resolve this?

thanks again and happy new year.

Ajax Chai

permanent link
Sean Kennedy (6) | answered Dec 31 '10, 10:41 a.m.
JAZZ DEVELOPER
hi, RTC Admin,

1) Developer use Eclipse with RTC client to edit/input the code, and build the code in build server by request build via the build engine, the target product is for Linux/Unix and the build server contains the header files and libs for the build/link, this is no problem. however, when edit code in client, the RTC client/Eclipse always prompt that the workspace/project has errors (so many errors) since the header files in the project is not located in the developer's client windows XP environment, and it has many errors displayed, this do have impact on developer's code edit/input, it also impacts the code delivery since there have a good rule said that their should have no errors before you delivery(this is good and we want this rule), however, this rule was wrongly detected/used. any suggestions how to resolve this issue? it is not possible that to install all headers/lib in client environment. (give details suggestions please, thanks).


Header files ... are you doing C/C++ development?

You might be interested in Rational Developer for Power - assuming you're targeting AIX or Power Linux.
Here's a quick overview on youtube:
http://www.youtube.com/watch?v=BnhP2UhYriA
Here's the product page where you can get the trial (it "shell-shares" with RTC):
http://www-01.ibm.com/software/rational/products/rdp/

If you have questions, please feel free to contact me.

Your answer


Register or 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.