[Laszlo-dev] For Review: Change 20071005-Philip-6. Summary: Pass arguments intact to Windows scripts

P T Withington ptw at openlaszlo.org
Fri Oct 5 11:16:50 PDT 2007


Approved!  Thanks.

On 2007-10-05, at 14:00 EDT, Philip Romanik wrote:

> Change 20071005-Philip-6 by Philip at Philip-DC on 2007-10-05 13:42:37  
> EDT
>     in /cygdrive/f/laszlo/svn/src/svn/openlaszlo/trunk
>     for http://svn.openlaszlo.org/openlaszlo/trunk
>
> Summary: Pass arguments intact to Windows scripts
>
> New Features:
>
> Bugs Fixed: LPP-4843
>
> Technical Reviewer: ptw
> QA Reviewer: hqm
> Doc Reviewer: (pending)
>
> Documentation:
>
> Release Notes:
>
> Details:
> Arguments were not being transferred intact to java. The old  
> scripts used %1,%2,... to refer to arguments. However, Windows  
> thinks that --runtime=swf7 is two argument, "--runtime" and "swf7".  
> The only fix I found is to pass the arguments intact using %*.
>
>
> Tests:
>   lzc,lzdc,lzmc pass arguments the same way. Tested on lzc. From  
> the windows command prompt:
>
>   - lzc --runtime=swf8 testfile.lzx
>
> This command should product a file pbr113.lzr=swf8.swf
>
>   - lzc "--runtime=swf8" testfile.lzx
>
> This should work the same as the first case. This makes sure that  
> people that are already escaping the argument can continue to do so.
>
> Files:
> M      WEB-INF/lps/server/bin/lzc.bat
> M      WEB-INF/lps/server/bin/lzdc.bat
> M      WEB-INF/lps/server/bin/lzmc.bat
>
> Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20071005- 
> Philip-6.tar
>



More information about the Laszlo-dev mailing list