Ok, then I guess the bug is with `ant clean`.

On 2010-09-21, at 11:43, Henry Minsky wrote:

> Yah , the ant clean doesn't work for me because it looks like the compiler's
> temp directory does
> not get cleared, so I end up having to manually delete it from /var/tmp or
> wherever it puts it.
> 
> 
> On Tue, Sep 21, 2010 at 11:32 AM, P T Withington <[email protected]> wrote:
> 
>> In my experience this happens because we are incrementally changing the
>> compiler and our caches don't deal with the implicit serialization schema
>> migration that would be needed to make them keep working.  I'm not sure it
>> is worth trying to fix, since it should never hit someone in the field (who
>> will always be working from a clean build).  `ant clean` usually solves the
>> problem for me.
>> 
>> On 2010-09-21, at 11:04, Henry Minsky wrote:
>> 
>>> Once in a while I have been seeing this error, where the lzx compiler
>>> chokes on importing resources.  I haven't figured out if there is
>>> something specific I'm doing that causes this, the last time it
>>> happened was when I applied a big patch and did a clean build.
>>> 
>>>    [echo] Using LPS_HOME: /Users/hqm/openlaszlo/trunk-clean
>>>    [java] Compiling: explore-nav.lzx to explore-nav.swf8.swf
>>>    [java] Can't get resource
>>> 
>> /Users/hqm/openlaszlo/trunk-clean/lps/components/lz/resources/focus/focus_bot_lft.png
>>>    [java] Can't get resource
>>> 
>> /Users/hqm/openlaszlo/trunk-clean/lps/components/lz/resources/focus/focus_bot_lft_shdw.png
>>>    [java] Can't get resource
>>> /Users/hqm/openlaszlo/trunk-clean/laszlo-explorer/images/nav1_btn_dn.png
>>>    [java] Can't get resource
>>> /Users/hqm/openlaszlo/trunk-clean/laszlo-explorer/images/nav2_btn_dn.png
>>>    [java] Can't get resource
>>> /Users/hqm/openlaszlo/trunk-clean/laszlo-explorer/images/nav3_btn_dn.png
>>>    [java] Can't get resource
>>> /Users/hqm/openlaszlo/trunk-clean/laszlo-explorer/images/nav4_btn_dn.png
>>>    [java] lz/focusoverlay.lzx:5:42: Can't import
>>> ps/components/lz/resources/focus/focus_bot_lft.png:
>>> 
>> /var/folders/xh/xhmdrA41HCKjjiditeqN1k+++TI/-Tmp-/lzccache/cmcache/1284510964680.swf
>>> (No such file or directory)
>>>    [java] lz/focusoverlay.lzx:12:42: Can't import
>>> ps/components/lz/resources/focus/focus_bot_lft_shdw.png:
>>> 
>> /var/folders/xh/xhmdrA41HCKjjiditeqN1k+++TI/-Tmp-/lzccache/cmcache/1284510964720.swf
>>> (No such file or directory)
>>>    [java] resources.lzx:31:32: Can't import /images/nav1_btn_dn.png:
>>> 
>> /var/folders/xh/xhmdrA41HCKjjiditeqN1k+++TI/-Tmp-/lzccache/cmcache/1284510965343.swf
>>> (No such file or directory)
>>>    [java] resources.lzx:38:30: Can't import /images/nav2_btn_dn.png:
>>> 
>> /var/folders/xh/xhmdrA41HCKjjiditeqN1k+++TI/-Tmp-/lzccache/cmcache/1284510965504.swf
>>> (No such file or directory)
>>>    [java] resources.lzx:45:29: Can't import /images/nav3_btn_dn.png:
>>> 
>> /var/folders/xh/xhmdrA41HCKjjiditeqN1k+++TI/-Tmp-/lzccache/cmcache/1284510965645.swf
>>> (No such file or directory)
>>>    [java] resources.lzx:52:32: Can't import /images/nav4_btn_dn.png:
>>> 
>> /var/folders/xh/xhmdrA41HCKjjiditeqN1k+++TI/-Tmp-/lzccache/cmcache/1284510965763.swf
>>> (No such file or directory)
>>>    [echo] build.url is http://svn.openlaszlo.org/openlaszlo/trunk
>>>    [echo] dont-need-svn-info is true
>>> 
>>> I found that it fixes it if I erase the cache directory it's using
>>> 
>>> new-host-8:trunk-clean hqm$ rm -rf
>>> /var/folders/xh/xhmdrA41HCKjjiditeqN1k+++TI/-Tmp-/lzccache/
>>> 
>>> 
>>> 
>>> --
>>> Henry Minsky
>>> Software Architect
>>> [email protected]
>> 
>> 
> 
> 
> -- 
> Henry Minsky
> Software Architect
> [email protected]


Reply via email to