Bento
 
SourceForge.net Logo
> Bento Home > Download Bento
Download
 
 
Bento is still pre-alpha. No fancy install program yet. But if you want to experiment with our work-in-progress you are welcome to download the following:
  • Bento-in-a-jar. The Bento jar file contains everything you need to compile Bento files; it also contains a servlet for serving Bento content directly. It should be a reasonably recent, reasonably stable version, but at this stage there are no guarantees.

    To compile a Bento file, enter the following at the command line (this assumes you have the Java runtime environment installed):

    java -jar bento.jar bentopath
    where bentopathis one or more pathnames separated by the standard path separator character (: on Unix, ; on Windows). The pathname can point either to an individual file or a directory; in the latter case all the files in the directory with a ".bento" extension will be loaded.

    To run the Bento servlet, you need to add something along the lines of the following to your web application configuration file (for example, the file WEB-INF/web.xml for a servlet running in Tomcat):

    <servlet>
    <servlet-name>my_cool_site</servlet-name>
    <servlet-class>bento.runtime.BentoServlet</servlet-class>
    <init-param>
    <param-name>site</param-name>
    <param-value>my_cool_site</param-value>
    </init-param>
    <init-param>
    <param-name>bentopath</param-name>
    <param-value>/home/xyz/my_cool_site/bento</param-value>
    </init-param>
    <init-param>
    <param-name>recursive</param-name>
    <param-value>true</param-value>
    </init-param>
    <init-param>
    <param-name>docbase</param-name>
    <param-value>/home/xyz/my_cool_site</param-value>
    </init-param>
    <init-param>
    <param-name>filesfirst</param-name>
    <param-value>false</param-value>
    </init-param>
    </servlet>
    

    Download bento.jar

  • Browse source tree in CVS


top


Use of any software, source code and documentation obtained from this site is governed by the Bento Poetic License.

Copyright © 2003 by bentodev.org