click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r786818 - /incubator/click/trunk/click/extras/src/org/apache/click/extras/gae/GoogleAppEngineListener.java
Date Sat, 20 Jun 2009 13:33:16 GMT
Author: sabob
Date: Sat Jun 20 13:33:16 2009
New Revision: 786818

URL: http://svn.apache.org/viewvc?rev=786818&view=rev
Log:
aded GAE docs on how to provide Click resources in restricted environment

Modified:
    incubator/click/trunk/click/extras/src/org/apache/click/extras/gae/GoogleAppEngineListener.java

Modified: incubator/click/trunk/click/extras/src/org/apache/click/extras/gae/GoogleAppEngineListener.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/org/apache/click/extras/gae/GoogleAppEngineListener.java?rev=786818&r1=786817&r2=786818&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/org/apache/click/extras/gae/GoogleAppEngineListener.java
(original)
+++ incubator/click/trunk/click/extras/src/org/apache/click/extras/gae/GoogleAppEngineListener.java
Sat Jun 20 13:33:16 2009
@@ -126,6 +126,23 @@
  *
  * &lt;/appengine-web-app&gt; </pre>
  *
+ * <h3>Deployment issues</h3>
+ *
+ * On application startup, Click automatically deploys all its JavaScript and
+ * CSS resources to the "<tt>/click</tt>" folder. Since GAE doesn't allow
+ * writing to disk, Click cannot automatically deploy its resources.
+ * <p/>
+ * Instead you will have to manually add Click's resources in your GAE
+ * application's "<tt>/war</tt>" folder. To do this create a <tt>click</tt>
+ * folder under your <tt>/war</tt> directory -> "<tt>/war/click</tt>".
+ * <p/>
+ * Next you need to copy the resources from the click-core.X.X.X.jar and
+ * click-extras.X.X.X.jar. Use your favorite IDE or ZIP utility to open the
+ * jars and navigate to "<tt>META-INF/web/</tt>" where you will find the
+ * "<tt>/click</tt>" folder with all the resources packaged for that jar. Simple
+ * copy the content of the "<tt>/click</tt>" folder to your GAE folder:
+ * "<tt>/war/click</tt>".
+ *
  * @author Bob Schellink
  */
 public class GoogleAppEngineListener implements ServletContextListener {



Mime
View raw message