Re: Node problems (was Re: [FlexJS]missing css)

2016-11-22 Thread Josh Tynjala
I'm pretty sure that the "variable XML is undeclared" warning is unrelated to node.swc. I noticed that the globals.js extern was not included in the node.swc, for some reason. It appears to compile fine if I add it, so that was probably just a simple mistake. That should get rid of the issue with

Re: [FlexJS]missing css

2016-11-22 Thread Carlos Rovira
I saw some of the things reported here of bad closing tags giving some strange errors...thanks that I saw it quickly in my case, but blinded by pursuing my own problems at that moment does not make me think in report this. But it's clear those are errors very visible to people working just few hour

Re: Node problems (was Re: [FlexJS]missing css)

2016-11-22 Thread Harbs
There’s a number of different classes of errors I’m getting. Some I believe to be blockers: Redeclared variable constant fs assigned a value more than once variable XML is undeclared variable Buffer is undeclared WARNING: externs/assert.js:142: WARNING - accessing name assert in externs has no e

Re: Node problems (was Re: [FlexJS]missing css)

2016-11-22 Thread Josh Tynjala
Yes, I probably should have made those automatically generated require() calls work similarly to "internal" classes that appear after the package block, where they end up being stored statically on the class in the generated JS instead of globally. The redeclared variable warnings should be safe to

Node problems (was Re: [FlexJS]missing css)

2016-11-22 Thread Harbs
I’m now on to the next issue: I’m getting lots of errors like this: (and by lots, I mean 1300 lines worth of output) I have lots of Node.js code in my project and all the require() statements are output automatically. It seems to me that the variable declarations should be scoped to the file (o

Re: [FlexJS]missing css

2016-11-22 Thread Alex Harui
On 11/22/16, 11:54 AM, "Josh Tynjala" wrote: >I've been meaning to create a JIRA issue for another MXML parsing issue >that I recently discovered. > >If you have an un-closed XML comment

Re: [FlexJS]missing css

2016-11-22 Thread Josh Tynjala
I've been meaning to create a JIRA issue for another MXML parsing issue that I recently discovered. If you have an un-closed XML comment

Re: [FlexJS]missing css

2016-11-22 Thread Alex Harui
On 11/22/16, 11:26 AM, "Harbs" wrote: >OMG!!! I used other acronyms, but it was mostly amusing to me that neither of us saw this. > >I guess the question is why the compiler didn’t give a more intelligent >error. The compiler seems to think it will find errors in the parsing, but not in the

Re: [FlexJS]missing css

2016-11-22 Thread Harbs
OMG!!! That was it. Phew! Changing that brought up some (real) errors, and fixing them gave me proper output. I guess the question is why the compiler didn’t give a more intelligent error. Thanks, Harbs On Nov 22, 2016, at 9:19 PM, Alex Harui wrote: > > > On 11/22/16, 2:40 AM, "Harbs" wro

Re: [FlexJS]missing css

2016-11-22 Thread Alex Harui
On 11/22/16, 2:40 AM, "Harbs" wrote: >There’s not a lot in the project. Please take a look and let me know if >you can spot what’s wrong. I don't know if this is the only problem, but I did find a problem that I should have seen earlier, but I only saw after spending an hour stepping through

Re: [FlexJS]missing css

2016-11-22 Thread Harbs
Here is a stripped down project with not much in it. I copied a lot of the build.xml from the CreateJS project with the exception of removing the SWF compile. When I remove the SWF compile in the CreateJS project, it compiles correctly. I also added arguments for library-path and external-libra

Re: [FlexJS]missing css

2016-11-22 Thread Harbs
Here maybe a clue: I changed the js-output-type to JSC and I got the following error: build_example.compilejs: [echo] Compiling PrintUIManagement.js [echo] FLEX_HOME: /FlexSDK/FlexJSNightly [echo] FALCONJX_HOME: /FlexSDK/FlexJSNightly/js [echo] GOOG_HOME: /FlexSDK/FlexJSNightl

Re: [FlexJS]missing css

2016-11-21 Thread Alex Harui
Post PrintUIManagement.js. Maybe there is a clue in there. The only other thing I saw that was strange was a setting of -external-library-path=typedefs. I have no idea what that does, but if the wrong SWCs are seen as external then there wouldn't be a goog.requires. But there still should be so

Re: [FlexJS]missing css

2016-11-21 Thread Harbs
No mention at all. On Nov 22, 2016, at 6:58 AM, Alex Harui wrote: > What's in the rest of the PrintUIManagement.js? Does it mention > SimpleCSSValuesImpl but no requires for it? > > -Alex > > On 11/21/16, 1:45 PM, "Harbs" wrote: > >> http://pastebin.com/R1H43Qrr >> >> Here’s the requires:

Re: [FlexJS]missing css

2016-11-21 Thread Alex Harui
What's in the rest of the PrintUIManagement.js? Does it mention SimpleCSSValuesImpl but no requires for it? -Alex On 11/21/16, 1:45 PM, "Harbs" wrote: >http://pastebin.com/R1H43Qrr > >Here’s the requires: >goog.provide('PrintUIManagement'); >goog.require('org.apache.flex.utils.EffectTimer'); >

Re: [FlexJS]missing css

2016-11-21 Thread Harbs
http://pastebin.com/R1H43Qrr Here’s the requires: goog.provide('PrintUIManagement'); goog.require('org.apache.flex.utils.EffectTimer'); goog.require('org.apache.flex.core.SimpleStatesImpl'); goog.require('org.apache.flex.core.Application'); On Nov 21, 2016, at 11:41 PM, Alex Harui wrote: > >

Re: [FlexJS]missing css

2016-11-21 Thread Alex Harui
On 11/21/16, 1:23 PM, "Harbs" wrote: >SimpleCSSValuesImpl.js is not in the output folder at all. > >In fact, I’m not getting Button.js either, but I am getting TextArea.js >and Container.js. > >Really odd... Post the entire console output. Are you trying to use the CoreJS.swc? It won't have

Re: [FlexJS]missing css

2016-11-21 Thread Harbs
SimpleCSSValuesImpl.js is not in the output folder at all. In fact, I’m not getting Button.js either, but I am getting TextArea.js and Container.js. Really odd... On Nov 21, 2016, at 8:18 PM, Alex Harui wrote: > FalconJX is supposedly scanning the JS files in the output folder for > "@impleme

Re: [FlexJS]missing css

2016-11-21 Thread Alex Harui
FalconJX is supposedly scanning the JS files in the output folder for "@implements" and "org.apache.flex.core.ICSSImpl" on the same line, which should be found in SimpleCSSValuesImpl.js. Do you see that in the output folder? -Alex On 11/21/16, 9:46 AM, "Harbs" wrote: >Yes. I get the css file us

Re: [FlexJS]missing css

2016-11-21 Thread Harbs
Yes. I get the css file using DataBindingExample (as well as other projects). There’s something unique to this project and I have no clue what. The only thing that comes to mind is that it’s not compiling a swf version, but I don’t know why that should matter. On Nov 21, 2016, at 7:41 PM, Alex

Re: [FlexJS]missing css

2016-11-21 Thread Alex Harui
Do you build falcon from sources? Build DataBindingExample from the repo using the falcons sources and see if you get .css files. I do. Then we can figure out if some other thing has gone wrong in your setup. -Alex On 11/21/16, 9:38 AM, "Harbs" wrote: >I used both VS Code and ant. Flash Buil

Re: [FlexJS]missing css

2016-11-21 Thread Harbs
I used both VS Code and ant. Flash Builder is not working for me. Here’s a pastebin with both sets of configs: http://pastebin.com/HaG0pmvj On Nov 21, 2016, at 7:30 PM, Alex Harui wrote: > But you are compiling against CoreJS? If I compile DataBindingExample, I > get a CSS file. Does DataBi

Re: [FlexJS]missing css

2016-11-21 Thread Alex Harui
But you are compiling against CoreJS? If I compile DataBindingExample, I get a CSS file. Does DataBindingExample work for you? If so, what differences are there in your config? -Alex On 11/21/16, 9:01 AM, "Harbs" wrote: >I thought that might be it for a minute, but it did not help. :-( > >I

Re: [FlexJS]missing css

2016-11-21 Thread Harbs
I thought that might be it for a minute, but it did not help. :-( I stripped the app down to a minimal, and it’s still not working: http://ns.adobe.com/mxml/2009"; initialize="init()" xmlns:js="library://ns.apache.org/flexjs/basic"

Re: [FlexJS]missing css

2016-11-21 Thread Alex Harui
FalconJX only generates a CSS file if the application is using an ICSSImpl, like SimpleCSSValuesImpl. -Alex On 11/21/16, 4:36 AM, "Harbs" wrote: >FWIW: I’m only compiling to JS and not to SWF. Maybe that’s causing the >problem? > >On Nov 21, 2016, at 1:29 PM, Harbs wrote: > >> I’m going crazy

Re: [FlexJS]missing css

2016-11-21 Thread Harbs
FWIW: I’m only compiling to JS and not to SWF. Maybe that’s causing the problem? On Nov 21, 2016, at 1:29 PM, Harbs wrote: > I’m going crazy trying to figure out why I’m not getting a css file produced. > I’m compiling both with Josh’s VS Code extension and ant. Both produce > correct output (a