Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 357046

Summary: Command#toError truncates command strings to 120 characters which is too short
Product: [Tools] TCF Reporter: Daniel Thomas <daniel.thomas>
Component: CoreAssignee: Project Inbox <tcf.core-inbox>
Status: CLOSED DUPLICATE QA Contact: Eugene Tarassov <eugene>
Severity: enhancement    
Priority: P3 CC: cdtdoug
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Bump maximum command length up to 512 eugene: iplog-

Description Daniel Thomas CLA 2011-09-08 05:10:58 EDT
Created attachment 202978 [details]
Bump maximum command length up to 512

org.eclipse.tm.tcf.core.Command#toError(Object,true) truncates the length of the command text when producing the Exception to 120 characters. This can mean that the useful part of the command string is lost (for example when a long file path is being used you lose the bit that varies). A larger value would be more useful.

I have a patch to bump this up to 512 characters (though I am not sure as to what the reasoning is for placing any limit).
Comment 1 Eugene Tarassov CLA 2011-09-08 13:09:52 EDT
This is duplicate of bug 353917, which is already fixed in the latest code.

*** This bug has been marked as a duplicate of bug 353917 ***