You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2004/01/28 06:36:20 UTC

DO NOT REPLY [Bug 26484] New: - ColumnSeparator in SQLExec

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26484>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26484

ColumnSeparator in SQLExec

           Summary: ColumnSeparator in SQLExec
           Product: Ant
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: yonezawa@evidus.com


I'd like to use "SQLExec" to convert data from a RDBMS to a tab separated text.
But it's not possible to change a separator string between columns.
So, I've changed the code like follows.

#printResults(PrintStream out)
if (first) {
	first = false;
} else {
	line.append(getColumnSeparator());
}
line.append(columnValue);


I hope it's possible to configure a separator on columns in "SQLExec".

Thank you.
Best regards,

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org