Skip to main content

New Phobos Build, Plus All The Source Code!

Posted by robc on July 12, 2006 at 4:18 PM PDT

There is a new Phobos build in the documents and files section of our project site. The build is dated July 10, 2006 and is available in binary form for the Solarix/x86, Windows, Linux and Mac OS X platforms.

This build fixes most of the issues I described in my previous post. In particular:

  • The E4X extension to JavaScript is fully supported out of the box.
  • You can add new scripting engines simply by dropping the necessary files into the glassfish/lib directory. For instance, adding the ability to run Groovy scripts is as easy as going to the scripting project on java.net, building it and then copying the engines/groovy/build/groovy-engine.jar and engines/groovy/lib/groovy-all-1.0-jsr-05.jar to that directory.
  • The container now sets the context root automatically, so you don't need any extra code in application/startup.js. The file still needs to be there because it is used by GlassFish to identify Phobos applications as such.

Additionally, it is now possible run a Phobos application on any servlet container by packaging it up as a war file. You can download the war files for our two sample applications from this page. We tested them with GlassFish Milestone 7 and Tomcat 5.5.12. Please let us know if you find any problems with other servlet containers.

Finally, the source code for Phobos and the sample apps has been checked into the java.net CVS repository. As detailed on the getting started page, the GlassFish-specific code is in a branch of the GlassFish CVS repository. Like GlassFish, all the code is under an open source license, the OSI-certified CDDL.

Related Topics >>