Hi Tucker,

Looking at the non-windows version of the script (lzdc) reveals what %a% is supposed to do. lzdc.bat is broken if only one argument is specified:

if [ "$#" -lt 2 ] ; then
    x=`basename $1 .xml`.swf
fi
${JAVA_HOME}/bin/java ${JAVA_OPTS} -DLPS_HOME="${LPS_HOME}" -cp "$LZCP" org.openlaszlo.xml.internal.Main $* $x


I'll file a jira bug to cover it.


I don't even know what it is.  I have never used it.

I claim it is more likely someone thought that they could name parameters with hex digits than %a% actually being something useful.

On 2007-10-24, at 16:32 EDT, Philip Romanik wrote:

> A command line parameter is %X where X is 1-9, This is %a% which means
> something different.
>
> I don't know where lzdc is used? Can it be eliminated entirely?
>
>
>> Er, is this someone thinking that they were passing 11 arguments?
>> 0- A instead of 0-9?  I think you should nuke it...
>>
>> On 2007-10-24, at 16:14 EDT, Philip Romanik wrote:
>>
>> > It substitutes the environment variable 'a' (which I have no
>> idea what
>> > it is).
>> >
>> >
>


Reply via email to