How to define the VM option 'file.encoding' when deploying GAE?

Hi,

I have set both IDE Encoding and Project Encoding to UTF-8, but when I run the command 'Googel App Engine Deployment', I got this message:

Header 1
Deploying 'test.war exploded'... D:\JAVA\jdk1.7.0_51\bin\java -Dfile.encoding=GBK -classpath D:\appengine-java-sdk-1.9.15\lib\appengine-tools-api.jar com.google.appengine.tools.admin.AppCfg --email=xxxx@gmail.com --passin --no_cookies update D:\workshop\test\out\artifacts\test_war_exploded


Is any way to change the -Dfile.encoding=GBK to -Dfile.encoding=UTF-8?

3 comments
Comment actions Permalink

It should be enough to set 'Project Encoding' to UTF-8, it's strange that it doesn't work for you. Could you please attach .idea/encodings.xml file?

--
Nikolay Chashnikov
JetBrains
http://www.jetbrains.com
"Develop with pleasure!"

0
Comment actions Permalink

here  is my .idea/encodings.xml


<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
  <component name="Encoding" useUTFGuessing="true" native2AsciiForPropertiesFiles="false">
    <file url="file://$PROJECT_DIR$" charset="UTF-8" />
    <file url="PROJECT" charset="UTF-8" />
  </component>
</project>

0
Comment actions Permalink

Which version of IDEA do you use?

--
Nikolay Chashnikov
JetBrains
http://www.jetbrains.com
"Develop with pleasure!"

0

Please sign in to leave a comment.