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

Using ANT can you make a copy of the build Log

Afternoon All,

I am wondering if you are able to help.

Using ANT I am trying to make a copy of the build-*.log file that is created, but this then to be copied to a specific directory for particular Sys-Admin users to view.

Any help is greatly appreciated.

0 votes


Accepted answer

Permanent link
I am not sure what you have tried and if there is a problem. But I typed "ant copy file" into a search engine and got http://ant.apache.org/manual/Tasks/copy.html as the first hit. Have you tried that?
Jason Wilson selected this answer as the correct answer

2 votes

Comments

The timestamp in the build log file name is not published as an Ant property, so you'll likely need to use the Ant copy task as Ralph suggests, with a wildcard to match build-*.log.

Note that older files may still be around, e.g. if JBE wasn't able to complete the build and publish the log file normally (e.g. if JBE was killed / crashed, or RTC server was unreachable).

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
× 12,019
× 562
× 63

Question asked: Jan 13 '15, 10:53 a.m.

Question was seen: 3,938 times

Last updated: Jan 13 '15, 2:18 p.m.

Confirmation Cancel Confirm