Re: Flex SDK "dependencies"

2014-11-04 Thread Erik de Bruin
> > >I'll step through FalconJX again, but at some point the stack jumps to > >Falcon for the actual compilation, so I'm not sure what I might be able to > >achieve on "my" end. > > For sure, the code jumps to Falcon and Falcon reports the error. I’m > thinking that there is a Configuration differ

Re: Flex SDK "dependencies"

2014-11-03 Thread Alex Harui
On 11/3/14, 12:00 PM, "Erik de Bruin" wrote: >> >> So it looks to me it is running FalconJX’s compc, not Falcon’s. So the >> issue is probably that FalconJX’s compc doesn’t know how to ignore >> lookupOnly entries. For FlexJS, we are not using COMPC to compile the >>SDK >> so we’ve probably n

Re: Flex SDK "dependencies"

2014-11-03 Thread Erik de Bruin
> > So it looks to me it is running FalconJX’s compc, not Falcon’s. So the > issue is probably that FalconJX’s compc doesn’t know how to ignore > lookupOnly entries. For FlexJS, we are not using COMPC to compile the SDK > so we’ve probably never hit this. > I'll step through FalconJX again, but

Re: Flex SDK "dependencies"

2014-11-03 Thread Alex Harui
On 11/3/14, 10:48 AM, "Erik de Bruin" wrote: > >This is not touched by the code I'm writing. This is what the compiler >(Falcon) puts out when I feed it the entire SDK (with the arguments as >listed in "FlexSKDToJS.sh"). OK, I spend time reading this .sh file you wrote. I see this line: java

Re: Flex SDK "dependencies"

2014-11-03 Thread Erik de Bruin
> > >> >Not sure what the 'lookupOnly="true"' means ... does that attribute > >>allow > >> >the old compiler to ignore the lack of a 'MiniDebugTarget.as' file > >> >anywhere > >> >in the SDK? > >> > >> Don’t know for sure. It appears it is used to add entries to an xml > >> namespace without actua

Re: Flex SDK "dependencies"

2014-11-03 Thread Alex Harui
On 11/3/14, 10:15 AM, "Erik de Bruin" wrote: >> >> >Not sure what the 'lookupOnly="true"' means ... does that attribute >>allow >> >the old compiler to ignore the lack of a 'MiniDebugTarget.as' file >> >anywhere >> >in the SDK? >> >> Don’t know for sure. It appears it is used to add entries to

Re: Flex SDK "dependencies"

2014-11-03 Thread Erik de Bruin
> > >Not sure what the 'lookupOnly="true"' means ... does that attribute allow > >the old compiler to ignore the lack of a 'MiniDebugTarget.as' file > >anywhere > >in the SDK? > > Don’t know for sure. It appears it is used to add entries to an xml > namespace without actually including the source

Re: Flex SDK "dependencies"

2014-11-03 Thread Alex Harui
On 11/3/14, 9:57 AM, "Erik de Bruin" wrote: > >/Users/erik/Documents/ApacheFlex/git/flex-sdk/frameworks/projects/spark/ma >nifest.xml:295 > class="mx.logging.targets.MiniDebugTarget" >lookupOnly="true"/> > >Not sure what the 'lookupOnly="true"' means ... does that attribute allow >the old compil

Re: Flex SDK "dependencies"

2014-11-03 Thread Erik de Bruin
Yeah, I stepped through the code till my feet hurt ;-) That didn't give me anything, as the errors are thrown when the compilation units are still being gathered, so no actual compilation is done. A search of the entire SDK gives these references to 'MiniDebugTaget': /Users/erik/Documents/ApacheF

Re: Flex SDK "dependencies"

2014-11-03 Thread Alex Harui
Maybe you’ve already tried this, but what I typically do when getting an unexpected/undesirable error in Falcon/FalconJX is put a breakpoint on the constructor of the XXXProblem class. When the constructor gets hit, up the call stack is hopefully the node being processed. In the variables window

Re: Flex SDK "dependencies"

2014-11-02 Thread Erik de Bruin
It's a 'NoSourceForClassInNamespaceProblem', and the only places that is 'thrown' is in SWCTarget (Falcon) and FlexJSSWCTarget (FalconJX). It is referenced in both the 'validateIncludeNamespaceEntries' and 'getCompilationUnitsFromClassNames' methods. It seems related to the actual compilation of t

Re: Flex SDK "dependencies"

2014-11-02 Thread Alex Harui
Interesting. Have you found where the “could not find source” is output? If you break on that, you can usually find out which source file is being compiled and look at the source and try to figure out why. It could just be unused import statements in those source files. FalconJX I think relies o

Re: Flex SDK "dependencies"

2014-11-02 Thread Erik de Bruin
If I leave out "-external-library-path=fds.swc", I get: Could not find source for class mx.data.mxml.DataService in namespace library://ns.adobe.com/flex/spark. Could not find source for class mx.messaging.channels.SecureRTMPChannel in namespace library://ns.adobe.com/flex/spark. Could not fin

Re: Flex SDK "dependencies"

2014-11-01 Thread Alex Harui
What errors do you get? On 10/31/14, 11:47 PM, "Erik de Bruin" wrote: >Hi, > >When compiling the Flex SDK to JS with FalconJX (not Falcon), I get errors >if I don't include these files: > >-source-path=mx.logging.targets.MiniDebugTarget > >-external-library-path=fds.swc > >At first I could not f