Thanks. Does this path look right, "/Applications/Adobe Flash Builder
4.7/sdks/FlexJS2/frameworks/projects/Core/src"? BTW FlexJS folder is
FlexJS2.  and tried and it still doesn't find it. I tried cleaning and
restarting FB to no change. I'm on Mac.

It's not a big issue since I can access the files in the SDK directory but
if a launch config can set that up automatically it would help new
developers learning the source.

Also, what are your thoughts on adding top, left, bottom, right, vertical
center or horizontal center? I was looking into adding those to UIBase.

On Thu, Jun 2, 2016 at 11:35 PM, Alex Harui <aha...@adobe.com> wrote:

>
>
> On 6/2/16, 4:48 PM, "jude" <flexcapaci...@gmail.com> wrote:
>
> >I'm using FB and I have the DataBindingTest project open and I'm trying to
> >open the declaration of the classes but they are not being found.
> >
> >Code Navigation Error
> >Source could not be found for org.apache.flex.core.ViewBase in
> >/Applications/Adobe Flash Builder
> >4.7/sdks/FlexJS2/frameworks/libs/core.swc
> >
> >How do I resolve this? And also, when I create a swc for some of my
> >library
> >projects is the source not being included for them as well?
>
> AIUI, there is no way to package the SWCs so that FB automatically knows
> the source for those SWCs.  FB had a special case for mx.swc and spark.swc
> and the other Flex SDK swcs.
>
> Instead, any SWC must have source attached to the SWC by the
> end-user/developer after they've included the SWC in the project.  I've
> thought about creating a launch config to try to update the project files
> with source attachments, but that's still not a great solution either.  To
> attach source, go to the Project menu, choose Properties, then Flex Build
> Path.  Expand the Apache FlexJS SDK, then expand each SWC, double-click on
> source attachment, and enter the path to the source.
>
> I hope the other IDE vendors do a better job of that.
>
> HTH,
> -Alex
>
>

Reply via email to