On 1/2/13 10 :16AM, "Matt Hughes" <hughes.m...@gmail.com> wrote:

>I did add the variable in the compiler options.  That got things
>compiling,
>but then I was missing assets.  I added the source file for the *binary*
>distribution (for some reason, they aren't in the source distribution).
> That got me past that hurdle.  But then when I ran, the CSS files were
>missing...
>
>There has to be some defined way of doing thisÅ  I can't believe every
>Apache and Adobe contributor just muddles their way through this.  Isn't
>their some Ant task or some script that just sets up your Flash Builder
>project to use the source of a particular Flex SDK?  This is critical to
>having community participation.

If you have a built source tree you can cd to ide/flashbuilder and run
"ant make-sdk".  

In FlashBuilder, for your project, set your SDK to this directory.  Then
go to File -> Import -> General -> Existing Projects Into Workspace and
use the frameworks/projects directory as the root directory and look for
projects.  You can include any of these projects.  I usually include
frameworks, mx, spark and textLayout which covers the majority of my
development.  Then for your projects Properties -> Flex Build Path add
each of these projects.

There are a few frameworks/projects directories which don't have
FlashBuilder directories.

Note that your source tree will be "polluted" since
flex-config/air-config/airmobile-config.xml will be modified for
FlashBuilder.

Carol


>
>
>
>
>On Mon, Dec 31, 2012 at 11:51 AM, Alex Harui <aha...@adobe.com> wrote:
>
>>
>>
>>
>> On 12/31/12 7:38 AM, "Matt Hughes" <hughes.m...@gmail.com> wrote:
>>
>> > Is there some guide for editing SDK classes within Flash Builder?
>> >
>> > I have installed Flex 4.9 and have also downloaded the source.  I
>>tried
>> > just removing the mx.swc and framework.swc from the Build Path
>>Libraries
>> > and then adding the respective src folders.  That seems to get me
>>closer,
>> > but now I have lots of errors because I don't have the config
>>variable:
>> >
>> > CONFIG::performanceInstrumentation
>> >
>> >
>> > defined.  I'm trying to investigate a possible bug in the SDK while
>> running
>> > a small test project.  I'd like to make changes to some SDK classes
>>and
>> see
>> > if that resolves my problem.  I couldn't find any guides on the main
>>Flex
>> > page or on the Apache Flex wiki on getting this set up.
>> I don't know if there is one correct way of setting this up.  Each swc
>> folder should have FlashBuilder project files in it so you can import
>>each
>> folder as a project and set up your test app as dependent on those
>> projects.
>>
>> As a shortcut for your current setup, I think you can just define that
>> variable in the compiler options (and set it to false).
>>
>> --
>> Alex Harui
>> Flex SDK Team
>> Adobe Systems, Inc.
>> http://blogs.adobe.com/aharui
>>
>>

Reply via email to