
| Key: |
LPP-4142
|
| Type: |
Bug
|
| Status: |
Closed
|
| Resolution: |
Duplicate
|
| Priority: |
--
|
| Assignee: |
Unassigned
|
| Reporter: |
Trebor Fenstermaker
|
| Votes: |
0
|
| Watchers: |
1
|
|
If you were logged in you would be able to see more operations.
|
|
|
OpenLaszlo
Created: 14/Jun/07 10:00 AM
Updated: 08/Nov/07 02:38 PM
|
|
| Component/s: |
Compiler
|
| Affects Version/s: |
3.3.3
|
| Fix Version/s: |
Cranberry
|
|
| Severity: |
Minor
|
| Runtime: |
N/A
|
| Fix in hand: |
True
|
|
Any lzc argument which uses an equal sign, such as --runtime=swf8, will not work on DOS. It appears DOS strips the equals and treats the LH and RH sides as separate arguments to the batch file. Thus, instead of the arguments to the java call for the compiler being "--runtime=swf8" it appears as "--runtime swf8." Since "echo" is off on the batch files, this is not obvious to the user; instead, the user sees an unhelpful "Usage" error from the compiler, suggesting she type "--help".
A simple work-around is for the user to enclose the entire argument in quotes: "--runtime=swf8" will preserve the equals. Going forward, perhaps we should change the syntax of this argument (and any others that use the equals, such as logging) to something that isn't affected by the DOS shell, or change the help to make it clear to DOS users that they need to escape these arguments.
|
|
Description
|
Any lzc argument which uses an equal sign, such as --runtime=swf8, will not work on DOS. It appears DOS strips the equals and treats the LH and RH sides as separate arguments to the batch file. Thus, instead of the arguments to the java call for the compiler being "--runtime=swf8" it appears as "--runtime swf8." Since "echo" is off on the batch files, this is not obvious to the user; instead, the user sees an unhelpful "Usage" error from the compiler, suggesting she type "--help".
A simple work-around is for the user to enclose the entire argument in quotes: "--runtime=swf8" will preserve the equals. Going forward, perhaps we should change the syntax of this argument (and any others that use the equals, such as logging) to something that isn't affected by the DOS shell, or change the help to make it clear to DOS users that they need to escape these arguments.
|
Show » |
|