+++ /dev/null
-#!/usr/bin/env python\r
-################################################################################\r
-#\r
-# qooxdoo - the new era of web development\r
-#\r
-# http://qooxdoo.org\r
-#\r
-# Copyright:\r
-# 2008 1&1 Internet AG, Germany, http://www.1und1.de\r
-#\r
-# License:\r
-# LGPL: http://www.gnu.org/licenses/lgpl.html\r
-# EPL: http://www.eclipse.org/org/documents/epl-v10.php\r
-# See the LICENSE file in the project's top-level directory for details.\r
-#\r
-# Authors:\r
-# * Thomas Herchenroeder (thron7)\r
-#\r
-################################################################################\r
-\r
-##\r
-# This is a stub proxy for the real generator.py\r
-##\r
-\r
-import sys, os, subprocess\r
-\r
-CMD_PYTHON = 'python'\r
-QOOXDOO_PATH = 'src/main/webapp/qooxdoo-0.8-sdk'\r
-REAL_GENERATOR = os.path.normpath(\r
- os.path.join(os.path.abspath(os.path.dirname(sys.argv[0])),\r
- QOOXDOO_PATH, 'tool', 'bin', 'generator.py'))\r
-#if sys.platform == "win32": #added because of issue under Linux \r
-# os.chdir(os.path.dirname(sys.argv[0])) # switch to skeleton dir\r
-\r
-if sys.platform == "win32":\r
- CMD_PYTHON = 'target\python-win32\python'\r
-\r
-argList = []\r
-argList.append(CMD_PYTHON)\r
-argList.append(REAL_GENERATOR)\r
-argList.extend(sys.argv[1:])\r
-if sys.platform == "win32":\r
- argList1=[]\r
- for arg in argList:\r
- if arg.find(' ')>-1:\r
- argList1.append('"%s"' % arg)\r
- else:\r
- argList1.append(arg)\r
- argList = argList1\r
-else:\r
- argList = ['"%s"' % x for x in argList] # quote argv elements\r
-cmd = " ".join(argList)\r
-subprocess.call(cmd, shell=True)\r