This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Tue Apr 14 02:46:01 -0700 2009 | |
| |
README.md | Tue May 05 22:20:53 -0700 2009 | |
| |
build.xml | Tue Apr 14 02:46:01 -0700 2009 | |
| |
package.json | Sat Aug 22 22:15:49 -0700 2009 | |
| |
src/ | Tue May 05 21:12:34 -0700 2009 | |
| |
war/ | Mon Jun 15 19:44:38 -0700 2009 |
README.md
Jack Servlet
Requirements
- Narwhal: http://github.com/tlrobinson/narwhal
- Jack: http://github.com/tlrobinson/jack
AppEngine Instructions
- Set the APPENGINE_JAVA_SDK environment variable to the location of the AppEngine SDK (http://code.google.com/appengine/downloads.html), or change the "sdk.dir" property in the build.xml file.
- Ensure "war/WEB-INF/narwhal" is a Narwhal distribution (currently symlinked to "narwhal" in the parent directory) and "war/WEB-INF/narwhal/packages/jack" is a Jack distribution.
- Place your Jack application in "war/WEB-INF" with the main module called "jackconfig.js", which exports the main Jack application as "app".
- "ant runserver" to run locally.
- Edit the AppEngine application ID in "war/WEB-INF/appengine-web.xml".
- "ant update" to deploy.
Other Servlet Container Instructions
Coming soon.
Notes
You can change the default modules path, module name, application name, environment name using the "modulesPath", "module", "app", and "environment" init-params in web.xml, i.e.:
<servlet-name>jack</servlet-name> <servlet-class>org.jackjs.JackServlet</servlet-class> <init-param>
</init-param> <init-param><param-name>modulesPath</param-name> <param-value>WEB-INF</param-value>
</init-param> <init-param><param-name>module</param-name> <param-value>jackconfig.js</param-value>
</init-param> <init-param><param-name>app</param-name> <param-value>app</param-value>
</init-param><param-name>environment</param-name> <param-value>production</param-value>In addition to the "war/WEB-INF/narwhal" symlink, there are relative symlinks to Rhino in "war/WEB-INF/lib/js.jar" and an example application at "war/WEB-INF/jackconfig.js"







