[Laszlo-dev] For Review: Change 20071005-Philip-8. Summary: Modify .bat files to handle spaces in JAVA_HOME

P T Withington ptw at openlaszlo.org
Fri Oct 5 09:49:05 PDT 2007


Can you verify one other test:

lzc --runtime=swf8 testfile.lzx

Brendan was having issues passing options with '=' in them to  
the .bat file.

(And I guess you need to create a Jira item to fix this against, and  
add your tests and the one above to Jira.)


On 2007-10-05, at 07:44 PDT, Philip Romanik wrote:

> Change 20071005-Philip-8 by Philip at Philip-DC on 2007-10-05 10:11:50  
> EDT
>     in /cygdrive/f/laszlo/svn/src/svn/openlaszlo/trunk
>     for http://svn.openlaszlo.org/openlaszlo/trunk
>
> Summary: Modify .bat files to handle spaces in JAVA_HOME
>
> New Features:
>
> Bugs Fixed: LPP-1636 (partial)
>
> Technical Reviewer: ptw
> QA Reviewer: hqm
> Doc Reviewer: (pending)
>
> Documentation:
>
> Release Notes:
>
> Details:
> I quoted the JAVA_HOME settings in batch files so they will run  
> properly when sp
> aces are in the path where java is installed.
>
> Tests:
> - In my setup, JAVA_HOME is c:\Java.
>   I made a copy of these files to c:\Java Installation.
> - Reset the JAVA_HOME variable:    set JAVA_HOME=c:\Java Installation
> - Verify the programs start:
>     lzc -h
>     lzdc -h
>     lzmc -h
> - Run lzc on a test file,  lzc foo.lzx
> - Verify foo.lzr=swf7.swf runs correctly.
>
> No errors should be generated. Without the change the batch files  
> will generate
> a "no such file" error.
>
> 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-8.tar
>



More information about the Laszlo-dev mailing list