| Index: copy_apprtc.py | 
| diff --git a/copy_apprtc.py b/copy_apprtc.py | 
| index 2ed2e954de6b9990c24e3000f61cd782a08e0631..8cc40b15260719d6b7ecc92f57c4211dff270a7a 100755 | 
| --- a/copy_apprtc.py | 
| +++ b/copy_apprtc.py | 
| @@ -10,6 +10,8 @@ import os | 
| import shutil | 
| import sys | 
|  | 
| +import utils | 
| + | 
|  | 
| def _ConfigureApprtcServerToDeveloperMode(app_yaml_path): | 
| if not os.path.exists(app_yaml_path): | 
| @@ -25,7 +27,12 @@ def _ConfigureApprtcServerToDeveloperMode(app_yaml_path): | 
|  | 
| def main(): | 
| target_dir = os.path.join('src', 'out', 'apprtc') | 
| -  shutil.rmtree(target_dir, ignore_errors=True) | 
| +  if utils.GetPlatform() is 'win': | 
| +    # Windows shutil can't handle the long node.js paths when deleting; | 
| +    # work around the problem. | 
| +    os.system('rmdir /s /q %s' % target_dir) | 
| +  else: | 
| +    shutil.rmtree(target_dir, ignore_errors=True) | 
| shutil.copytree('apprtc', | 
| target_dir, ignore=shutil.ignore_patterns('.svn', '.git')) | 
|  | 
|  |