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. |
Accepted answer
Ralph Schoon (63.5k●3●36●46)
| answered Jan 13 '15, 11:05 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
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
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
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.