It's all about the answers!

Ask a question

Help regarding RTC build.


Rahul Bhoyar (4653) | asked Jan 11 '10, 8:31 p.m.
Hi,

I have installed the RTC server and client on required machine. Now I just want to run a simple command such as, FTP and mput * on the build machine using RTC.
Can you pls let me know how can I do it?

9 answers



permanent link
Jose Miguel Ordax Cassa (2.4k4126100) | answered Jan 12 '10, 3:23 a.m.
On 12-Jan-10 2:37 AM, rahulbhoyar wrote:
Hi,

I have installed the RTC server and client on required machine. Now I
just want to run a simple command such as, FTP and mput * on the
build machine using RTC.
Can you pls let me know how can I do it?


Do you mean execute FTP commands from a build script?
If that is the point you can create a Build Definition based on ANT and
use following Optional ANT Task in the build.xml file:
http://ant.apache.org/manual/OptionalTasks/ftp.html

Hope it helps,

Chemi.

permanent link
Rahul Bhoyar (4653) | answered Jan 12 '10, 2:12 p.m.
On 12-Jan-10 2:37 AM, rahulbhoyar wrote:
Hi,

I have installed the RTC server and client on required machine. Now I
just want to run a simple command such as, FTP and mput * on the
build machine using RTC.
Can you pls let me know how can I do it?


Do you mean execute FTP commands from a build script?
If that is the point you can create a Build Definition based on ANT and
use following Optional ANT Task in the build.xml file:
http://ant.apache.org/manual/OptionalTasks/ftp.html

Hope it helps,

Chemi.


Thanks Chemi for your reply, I will try this. My another question is, do we need to setup the jazz build engine for running this command? or is there any alternative method to run this command without using jazz build engine?

permanent link
David Olsen (5237) | answered Jan 12 '10, 2:53 p.m.
JAZZ DEVELOPER
rahulbhoyar wrote:
I have installed the RTC server and client on required machine. Now I
just want to run a simple command such as, FTP and mput * on the
build machine using RTC.

What do you mean by "using RTC"? How do you hope that RTC will help you
with running your FTP command? Do you want the FTP command to be part
of a build? Do you want to FTP something to or from the RTC server?

permanent link
Rahul Bhoyar (4653) | answered Jan 12 '10, 3:20 p.m.
rahulbhoyar wrote:
I have installed the RTC server and client on required machine. Now I
just want to run a simple command such as, FTP and mput * on the
build machine using RTC.

What do you mean by "using RTC"? How do you hope that RTC will help you
with running your FTP command? Do you want the FTP command to be part
of a build? Do you want to FTP something to or from the RTC server?

Actually, I am new to RTC and I have gone through some tutorials, going further I would like to set up the build process using RTC, but before that I would like to run some simple command using RTC and yeah those simple command would be the part of the build script.

Can anyone let me know what would be the steps to set up and run the sample build script using RTC and what are the perquisite for that?

Also, I have installed RTC client and server on my machine, do I also need to install Jazz build system toolkit separately or it would be included in RTC client package itself?

permanent link
Jose Miguel Ordax Cassa (2.4k4126100) | answered Jan 12 '10, 4:08 p.m.
On 12-Jan-10 9:22 PM, rahulbhoyar wrote:
David Olsenwrote:
rahulbhoyar wrote:
I have installed the RTC server and client on required machine. Now
I
just want to run a simple command such as, FTP and mput * on the
build machine using RTC.

What do you mean by "using RTC"? How do you hope that RTC
will help you
with running your FTP command? Do you want the FTP command to be part

of a build? Do you want to FTP something to or from the RTC
server?


Actually, I am new to RTC and I have gone through some tutorials,
going further I would like to set up the build process using RTC, but
before that I would like to run some simple command using RTC and yeah
those simple command would be the part of the build script.

Can anyone let me know what would be the steps to set up and run the
sample build script using RTC and what are the perquisite for that?

Also, I have installed RTC client and server on my machine, do I also
need to install Jazz build system toolkit separately or it would be
included in RTC client package itself?


Yes, you need to install the Build System Toolkit (which in fact is the
Build Engine in charge of execute your builds).

Check this tutorial:
http://publib.boulder.ibm.com/infocenter/rtc/v2r0m0/topic/com.ibm.team.concert.tutorial.doc/topics/tut_rtc_build.html

Hope it helps,

Chemi.

permanent link
Rahul Bhoyar (4653) | answered Jan 12 '10, 4:53 p.m.
On 12-Jan-10 9:22 PM, rahulbhoyar wrote:
David Olsenwrote:
rahulbhoyar wrote:
I have installed the RTC server and client on required machine. Now
I
just want to run a simple command such as, FTP and mput * on the
build machine using RTC.

What do you mean by "using RTC"? How do you hope that RTC
will help you
with running your FTP command? Do you want the FTP command to be part

of a build? Do you want to FTP something to or from the RTC
server?


Actually, I am new to RTC and I have gone through some tutorials,
going further I would like to set up the build process using RTC, but
before that I would like to run some simple command using RTC and yeah
those simple command would be the part of the build script.

Can anyone let me know what would be the steps to set up and run the
sample build script using RTC and what are the perquisite for that?

Also, I have installed RTC client and server on my machine, do I also
need to install Jazz build system toolkit separately or it would be
included in RTC client package itself?


Yes, you need to install the Build System Toolkit (which in fact is the
Build Engine in charge of execute your builds).

Check this tutorial:
http://publib.boulder.ibm.com/infocenter/rtc/v2r0m0/topic/com.ibm.team.concert.tutorial.doc/topics/tut_rtc_build.html

Hope it helps,

Chemi.

Hi Chemi,
Thnx for the link. But this link is the guide for the users who is working on Java code. Can I use the normal .bat file as a source file in RTC in order to run the build?

permanent link
Jose Miguel Ordax Cassa (2.4k4126100) | answered Jan 12 '10, 6:38 p.m.
On 12-Jan-10 11:07 PM, rahulbhoyar wrote:
Hi Chemi,
Thnx for the link. But this link is the guide for the users who is
working on Java code. Can I use the normal .bat file as a source file
in RTC in order to run the build?

Yes, you can. The source code could be whatever you codify.
But then there are some steps of the build.xml file used in the tutorial
that you shouldn't need like the java compilation, etc...

Regards,

Chemi.

permanent link
Sudhakar Frederick (80113631) | answered Jan 12 '10, 7:23 p.m.
JAZZ DEVELOPER
Perhaps what you're looking for is the "Using the buildtoolkit in
non-Ant environments " in https://jazz.net/wiki/bin/view/Main/BuildExamples
ie. running arbitrary commands using the JBE.

The key being to use the ""Command Line - Jazz Build Engine" when
creating the build definition. You can then supply a batch file/script
in the "Command to run property"

HTH
Freddy
rahulbhoyar wrote:
Hi,

I have installed the RTC server and client on required machine. Now I
just want to run a simple command such as, FTP and mput * on the
build machine using RTC.
Can you pls let me know how can I do it?

permanent link
Rahul Bhoyar (4653) | answered Jan 14 '10, 11:58 a.m.
Perhaps what you're looking for is the "Using the buildtoolkit in
non-Ant environments " in https://jazz.net/wiki/bin/view/Main/BuildExamples
ie. running arbitrary commands using the JBE.

The key being to use the ""Command Line - Jazz Build Engine" when
creating the build definition. You can then supply a batch file/script
in the "Command to run property"

HTH
Freddy
rahulbhoyar wrote:
Hi,

I have installed the RTC server and client on required machine. Now I
just want to run a simple command such as, FTP and mput * on the
build machine using RTC.
Can you pls let me know how can I do it?


Hi Freddy,

Thnx for your reply. I am currently using the RTC clieant and the server 2.0.0.1.I need to install build system toolkit now, can you pls provide me the link for the same, I m trying to install it from a site but I am only getting a corrupted zip file

can anyone pls help me in this?.

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.