View Full Version : Running your own Laszlo applications
arina
11-02-2004, 12:33 AM
I've got such an error:
hello.lzx:2:11: default font verity\verity11.ttf missing java.io.FileNotFoundException: verity\verity11.ttf
But /lps and /lib are in WEB-INF. Does it mean that i have to put into my directory fonts as well?
Arina
rajs1
11-02-2004, 03:21 AM
If your laszlo installation is called LASZLOINSTALL, then copy the lps directory from the Server/lps-2.2 to your webapps/application directory.
cp LASZLOINSTALL/Server/lps-2.2/lps <TOMCAT INSTALL>/webapps/<appname>
So now your application dir will look like:
webapp --
|- <appname> - |
| - lps
| - WEB-INF
| - myapp.lzx
Its this lps directory which contains the font info, under the fonts directory.
Cheers
-raj
arina
11-02-2004, 04:37 AM
Originally posted by rajs1
...then copy the lps directory from the Server/lps-2.2 to your webapps/application directory.
Thanks, -raj
it works now. But doesn't it mean that we have to copy all these lps, lib, ... which are more than 50 MB when my project's web folder is only 47KB :(
antun
11-02-2004, 10:57 AM
You don't need to copy all the fonts in the fonts directory, but you must copy the Verity ones. Verity is the default font that's included in all Laszlo apps.
-Antun
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.