Possible 'pilot error' - I've used the Project->Build Project cmd. Now,
I've noticed the Run->External Tools-> ASJSC (Debug and Release Build) cmd,
and now I'm getting some console output.

For the simple example:

<?xml version="1.0" encoding="utf-8"?>
<js:Application xmlns:fx="http://ns.adobe.com/mxml/2009";
    xmlns:js="library://ns.apache.org/royale/express">
 <js:initialView>
  <js:View>
   <js:Label text="Hello World" x="100" y="100"/>
  </js:View>
 </js:initialView>
</js:Application>

The debug seems to be running fine but the build console shows some error:

MXMLJSC
-js-output-type=jsc
+configname=js
-debug=true
-fb
E:\Users\Piotr\Documents\FlashWOW\HelloW
using FlashBuilder Project Files
FlashBuilder settings:
    -source-path+=E:\Users\Piotr\Documents\FlashWOW\HelloW/src
    -compiler.accessible=true

-output=E:\Users\Piotr\Documents\FlashWOW\HelloW/bin-debug/HelloWorld.swf
    -library-path+=E:\Users\Piotr\Documents\FlashWOW\HelloW/libs
    +configname=flex
    -locale
    en_US
    -js-output-type=jsc
    +configname=js
    -debug=true
    -fb
    E:\Users\Piotr\Documents\FlashWOW\HelloW/src/HelloWorld.mxml
using FlashBuilder Project Files
FlashBuilder settings:
    -source-path+=E:\Users\Piotr\Documents\FlashWOW\HelloW/src
    -compiler.accessible=true

-output=E:\Users\Piotr\Documents\FlashWOW\HelloW/bin-debug/HelloWorld.swf
    -library-path+=E:\Users\Piotr\Documents\FlashWOW\HelloW/libs
    +configname=flex
    -locale
    en_US
    -js-output-type=jsc
    +configname=js
    -debug=true
    -fb
    E:\Users\Piotr\Documents\FlashWOW\HelloW/src/HelloWorld.mxml
E:\Users\Piotr\Documents\FlashWOW\HelloW\src\HelloWorld.mxml(2): col: 1
Error: This tag could not be resolved to an ActionScript class. It will be
ignored.
<js:Application xmlns:fx="http://ns.adobe.com/mxml/2009";
^


On Fri, Oct 9, 2020 at 12:49 PM Piotr Zarzycki <piotrzarzyck...@gmail.com>
wrote:

> The only options which comes to my mind is debug=true/false. Maybe you
> just stumbled over some issue which we don't know. I really cannot tell
> until you show me full console output somehow or reproduce completely what
> are the options being send to compiler using FB.
>
> I don't use FB for over 8 years, so cannot help really here.
>
> pt., 9 paź 2020 o 18:37 Piotr Grudzinski <pi...@powersmiths.com>
> napisał(a):
>
>> Hi Piotr,
>>
>> Just for my knowledge, in my case, is the HelloWorld.js generated by the
>> SDK using options received from the IDE?
>> And if yes, what set of options would result in an empty .js file?
>> The debug build seems as expected.
>>
>> Thanks,
>> Piotr
>>
>> On Fri, Oct 9, 2020 at 12:26 PM Piotr Zarzycki <piotrzarzyck...@gmail.com>
>> wrote:
>>
>>> Piotr,
>>>
>>> It is hard to answer to your question. I don't think that there are
>>> people who configured FB for Royale in the last I would say couple of
>>> years. Stick with some supported IDE plus you can always use some form of
>>> build your project which is IDE agnostic - like Maven or Ant.
>>>
>>> Thanks,
>>> Piotr
>>>
>>> pt., 9 paź 2020 o 18:14 Piotr Grudzinski <pi...@powersmiths.com>
>>> napisał(a):
>>>
>>>> As recommended, I've tried the VSCode. Both; js-debug and js-release
>>>> work fine.
>>>> Interestingly, content of js-debug is identical for VSCode and the
>>>> Flash Builder.
>>>> Assuming the same Royale SDK and the same result for debug build from
>>>> two IDEs, the different result for the release build seems a little
>>>> mysterious. Is there any configuration file in the SDK used by the FB to
>>>> control the build process?
>>>>
>>>> The FB would be my preferred choice as we have a lot of legacy projects
>>>> to convert.
>>>>
>>>> Regards,
>>>> Piotr
>>>>
>>>> On Fri, Oct 9, 2020 at 12:46 AM Carlos Rovira <carlosrov...@apache.org>
>>>> wrote:
>>>>
>>>>> As Piotr says,
>>>>>
>>>>> please you need to provide more info about how you're doing. There are
>>>>> many ways to use Royale (Maven, ANT, VSCode, Moonshine,...)
>>>>> Also Flash Builder is not really supported since it was an IDE
>>>>> discontinued by Adobe 10 years ago (at least I can't say much more about 
>>>>> it
>>>>> since I left behind many years ago). My advice is to use a newer and
>>>>> supported IDE: please try Moonshine or VS Code with AS3&MXML extension.
>>>>>
>>>>> El jue., 8 oct. 2020 a las 21:48, Piotr Zarzycki (<
>>>>> piotrzarzyck...@gmail.com>) escribió:
>>>>>
>>>>>> Piotr,
>>>>>>
>>>>>> Try one of the IDE which supports officially Royale? Moonshine IDE or
>>>>>> VSCode.
>>>>>> Next post here console output so we could help.
>>>>>>
>>>>>> Thanks,
>>>>>> Piotr
>>>>>>
>>>>>> On Thu, Oct 8, 2020, 6:26 PM Piotr Grudzinski <pi...@powersmiths.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Hello Carlos,
>>>>>>>
>>>>>>> With Flash Builder, running the build creates the debug versions of
>>>>>>> swf and js - both are functional.
>>>>>>> To create the release build the Export Release Build command is
>>>>>>> used. It creates the functional swf. The js version is not working - the
>>>>>>> HelloWorld.js is empty. So swf and js behave differently in case of the
>>>>>>> release build.
>>>>>>>
>>>>>>> Could you elaborate a little more on what you mean by:
>>>>>>> >have you setup "debug" to false, so release version could be
>>>>>>> created?
>>>>>>>
>>>>>>> Regards,
>>>>>>> Piotr
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Thu, Oct 8, 2020 at 11:48 AM Carlos Rovira <
>>>>>>> carlosrov...@apache.org> wrote:
>>>>>>>
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> have you setup "debug" to false, so release version could be
>>>>>>>> created?
>>>>>>>>
>>>>>>>> El jue., 8 oct. 2020 a las 15:48, Piotr Grudzinski (<
>>>>>>>> pi...@powersmiths.com>) escribió:
>>>>>>>>
>>>>>>>>> Hello all,
>>>>>>>>>
>>>>>>>>> I've built the HelloWorld example with Flash Builder 4.7 and
>>>>>>>>> Royale 0.9.8 (Oct 7).
>>>>>>>>> The application from js-debug works fine. In js-release the
>>>>>>>>> HelloWorld.js is empty.
>>>>>>>>>
>>>>>>>>> Seems that I've missed something?
>>>>>>>>>
>>>>>>>>> Regards,
>>>>>>>>> Piotr
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Carlos Rovira
>>>>>>>> Apache Member & Apache Royale PMC
>>>>>>>> *Apache Software Foundation*
>>>>>>>> http://about.me/carlosrovira
>>>>>>>>
>>>>>>>>
>>>>>
>>>>> --
>>>>> Carlos Rovira
>>>>> Apache Member & Apache Royale PMC
>>>>> *Apache Software Foundation*
>>>>> http://about.me/carlosrovira
>>>>>
>>>>>
>>>
>>> --
>>>
>>> Piotr Zarzycki
>>>
>>
>
> --
>
> Piotr Zarzycki
>

Reply via email to