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

Help regarding RTC build.

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?

0 votes



9 answers

Permanent link
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.

0 votes


Permanent link
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?

0 votes


Permanent link
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?

0 votes


Permanent link
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?

0 votes


Permanent link
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.

0 votes


Permanent link
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?

0 votes


Permanent link
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.

0 votes


Permanent link
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?

0 votes


Permanent link
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?.

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: Jan 11 '10, 8:31 p.m.

Question was seen: 7,721 times

Last updated: Jan 11 '10, 8:31 p.m.

Confirmation Cancel Confirm