Hello,

I want to copy a dos command file using the CopyTask.

like this

task copyCommand(type:Copy) {
    from "src/command.bat" // that has sjis strings
    into "dist/command.bat"
    filter(org.apache.tools.ant.filters.ReplaceTokens, 
tokens:[jarPath:jar.archivePath.name])
}

but when I saw the copied file ("dist/command.bat"), the sjis strings in the 
file had been broken.
I guess I need to specify the file encoding of the file.

Can I solve this problem with Gradle?

Thanks

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to