flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: [FlexJS]missing css
Date Mon, 21 Nov 2016 18:18:40 GMT
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" <harbs.lists@gmail.com> wrote:

>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 Harui <aharui@adobe.com> wrote:
>
>> 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" <harbs.lists@gmail.com> wrote:
>> 
>>> 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 <aharui@adobe.com> wrote:
>>> 
>>>> 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" <harbs.lists@gmail.com> wrote:
>>>> 
>>>>> 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:
>>>>> 
>>>>> <?xml version="1.0" encoding="utf-8"?>
>>>>> <js:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
>>>>> 				initialize="init()"
>>>>> 				xmlns:js="library://ns.apache.org/flexjs/basic">
>>>>> 	<fx:Script>
>>>>> 		<![CDATA[
>>>>> 			private function init():void{
>>>>> 			trace("hello");
>>>>> 			}
>>>>> 			private function openHelpWindow():void{
>>>>> 				trace("open help");
>>>>> 			}
>>>>> 			private function navigateToPrintUI():void{
>>>>> 				trace("open url");
>>>>> 			}
>>>>> 		]]>
>>>>> 	</fx:Script>
>>>>> 	<js:beads>
>>>>> 		<js:BrowserResizeHandler/>
>>>>> 	</js:beads>
>>>>> 	<js:valuesImpl>
>>>>> 		<js:SimpleCSSValuesImpl />
>>>>> 	</js:valuesImpl>
>>>>> 	<js:initialView>
>>>>> 		<js:View>
>>>>> 			<js:Button bottom="0" horizontalCenter="0" styleName="logoImage"
>>>>> 					   click="navigateToPrintUI()"/>
>>>>> 			<js:Button bottom="0" right="20" styleName="helpButton"
>>>>> 					   click="openHelpWindow()"/>
>>>>> 			<js:TextArea id="progressText"/>
>>>>> 			<js:Container percentWidth="100">
>>>>> 				<js:style>
>>>>> 					<js:SimpleCSSStyles bottom="0" paddingTop="3"
>>>>>paddingBottom="3"/>
>>>>> 				</js:style>
>>>>> 				<js:beads>
>>>>> 					<js:VerticalLayout/>
>>>>> 				</js:beads>
>>>>> 			</js:Container>
>>>>> 		</js:View>
>>>>> 	</js:initialView>
>>>>> 
>>>>> <js:Application>
>>>>> 
>>>>> On Nov 21, 2016, at 6:27 PM, Alex Harui <aharui@adobe.com> wrote:
>>>>> 
>>>>>> FalconJX only generates a CSS file if the application is using an
>>>>>> ICSSImpl, like SimpleCSSValuesImpl.
>>>>>> 
>>>>>> -Alex
>>>>>> 
>>>>>> On 11/21/16, 4:36 AM, "Harbs" <harbs.lists@gmail.com> 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 <harbs.lists@gmail.com>
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 (as far as I can tell), but neither produce
the css
>>>>>>>> file
>>>>>>>> although the html file links to it.
>>>>>>>> 
>>>>>>>> I’m using the latest nightly falcon.
>>>>>>>> 
>>>>>>>> Any ideas why it might not be produced?
>>>>>>> 
>>>>>> 
>>>>> 
>>>> 
>>> 
>> 
>

Mime
View raw message