output the build message console to a text file

Having trouble installing Oxygen? Got a bug to report? Post it all here.
mark_whisler
Posts: 18
Joined: Fri Sep 12, 2014 1:07 am

output the build message console to a text file

Post by mark_whisler »

Is there a way to redirect the build message console to a text file? I'm building a rather large webhelp project and more than once I haven't been able to copy/paste the 260+ k lines of text because of resources...

Thanks!

.MW
mihaela
Posts: 490
Joined: Wed May 20, 2009 2:40 pm

Re: output the build message console to a text file

Post by mihaela »

Hi,

There is no option or parameter that you can set to redirect the transformation output to a file but you can right-click in the console view in oXygen and use the "Save Results..." action.

I hope this helps.

Best regards,
Mihaela
Mihaela Calotescu
http://www.oxygenxml.com
mark_whisler
Posts: 18
Joined: Fri Sep 12, 2014 1:07 am

Re: output the build message console to a text file

Post by mark_whisler »

Thats what I usually do, but I had a situation the other day where the console was in excess of 250k lines, and I didnt have enough memory to hold it on the clipboard. I suppose I could just copy/paste it in chunks but I figured there had to be a better way. Moving this to the "Please add this feature" section. :mrgreen:
Radu
Posts: 9055
Joined: Fri Jul 09, 2004 5:18 pm

Re: output the build message console to a text file

Post by Radu »

Hi Mark,

As a workaround for now you van edit the transformation scenario and in the Advanced tab to set the "Additional arguments" parameter to something like:

Code: Select all


-logfile ${cfd}/test.log
The ANT build process will automatically redirect all the build output to that log file.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
adrian
Posts: 2855
Joined: Tue May 17, 2005 4:01 pm

Re: output the build message console to a text file

Post by adrian »

Hi,

I've logged your request on our issue tracking tool.

Could you please clarify if you have tried to use the "Save Results..." action (to save to a file) from the contextual menu on the console output and that was unsuccessful?
Note that this action does not have anything to do with the clipboard, it simply allows you to save the console output to a file.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Post Reply