
| Key: |
LPP-1912
|
| Type: |
Bug
|
| Status: |
Resolved
|
| Resolution: |
Duplicate
|
| Priority: |
--
|
| Assignee: |
Unassigned
|
| Reporter: |
Jeff Schiller
|
| Votes: |
0
|
| Watchers: |
1
|
|
If you were logged in you would be able to see more operations.
|
|
|
OpenLaszlo
Created: 31/Mar/06 09:10 AM
Updated: 26/Jun/06 09:38 PM
|
|
| Component/s: |
Installer
|
| Affects Version/s: |
3.2 (Sage)
|
| Fix Version/s: |
None
|
|
|
Environment:
|
Windows XP SP1, Java 1.5.0
|
|
| Severity: |
Major
|
| Runtime: |
N/A
|
| Flags: |
External
|
| Fix in hand: |
False
|
|
This is my first time using OpenLaszlo.
I installed OpenLaszlo 3.2 today on a Windows XP system. I installed it in a non-default location (i.e. not at D:\Program Files\OpenLaszlo Server 3.2).
I started reading the documentation and decided that I wanted to run the compiler from the command-line. I found the compiler invocation batch script at <install_path>\Server\lps-3.2\WEB-INF\lps\server\bin\lzc.bat
Running "lzc.bat --help" gave me two identical errors:
The system cannot find the path specified.
The system cannot find the path specified.
Problem 1: The lzc.bat has the following line:
call "%LPS_HOME%\WEB-INF\lps\server\bin\lzenv.bat"
However, the environment varible LPS_HOME is not set in the current environment. In fact, this is one of the things set by lzenv.bat!
Problem 2: The lzenv.bat has the following line:
set LPS_HOME=c:\Program Files\Laszlo Presentation Server 3.0b2\Server\lps-3.0b2
This hard-codes LPS_HOME to the (apparently) Beta 2 default location for Laszlo 3.0, which I (obviously) did not install to. Even for users that install to the default location this would cause a problem.
I recommend that the installer set the LPS_HOME environment variable in the Windows environment so that this is always present in any invoked shell (fixes Problem 1). You can then remove the offending line from lzenv.bat (fixes Problem 2).
|
|
Description
|
This is my first time using OpenLaszlo.
I installed OpenLaszlo 3.2 today on a Windows XP system. I installed it in a non-default location (i.e. not at D:\Program Files\OpenLaszlo Server 3.2).
I started reading the documentation and decided that I wanted to run the compiler from the command-line. I found the compiler invocation batch script at <install_path>\Server\lps-3.2\WEB-INF\lps\server\bin\lzc.bat
Running "lzc.bat --help" gave me two identical errors:
The system cannot find the path specified.
The system cannot find the path specified.
Problem 1: The lzc.bat has the following line:
call "%LPS_HOME%\WEB-INF\lps\server\bin\lzenv.bat"
However, the environment varible LPS_HOME is not set in the current environment. In fact, this is one of the things set by lzenv.bat!
Problem 2: The lzenv.bat has the following line:
set LPS_HOME=c:\Program Files\Laszlo Presentation Server 3.0b2\Server\lps-3.0b2
This hard-codes LPS_HOME to the (apparently) Beta 2 default location for Laszlo 3.0, which I (obviously) did not install to. Even for users that install to the default location this would cause a problem.
I recommend that the installer set the LPS_HOME environment variable in the Windows environment so that this is always present in any invoked shell (fixes Problem 1). You can then remove the offending line from lzenv.bat (fixes Problem 2). |
Show » |
|
set LZCP=%LPS_HOME%\WEB-INF\lps\server\build
actually this should be
set LZCP=%LPS_HOME%\WEB-INF\lps\server\bin