2
我已成功運行App Engine上的Lift 2.4應用程序。我只有運行模式有問題。如何設置App引擎上的Lift運行模式
電梯確定運行模式,生產或發展,通過:
System.getProperty("run.mode")
設置在App Engine一個屬性的唯一方法是經由:
<system-properties>
<property name="run.mode" value="production"/>
</system-properties>
但現在,當我在本地啓動App Engine開發服務器,它也在生產模式中。
我試着通過在JVM start或Lift boot上指定一個系統屬性來覆蓋它,沒有奏效。
我怎麼能在雲生產模式和發展模式本地?
你是對的,這是確實的唯一可能的解決方案。謝謝! :-) – stephanos 2012-01-17 10:57:41