[Laszlo-dev] Flex vs. pathnames with spaces [Was: trunk and weather]

P T Withington ptw at pobox.com
Mon Jun 16 17:14:38 PDT 2008


Hey, how are you computing and setting CLASSPATH?  Didn't you have to  
amend that to find the new jars?

On 2008-06-16, at 20:02 EDT, P T Withington wrote:

> [Redirecting to laszlo-dev.  Perhaps someone in the community has an  
> idea.]
>
> Did you look at the 'binaries' in WEB-INF/bin?  Are any of those  
> involved in calling the compiler?  Because, for instance, the  
> 'binary' called 'asc' computes FLEX_HOME, but fails to quote it when  
> it uses it.  From the comment (which says that it is the 'fdb'  
> launch script), I am guessing this is a common pattern they may have  
> replicated.
>
> On 2008-06-16, at 19:23 EDT, Henry Minsky wrote:
>
>> I reported the bug to adobe. In their bug database there were some
>> similar bugs but they
>> were all marked closed, so I wonder if there is some workaround we
>> don't know about.
>>
>> In the meantime, if you install tonight's nightly build, and then
>> remove the spaces from the
>> "OpenLaszlo Server 4.2.x" directory name, and restart the LPS server,
>> it should successfully compile
>> swf9 apps.
>>
>>
>>
>>
>> On Mon, Jun 16, 2008 at 5:56 PM, Henry Minsky  
>> <henry.minsky at gmail.com> wrote:
>>> I don't know if this bug occurs on Windows, this may be a MacOSX  
>>> only bug.
>>>
>>>
>>>
>>> On Mon, Jun 16, 2008 at 5:48 PM, David Temkin <temkin at laszlosystems.com 
>>> > wrote:
>>>> I don't think that will be enough. What makes it really hard to  
>>>> work around
>>>> is the default placement under "Program Files" on Windows.
>>>>
>>>> And then, users will want to install it elsewhere and we'll be  
>>>> stuck with
>>>> the bug anyway. I think we need to fix it.
>>>>
>>>> BTW, we once had a version of this bug in our own code a few  
>>>> years back.
>>>> Also I remember Apple having a version of this in an iTunes  
>>>> updater that
>>>> wound up wiping out user data as a result of the bug.
>>>>
>>>> - D.
>>>>
>>>> On Jun 16, 2008, at 2:42 PM, Henry Minsky wrote:
>>>>
>>>>> Tucker suggested an expedient fix, which would be to not put  
>>>>> spaces in
>>>>> the default installation path.
>>>>> Can we install to
>>>>>
>>>>> OpenLaszloServer4.2.x
>>>>> or
>>>>> OpenLaszlo_Server_4.2.x
>>>>>
>>>>> instead of
>>>>> OpenLaszlo Server 4.2.x?
>>>>>
>>>>> Otherwise, I don't know how long it is going to take me to  
>>>>> figure out
>>>>> how to make
>>>>> their compiler deal with this, and if they haven't fixed it since
>>>>> 2006, my guess is it might
>>>>> not be trivial...
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Mon, Jun 16, 2008 at 4:56 PM, David Temkin <temkin at laszlosystems.com 
>>>>> >
>>>>> wrote:
>>>>>>
>>>>>> ah, good!
>>>>>>
>>>>>> On Jun 16, 2008, at 1:55 PM, Henry Minsky wrote:
>>>>>>
>>>>>>> The bug happens when the LPS is installed on MacOSX in a  
>>>>>>> pathname
>>>>>>> which contains spaces. It is apparently
>>>>>>> a known flex compiler bug.
>>>>>>>
>>>>>>> We're trying to find a fix for it. Luckily we have the flex  
>>>>>>> source
>>>>>>> code...
>>>>>>>
>>>>>>>
>>>>>>> On Mon, Jun 16, 2008 at 11:17 AM, P T Withington <ptw at laszlosystems.com 
>>>>>>> >
>>>>>>> wrote:
>>>>>>>>
>>>>>>>> Remember there are those copy targets for the 'manifest' some  
>>>>>>>> of which
>>>>>>>> translate when copying.  Maybe your files are not in the  
>>>>>>>> right list?
>>>>>>>> Or
>>>>>>>> are
>>>>>>>> being filtered out by extension?
>>>>>>>>
>>>>>>>> On 2008-06-16, at 10:49 EDT, Henry Minsky wrote:
>>>>>>>>
>>>>>>>>> Hmm, still broken, the directories I added are not showing  
>>>>>>>>> up in the
>>>>>>>>> installer that gets built.
>>>>>>>>> I'm going to look at the build-distro ant targets more  
>>>>>>>>> closely...
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Sun, Jun 15, 2008 at 7:22 PM, Henry Minsky
>>>>>>>>> <hminsky at laszlosystems.com>
>>>>>>>>> wrote:
>>>>>>>>>>
>>>>>>>>>> I modified the "build-dist-dir-core" target, and I thought  
>>>>>>>>>> that every
>>>>>>>>>> variant of the installers would use that, but maybe
>>>>>>>>>> I missed something ? When I did an ant dist-one, I looked  
>>>>>>>>>> and the
>>>>>>>>>> staging directory it built had the flex directories in it,  
>>>>>>>>>> but I
>>>>>>>>>> didn't actually build an installer on my machine.
>>>>>>>>>>
>>>>>>>>>> Maybe Mamye can help out and see what is on the nightly build
>>>>>>>>>> machine,
>>>>>>>>>> to see if it actually got the updated
>>>>>>>>>> build.xml yet.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Sun, Jun 15, 2008 at 12:37 PM, David Temkin
>>>>>>>>>> <temkin at laszlosystems.com>
>>>>>>>>>> wrote:
>>>>>>>>>>>
>>>>>>>>>>> does the installer need to be modified? or did you check  
>>>>>>>>>>> this with
>>>>>>>>>>> the
>>>>>>>>>>> "servlet only" build?
>>>>>>>>>>>
>>>>>>>>>>> On Jun 15, 2008, at 5:14 AM, Henry Minsky wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Hmm, for some reason the nightly build last night does  
>>>>>>>>>>>> not contain
>>>>>>>>>>>> the
>>>>>>>>>>>> new directories. Either I missed some
>>>>>>>>>>>> time window with my checkin, or else I have to check with  
>>>>>>>>>>>> Mamye on
>>>>>>>>>>>> Monday and see what  the nightly builder
>>>>>>>>>>>> machine is doing.
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> On Sat, Jun 14, 2008 at 7:50 PM, David Temkin
>>>>>>>>>>>> <temkin at laszlosystems.com>
>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>> thanks, will download tomorrow...
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Jun 14, 2008, at 4:37 PM, Henry Minsky wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> I checked in what should be the fix, so if a nightly  
>>>>>>>>>>>>>> build runs
>>>>>>>>>>>>>> tonight, we  can try testing it tomorrow.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Sat, Jun 14, 2008 at 6:07 PM, Henry Minsky
>>>>>>>>>>>>>> <hminsky at laszlosystems.com>
>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> I see that error when I downloaded the nightly build.  
>>>>>>>>>>>>>>> Now I have
>>>>>>>>>>>>>>> to
>>>>>>>>>>>>>>> figure out what is different in the
>>>>>>>>>>>>>>> nightly build than in trunk. Probably the distro  
>>>>>>>>>>>>>>> builder needs
>>>>>>>>>>>>>>> to
>>>>>>>>>>>>>>> be
>>>>>>>>>>>>>>> updated to include some other flex
>>>>>>>>>>>>>>> support directories that I added.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On Sat, Jun 14, 2008 at 5:51 PM, Henry Minsky
>>>>>>>>>>>>>>> <hminsky at laszlosystems.com>
>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Did you download a nightly build, or did you check  
>>>>>>>>>>>>>>>> out trunk
>>>>>>>>>>>>>>>> from
>>>>>>>>>>>>>>>> svn
>>>>>>>>>>>>>>>> and "ant build" it?
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On Fri, Jun 13, 2008 at 6:49 PM, David Temkin
>>>>>>>>>>>>>>>> <temkin at laszlosystems.com>
>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Henry,
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> I downloaded/installed trunk and tried to compile  
>>>>>>>>>>>>>>>>> Weather for
>>>>>>>>>>>>>>>>> SWF9.
>>>>>>>>>>>>>>>>> No
>>>>>>>>>>>>>>>>> go.
>>>>>>>>>>>>>>>>> Is this supposed to work?
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> - D.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>> Henry Minsky
>>>>>>>>>>>>>>>> Software Architect
>>>>>>>>>>>>>>>> hminsky at laszlosystems.com
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>> Henry Minsky
>>>>>>>>>>>>>>> Software Architect
>>>>>>>>>>>>>>> hminsky at laszlosystems.com
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>> Henry Minsky
>>>>>>>>>>>>>> Software Architect
>>>>>>>>>>>>>> hminsky at laszlosystems.com
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> Henry Minsky
>>>>>>>>>>>> Software Architect
>>>>>>>>>>>> hminsky at laszlosystems.com
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Henry Minsky
>>>>>>>>>> Software Architect
>>>>>>>>>> hminsky at laszlosystems.com
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Henry Minsky
>>>>>>>>> Software Architect
>>>>>>>>> hminsky at laszlosystems.com
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Henry Minsky
>>>>>>> Software Architect
>>>>>>> hminsky at laszlosystems.com
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Henry Minsky
>>>>> Software Architect
>>>>> hminsky at laszlosystems.com
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> Henry Minsky
>>> Software Architect
>>> hminsky at laszlosystems.com
>>>
>>
>>
>>
>> -- 
>> Henry Minsky
>> Software Architect
>> hminsky at laszlosystems.com
>



More information about the Laszlo-dev mailing list