I forgot to report the whole point -- that there are no extra files!

$ pwd
/Users/dda/laszlo/src/svn/openlaszlo/trunk-a/test
$ ls -l LPP-10064*
-rw-r--r--  1 dda  staff   144 Sep  2 11:41 LPP-10064.lzx
-rw-r--r--  1 dda  staff   104 Sep  2 12:57 LPP-10064b.lzx
$ 

Also note, this is being tracked at: 
http://jira.openlaszlo.org/jira/browse/LPP-10064

On Sep 9, 2011, at 12:39 PM, Donald Anderson wrote:

> Hi Rami,
> 
> Nope, my working directory is the source directory.  I just tried again both 
> ways.
> In TEST 1, working directory is 
> /Users/dda/laszlo/src/svn/openlaszlo/trunk-a/test and that
> is the same directory that both sources (LPP-10064.lzx  LPP-10064b.lzx) are.
> 
> $ ###### TEST 1 ########
> $ pwd
> /Users/dda/laszlo/src/svn/openlaszlo/trunk-a/test
> $ ls -l LPP-10064.lzx
> -rw-r--r--  1 dda  staff  144 Sep  2 11:41 LPP-10064.lzx
> $ mkdir stuff
> $ lzc -c --runtime=swf10,dhtml --dir ./stuff --output z.lzo LPP-10064.lzx
> Compiling: LPP-10064.lzx to null
> $ ls -l stuff
> total 8
> -rw-r--r--  1 dda  staff  1219 Sep  9 12:28 z.lzo
> $ lzc --runtime=swf10 --dir ./stuff --output z.swf LPP-10064b.lzx
> Compiling: LPP-10064b.lzx to z.swf
> compiler output is Loading configuration file 
> /Users/clients/laszlo/src/svn/openlaszlo/trunk-a/WEB-INF/frameworks/flex-config.xml
> /private/var/folders/ZT/ZTXs92LlFNeA1M6v8k3KhU+++TI/-Tmp-/lzswf9/build/LPP-10064b/app.swf
>  (287841 bytes)
> 
> $ ls -l stuff
> total 576
> -rw-r--r--  1 dda  staff    1219 Sep  9 12:28 z.lzo
> -rw-r--r--  1 dda  staff  287841 Sep  9 12:29 z.swf
> 
> Just to see, I tried it the other way, with working directory the same as the 
> output.
> 
> $ ###### TEST 2 ########
> $ cd stuff
> $ rm *
> $ lzc -c --runtime=swf10,dhtml --dir .
> $ pwd
> /Users/dda/laszlo/src/svn/openlaszlo/trunk-a/test/stuff
> $ lzc -c --runtime=swf10,dhtml --dir . --output z.lzo ../LPP-10064.lzx
> Compiling: ../LPP-10064.lzx to null
> $ ls -l
> total 8
> -rw-r--r--  1 dda  staff  1219 Sep  9 12:30 z.lzo
> $ lzc --runtime=swf10 --dir . --output z.swf ../LPP-10064b.lzx
> Compiling: ../LPP-10064b.lzx to z.swf
> compiler output is Loading configuration file 
> /Users/clients/laszlo/src/svn/openlaszlo/trunk-a/WEB-INF/frameworks/flex-config.xml
> /private/var/folders/ZT/ZTXs92LlFNeA1M6v8k3KhU+++TI/-Tmp-/build/LPP-10064b/app.swf
>  (287842 bytes)
> 
> $ ls -l
> total 576
> -rw-r--r--  1 dda  staff    1219 Sep  9 12:30 z.lzo
> -rw-r--r--  1 dda  staff  287842 Sep  9 12:32 z.swf
> $ 
> 
> No trouble either way. Can you try my test case on your system and see if it 
> works for you?  (Sources are still quoted below)  Or send me yours with the 
> exact sequence of steps that shows the failure?
> 
> Thanks!
> 
> - Don
> 
> On Sep 5, 2011, at 4:07 AM, Rami Ojares / AMG wrote:
> 
>> Hi Donald,
>> 
>> Could you try your test case so that you current working directory is in the 
>> source directory.
>> Now it seems to be in the destination directory.
>> I think that might explain it.
>> 
>> - rami
>> 
>> On 09/02/2011 08:03 PM, Donald Anderson wrote:
>>> 
>>> Hello Rami,
>>> 
>>> I'm trying to track this down and am unable to reproduce the problem.
>>> Here's what I do:
>>> 
>>>   rm -rf stuff
>>>   mkdir stuff
>>>   here=`pwd`
>>>   lzc -c --runtime=swf10,dhtml --dir $here/stuff --output z.lzo 
>>> $here/LPP-10064.lzx 
>>>   lzc --runtime=swf10 --dir $here/stuff --output z.swf $here/LPP-10064b.lzx 
>>> 
>>> My test files are simple:
>>> 
>>> LPP-10064.lzx:
>>> <library>
>>>    <class name="class1">
>>>       <view bgcolor="0xAA00FF" width="100" height="30" />
>>>    </class>
>>> </library>
>>> 
>>> LPP-10064b.lzx:
>>> <canvas>
>>>   <include href="LPP-10064.lzx"/>
>>>   <simplelayout/>
>>>   <class1/>
>>>   <class1/>
>>> </canvas>
>>> 
>>> I don't see any extra files in the source directory.  Can you send me a 
>>> test case, or adjust mine to show the failure?
>>> Thanks!
>>> 
>>> - Don
>>> 
>>> On Aug 30, 2011, at 10:17 AM, Rami Ojares / AMG wrote:
>>> 
>>>> One strange thing I have noticed is that when I compile some lzx file
>>>> say: /a/b/c.lzx and define as
>>>> --dir /x/y --output z.swf
>>>> I do get /x/y/z.swf but in addition to that I also get
>>>> /a/b/c.lzx.swf10.swf
>>>> 
>>>> And that messes my source code.
>>>> Why is that generated?
>>>> Isn't the temp folder enough?
>>>> 
>>>> - rami
>>> 
>>> 
>>> --
>>> 
>>> Don Anderson
>>> Java/C/C++, Berkeley DB, systems consultant
>>> 
>>> voice: 617-306-2057
>>> email: [email protected]
>>> www: http://www.ddanderson.com
>>> blog: http://libdb.wordpress.com
>>> 
>>> 
>>> 
>>> 
>>> 
>> 
> 
> 
> --
> 
> Don Anderson
> Java/C/C++, Berkeley DB, systems consultant
> 
> voice: 617-306-2057
> email: [email protected]
> www: http://www.ddanderson.com
> blog: http://libdb.wordpress.com
> 
> 
> 
> 
> 


--

Don Anderson
Java/C/C++, Berkeley DB, systems consultant

voice: 617-306-2057
email: [email protected]
www: http://www.ddanderson.com
blog: http://libdb.wordpress.com





Reply via email to