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

How to pass the output of an ant task to a java code

Hi,

I am using the ant task 'sshexec'. I have stored the output in the 'outputProperty' tag.
How can I pass the value in 'outputProperty' to a Java code?

Please help.

Thanks.

0 votes



2 answers

Permanent link
 Take a look at this article on writing an ant custom task:



0 votes


Permanent link
Thanks Scott.

Is there a way to access the build results through the build definition object or any object in the code. Since on double clicking/right clicking on the build definition, we get the list of build results, I was assuming there might be a function to access the results from the build definition.

Kindly guide.

Thank you.

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
× 10,938
× 562
× 89
× 25

Question asked: Sep 24 '12, 7:10 a.m.

Question was seen: 7,877 times

Last updated: Sep 27 '12, 1:23 a.m.

Confirmation Cancel Confirm