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 » Tue Jul 28, 2015 7:10 pm

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: 228
Joined: Wed May 20, 2009 2:40 pm

Re: output the build message console to a text file

Post by mihaela » Wed Jul 29, 2015 10:57 am

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 » Wed Jul 29, 2015 8:25 pm

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: 7212
Joined: Fri Jul 09, 2004 5:18 pm

Re: output the build message console to a text file

Post by Radu » Mon Aug 03, 2015 12:00 pm

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: 2687
Joined: Tue May 17, 2005 4:01 pm

Re: output the build message console to a text file

Post by adrian » Mon Aug 03, 2015 12:04 pm

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