I just set up a fresh Debian etch workstation as a Laszlo dev environment.
Are there any Debian-savvy folks in the community who are interested in 
putting together a Debian package that installs lzc as a 
compiler and/or installs OpenLaszlo into Tomcat (or other servlet 
container) with a single apt-get install?

It wasn't too difficult to set up my Laszlo dev box by hand, but a Debian 
package would make it a bit easier and I know that my geekier 
free-software friends would be more likely to play around with the 
platform if it was easy to slip into their Debian systems.

Steps for installing on the current debian testing release are below.
-e



I did the following to get the server up & running - 
1. Downloaded jdk1.5 from Sun - http://java.sun.com/j2se/1.5.0

2. installed Debian's java-making package 
   $ sudo apt-get install make-jpkg

3. built a debian package from the JDK - 
   $ fakeroot make-jpkg dk-1_5_0_08-linux-i586.bin

4. installed the package
   $ sudo dpkg -i sun-j2sdk1.5_1.5.0+update08_i386.deb

5. added some paths to my login scripts
   $ cat >> .bash_profile
    # JAVA PATH
    export JAVA_HOME="/usr/lib/j2sdk1.5-sun"
    <ctrl+d>

6. loaded the 3.3.1 branch of source from subversion
   $ mkdir src/openlaszlo
   $ cd src/openlaszlo
   $ svn co http://svn.openlaszlo.org:/openlaszlo/tags/3.3.1

7. set more paths in login scripts
   $ cat >> .bash_profile
    # for building with command-line lzc
    export LPS_HOME="/home/enw/src/openlaszlo/3.3.1"
    alias lzc="${LPS_HOME}/WEB-INF/lps/server/bin/lzc"
    <ctrl+d>
   $ . .bash_profile

8. then compiled with LZC, no problem!
   $ cd ~/src/myapp
   $ lzc main.lzx
   $






_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user

Reply via email to