harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexei Zakharov (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-1660) [classlib] converting tabs to spaces
Date Mon, 02 Oct 2006 17:12:28 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-1660?page=all ]

Alexei Zakharov updated HARMONY-1660:

    Attachment: tabs2spaces_v2.xml

Improved fully customized version of the script. Now the calling syntax is:
ant -f tabs2spaces_v2.xml -Dsrc.dir=<dir with sources> [-Dpattern="<any regex pattern>"]
[-Dspaces="<replacement string >"] [-Dinclude="<sources to include>"] [-Dexclude="<sources
to exclude>"]

pattern defaults to "\t"
spaces defaults to "    "
include defaults to "**/*.java"
exclude defaults to "**/.svn/**"

> [classlib] converting tabs to spaces
> ------------------------------------
>                 Key: HARMONY-1660
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1660
>             Project: Harmony
>          Issue Type: New Feature
>          Components: Classlib
>         Environment: all
>            Reporter: Alexei Zakharov
>            Priority: Minor
>         Attachments: tabs2spaces.xml, tabs2spaces_v2.xml
> The attached script converts tabs to spaces in all found source files under given directory
(recursively). Usage:
> ant -f tabs2spaces.xml -Dspaces="    " -Dsrc.dir=<dir with sources to convert>
> I will be happy if someone run it at least for beans tests and integrates the results.
See my message in the mailing list.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message