incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Schmalle <m...@teotigraphix.com>
Subject Re: Falcon compiler(.tests) building
Date Tue, 20 Nov 2012 21:11:24 GMT
Carol,

I can fix these, how would you suggest? Just using + concatenation? or  
StringBuffer?

Mike

Quoting Carol Frampton <cframpto@adobe.com>:

> File.separatorChar
>
>
> On 11/20/12 4 :01PM, "Alex Harui" <aharui@adobe.com> wrote:
>
>> Gordon uses a Windows machine and the tests have some backslashes in the
>> paths so the fail on Mac.
>>
>> What is the proper way to deal with slashes on different platforms in
>> Java?
>> If you know, you can fix the code in
>> compiler.tests/unit-tests/org/apache/flex/compiler/internal/tree/mxml/MXML
>> No
>> deBaseTests.java
>>
>> And maybe elsewhere.
>>
>> -Alex
>>
>> On 11/20/12 8:34 AM, "Erik de Bruin" <erik@ixsoftware.nl> wrote:
>>
>>> Well, at least I know I'm not crazy, since you see the same failures ;-)
>>>
>>> I'll wait for Gordon and meanwhile do a bit of the new website.
>>>
>>> EdB
>>>
>>>
>>> On Tue, Nov 20, 2012 at 5:15 PM, Carol Frampton <cframpto@adobe.com>
>>> wrote:
>>>> Erik,
>>>>
>>>> I sent just email to Gordon and got back an "out of office" until
>>>> Monday
>>>> email so you'll either have to wait or debug it.
>>>>
>>>> Carol
>>>>
>>>> On 11/20/12 7 :17AM, "Erik de Bruin" <erik@ixsoftware.nl> wrote:
>>>>
>>>>> Just guessing now, but: the MXML is read from a file in the 'temp'
>>>>> dir, right? If I put a breakpoint somewhere, I can see those files are
>>>>> created and the contents that I can see seem to be correct. But what
>>>>> about the contents that are not immediately visible? There was a lot
>>>>> to do about line endings and such on the listÅ  might this be affected
>>>>> by something like that?
>>>>>
>>>>> EdB
>>>>>
>>>>>
>>>>>
>>>>> On Tue, Nov 20, 2012 at 1:09 PM, Michael Schmalle
>>>>> <apache@teotigraphix.com> wrote:
>>>>>> I did exactly what you now tried; checkout the whole Apache project,
>>>>>> build
>>>>>> framework and build compiler.
>>>>>>
>>>>>> The only difference I see here is you are on OSX, but I think Carol
>>>>>> is
>>>>>> to.
>>>>>>
>>>>>> I just ran my tests from the compiler.tests/build.xml and all passed.
>>>>>>
>>>>>> Unfortunately, without sitting next to you and looking, I have no
>>>>>> idea
>>>>>> what
>>>>>> is going wrong. I bet it is something small and ridiculous though.
>>>>>>
>>>>>>
>>>>>> Mike
>>>>>>
>>>>>> Quoting Erik de Bruin <erik@ixsoftware.nl>:
>>>>>>
>>>>>>> Latest news:
>>>>>>>
>>>>>>> - I got myself a new working copy of the entire Flex SVN repo,
so I
>>>>>>> don't need to mess with paths etc. anymore.
>>>>>>> - I did a build of the SDK in 'branches/develop' without problems.
>>>>>>> - I did a build of the Falcon compiler ('ant main' in trunk)
and got
>>>>>>> the EXACT SAME results as before, i.e. jUnit test fail and I
get
>>>>>>> some
>>>>>>> warnings!
>>>>>>> - switching from ant 1.8 to 1.7.1 made the "includeantruntime"
>>>>>>> warning
>>>>>>> go
>>>>>>> away
>>>>>>> - the build file in 'compiler' is looking for 'flexTasks.jar'
in the
>>>>>>> "ant/lib" directory of the SDK which, on my machine at least,
does
>>>>>>> not
>>>>>>> exist; changing all references to "ant/lib" to "lib" (3x), where
>>>>>>> that
>>>>>>> jar does exist, makes the last warning go away;
>>>>>>> - I created a JIRA ticket [1] and attached the output of 'ant
main'
>>>>>>> (after an 'ant wipe') to it.
>>>>>>>
>>>>>>> Now, if these tests need to pass on my system before I can start
>>>>>>> contributing, I need some input. If solving the reason why they
fail
>>>>>>> is some sort of initiation rite, it's going to take me a bit
more
>>>>>>> time
>>>>>>> to get into the 'inner circle' ;-)
>>>>>>>
>>>>>>> EdB
>>>>>>>
>>>>>>> 1: https://issues.apache.org/jira/browse/FLEX-33271
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Mon, Nov 19, 2012 at 6:08 PM, Erik de Bruin <erik@ixsoftware.nl>
>>>>>>> wrote:
>>>>>>>>
>>>>>>>> Ok,
>>>>>>>>
>>>>>>>> I did a super-clean and main on the SDK, was successful.
>>>>>>>>
>>>>>>>> Did a wipe and main on the compiler and compiler.tests, no
luck.
>>>>>>>>
>>>>>>>> I've piped the results of the compiler main to a text file.
If
>>>>>>>> anyone
>>>>>>>> is interested, I'll create a JIRA ticket and attache that
file to
>>>>>>>> it.
>>>>>>>>
>>>>>>>> EdB
>>>>>>>>
>>>>>>>>
>>>>>>>> On Mon, Nov 19, 2012 at 5:02 PM, Erik de Bruin <erik@ixsoftware.nl>
>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>> Thank you! I already figured out the first 3, but not
the
>>>>>>>>> 'sdk.branch', good suggestion.
>>>>>>>>>
>>>>>>>>> EdB
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Mon, Nov 19, 2012 at 4:53 PM, Carol Frampton
>>>>>>>>> <cframpto@adobe.com>
>>>>>>>>> wrote:
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On 11/18/12 12 :55PM, "Erik de Bruin" <erik@ixsoftware.nl>
wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi,
>>>>>>>>>>>
>>>>>>>>>>> I have followed the various instructions and
was able to
>>>>>>>>>>> successfully
>>>>>>>>>>> build the Falcon compiler. Along the way I encountered
several
>>>>>>>>>>> issues
>>>>>>>>>>> that are not yet documented (I'm on OS X 10.8):
>>>>>>>>>>>
>>>>>>>>>>> - I needed to edit the 'build.xml' file on line
50, to point the
>>>>>>>>>>> 'sdk.branch' property to the correct location
of the SDK on my
>>>>>>>>>>> system;
>>>>>>>>>>> - when trying to use the mxmlc on a project,
I got 'permission
>>>>>>>>>>> denied'. Setting the executable bit on the file
corrected that;
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> I'm running on OS X 10.7.  If you follow the instructions
in the
>>>>>>>>>> falcon/trunk/README you should not have to make any
edits to
>>>>>>>>>> build.xml
>>>>>>>>>> assuming your directory tree looks like it does in
svn.
>>>>>>>>>>
>>>>>>>>>> Before trying to build Falcon, you must:
>>>>>>>>>>
>>>>>>>>>> 1. Build the the "develop" branch of the SDK at
>>>>>>>>>> incubator/flex/sdk/branches/develop by doing 'ant
main'.
>>>>>>>>>> See the README there for instructions.
>>>>>>>>>>
>>>>>>>>>> 2. Set the environment variables JAVA_HOME, ANT_HOME,
and
>>>>>>>>>> PLAYERGLOBAL_HOME as when building the SDK.
>>>>>>>>>>
>>>>>>>>>> 3. Set the environment variable JFLEX_JAR to point
to the JAR
>>>>>>>>>> file
>>>>>>>>>> for
>>>>>>>>>> JFlex 1.4.3.
>>>>>>>>>>
>>>>>>>>>> sdk.branch is set to <property name="sdk.branch"
>>>>>>>>>> value="${compiler}/../../../sdk/branches/develop"/>.
If this is
>>>>>>>>>> not
>>>>>>>>>> the
>>>>>>>>>> case for you, rather than edit build.xml invoke it
with
>>>>>>>>>> ant -Dsdk.branch=/path/to/sdk
>>>>>>>>>>
>>>>>>>>>> or add falcon/complier/local.properties and set sdk.branch
in
>>>>>>>>>> there.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Carol
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Ix Multimedia Software
>>>>>>>>>
>>>>>>>>> Jan Luykenstraat 27
>>>>>>>>> 3521 VB Utrecht
>>>>>>>>>
>>>>>>>>> T. 06-51952295
>>>>>>>>> I. www.ixsoftware.nl
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Ix Multimedia Software
>>>>>>>>
>>>>>>>> Jan Luykenstraat 27
>>>>>>>> 3521 VB Utrecht
>>>>>>>>
>>>>>>>> T. 06-51952295
>>>>>>>> I. www.ixsoftware.nl
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Ix Multimedia Software
>>>>>>>
>>>>>>> Jan Luykenstraat 27
>>>>>>> 3521 VB Utrecht
>>>>>>>
>>>>>>> T. 06-51952295
>>>>>>> I. www.ixsoftware.nl
>>>>>>>
>>>>>>
>>>>>> --
>>>>>> Michael Schmalle - Teoti Graphix, LLC
>>>>>> http://www.teotigraphix.com
>>>>>> http://blog.teotigraphix.com
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Ix Multimedia Software
>>>>>
>>>>> Jan Luykenstraat 27
>>>>> 3521 VB Utrecht
>>>>>
>>>>> T. 06-51952295
>>>>> I. www.ixsoftware.nl
>>>>
>>>
>>>
>>
>> --
>> Alex Harui
>> Flex SDK Team
>> Adobe Systems, Inc.
>> http://blogs.adobe.com/aharui
>>
>
>




Mime
View raw message