You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@royale.apache.org by Takeshita Shoichiro <jl...@gmail.com> on 2019/12/09 13:29:31 UTC

How to compile tourdeflexmodules

When running mvn clean install at Examples, mxml files in the
\royale-asjs\examples\mxroyale\tourdeflexmodules directory are not compiled.

How can I do that?

I also have an error when opening ComboBoxExample.mxml in VS Code.

<s:Module xmlns:fx="http://ns.adobe.com/mxml/2009"
               xmlns:s="library://ns.apache.org/royale/spark"
               xmlns:mx="library://ns.apache.org/royale/mx"
               width="100%" height="100%">

This tag (<s:Module) is not resolved to ActionScript class.  what's wrong?

Shoichiro Takeshita

Re: How to compile tourdeflexmodules

Posted by Alex Harui <ah...@adobe.com>.
TDF has not been fully ported.  Some examples do not work or do not compile.  The Ant build script builds the ones that do compile.  The ones that build used to run but might have broken.  I expect the IDEs may try to build everything instead of the working subset.  So it is best to use Ant script for now.  I suppose you can set up small projects in an IDE, not sure.

HTH,
-Alex

From: Piotr Zarzycki <pi...@gmail.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, December 9, 2019 at 7:10 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: Re: How to compile tourdeflexmodules

In Moonshine I'm able to build Shell of Tour De Flex, but submodules won't be displayed cause they need to be build separately. We just didn't have time yet to look into that in Moonshine Team.

You can open project in Moonshine and try to build to see whether it's working at least - use newest Nightly.

In order to have fully functional stuff you need to use ant build.xml file.

pon., 9 gru 2019 o 15:58 Takeshita Shoichiro <jl...@gmail.com>> napisał(a):
Piotr, thanks.  Understood. My bigger problem is that many mxml files in this directory cannot be compiled successfully.  Compiling one by one using VS code. ComboBoxExample is one of them.  Can Moonshine compile it without error?

2019年12月9日(月) 22:36 Piotr Zarzycki <pi...@gmail.com>>:
Hi Takeshita,

I don't think that anyone tried to build multimodule project trough available IDEs VSCode or Moonshine. I recommend using Ant for that purposes - script is in that example build.xml

Thanks,
Piotr

pon., 9 gru 2019 o 14:29 Takeshita Shoichiro <jl...@gmail.com>> napisał(a):
When running mvn clean install at Examples, mxml files in the \royale-asjs\examples\mxroyale\tourdeflexmodules directory are not compiled.

How can I do that?

I also have an error when opening ComboBoxExample.mxml in VS Code.

<s:Module xmlns:fx="http://ns.adobe.com/mxml/2009<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.adobe.com%2Fmxml%2F2009&data=02%7C01%7Caharui%40adobe.com%7C87aec031461948a9f9c208d77cb9fb20%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637115010561726052&sdata=b4Zas6NIO4mC2ZrQ6Algt%2BLl1j7VkQyam0EebyVpzMA%3D&reserved=0>"
               xmlns:s="library://ns.apache.org/royale/spark<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.apache.org%2Froyale%2Fspark&data=02%7C01%7Caharui%40adobe.com%7C87aec031461948a9f9c208d77cb9fb20%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637115010561726052&sdata=afc5pfsxVmGgY6VgJpRb658IVKa7aB9vIxOA%2BNSadYU%3D&reserved=0>"
               xmlns:mx="library://ns.apache.org/royale/mx<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.apache.org%2Froyale%2Fmx&data=02%7C01%7Caharui%40adobe.com%7C87aec031461948a9f9c208d77cb9fb20%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637115010561736051&sdata=UwCdXFQN%2BMnCS8cvqHMb7oypp2CYerAECNvVWZnTWjs%3D&reserved=0>"
               width="100%" height="100%">

This tag (<s:Module) is not resolved to ActionScript class.  what's wrong?

Shoichiro Takeshita


--

Piotr Zarzycki

Patreon: https://www.patreon.com/piotrzarzycki<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C87aec031461948a9f9c208d77cb9fb20%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637115010561746043&sdata=I8uKx5EnzHckH1DkQOwgt2uAMbyHtfWoArpU5IcrvUk%3D&reserved=0>
--
Shoichiro Takeshita
武下 祥一郎


--

Piotr Zarzycki

Patreon: https://www.patreon.com/piotrzarzycki<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C87aec031461948a9f9c208d77cb9fb20%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637115010561746043&sdata=I8uKx5EnzHckH1DkQOwgt2uAMbyHtfWoArpU5IcrvUk%3D&reserved=0>

Re: How to compile tourdeflexmodules

Posted by Piotr Zarzycki <pi...@gmail.com>.
In Moonshine I'm able to build Shell of Tour De Flex, but submodules won't
be displayed cause they need to be build separately. We just didn't have
time yet to look into that in Moonshine Team.

You can open project in Moonshine and try to build to see whether it's
working at least - use newest Nightly.

In order to have fully functional stuff you need to use ant build.xml file.

pon., 9 gru 2019 o 15:58 Takeshita Shoichiro <jl...@gmail.com> napisał(a):

> Piotr, thanks.  Understood. My bigger problem is that many mxml files in
> this directory cannot be compiled successfully.  Compiling one by one using
> VS code. ComboBoxExample is one of them.  Can Moonshine compile it without
> error?
>
> 2019年12月9日(月) 22:36 Piotr Zarzycki <pi...@gmail.com>:
>
>> Hi Takeshita,
>>
>> I don't think that anyone tried to build multimodule project trough
>> available IDEs VSCode or Moonshine. I recommend using Ant for that purposes
>> - script is in that example build.xml
>>
>> Thanks,
>> Piotr
>>
>> pon., 9 gru 2019 o 14:29 Takeshita Shoichiro <jl...@gmail.com>
>> napisał(a):
>>
>>> When running mvn clean install at Examples, mxml files in the
>>> \royale-asjs\examples\mxroyale\tourdeflexmodules directory are not compiled.
>>>
>>> How can I do that?
>>>
>>> I also have an error when opening ComboBoxExample.mxml in VS Code.
>>>
>>> <s:Module xmlns:fx="http://ns.adobe.com/mxml/2009"
>>>                xmlns:s="library://ns.apache.org/royale/spark"
>>>                xmlns:mx="library://ns.apache.org/royale/mx"
>>>                width="100%" height="100%">
>>>
>>> This tag (<s:Module) is not resolved to ActionScript class.  what's
>>> wrong?
>>>
>>> Shoichiro Takeshita
>>>
>>
>>
>> --
>>
>> Piotr Zarzycki
>>
>> Patreon: *https://www.patreon.com/piotrzarzycki
>> <https://www.patreon.com/piotrzarzycki>*
>>
> --
> Shoichiro Takeshita
> 武下 祥一郎
>


-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*

Re: How to compile tourdeflexmodules

Posted by Takeshita Shoichiro <jl...@gmail.com>.
Piotr, thanks.  Understood. My bigger problem is that many mxml files in
this directory cannot be compiled successfully.  Compiling one by one using
VS code. ComboBoxExample is one of them.  Can Moonshine compile it without
error?

2019年12月9日(月) 22:36 Piotr Zarzycki <pi...@gmail.com>:

> Hi Takeshita,
>
> I don't think that anyone tried to build multimodule project trough
> available IDEs VSCode or Moonshine. I recommend using Ant for that purposes
> - script is in that example build.xml
>
> Thanks,
> Piotr
>
> pon., 9 gru 2019 o 14:29 Takeshita Shoichiro <jl...@gmail.com>
> napisał(a):
>
>> When running mvn clean install at Examples, mxml files in the
>> \royale-asjs\examples\mxroyale\tourdeflexmodules directory are not compiled.
>>
>> How can I do that?
>>
>> I also have an error when opening ComboBoxExample.mxml in VS Code.
>>
>> <s:Module xmlns:fx="http://ns.adobe.com/mxml/2009"
>>                xmlns:s="library://ns.apache.org/royale/spark"
>>                xmlns:mx="library://ns.apache.org/royale/mx"
>>                width="100%" height="100%">
>>
>> This tag (<s:Module) is not resolved to ActionScript class.  what's wrong?
>>
>> Shoichiro Takeshita
>>
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>
-- 
Shoichiro Takeshita
武下 祥一郎

Re: How to compile tourdeflexmodules

Posted by Piotr Zarzycki <pi...@gmail.com>.
Hi Takeshita,

I don't think that anyone tried to build multimodule project trough
available IDEs VSCode or Moonshine. I recommend using Ant for that purposes
- script is in that example build.xml

Thanks,
Piotr

pon., 9 gru 2019 o 14:29 Takeshita Shoichiro <jl...@gmail.com> napisał(a):

> When running mvn clean install at Examples, mxml files in the
> \royale-asjs\examples\mxroyale\tourdeflexmodules directory are not compiled.
>
> How can I do that?
>
> I also have an error when opening ComboBoxExample.mxml in VS Code.
>
> <s:Module xmlns:fx="http://ns.adobe.com/mxml/2009"
>                xmlns:s="library://ns.apache.org/royale/spark"
>                xmlns:mx="library://ns.apache.org/royale/mx"
>                width="100%" height="100%">
>
> This tag (<s:Module) is not resolved to ActionScript class.  what's wrong?
>
> Shoichiro Takeshita
>


-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*

Re: How to compile tourdeflexmodules

Posted by Takeshita Shoichiro <jl...@gmail.com>.
Alex, thanks.  I confirmed that Ant run.

ST

On Thu, Dec 12, 2019 at 4:17 PM Alex Harui <ah...@adobe.com> wrote:

> Yes, or just get it from the repo:
> https://github.com/apache/royale-asjs/tree/develop/examples/mxroyale/tourdeflexmodules
>
>
>
> *From: *Takeshita Shoichiro <jl...@gmail.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Wednesday, December 11, 2019 at 11:02 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *Re: How to compile tourdeflexmodules
>
>
>
>
>
> Alex, thanks.  Can I get it from night build shortly?
>
>
>
> 2019年12月12日(木) 15:32 Alex Harui <ah...@adobe.com>:
>
> I just pushed a change to royale-asjs that seems to get it to work for me.
>
>
>
> -Alex
>
>
>
> *From: *Takeshita Shoichiro <jl...@gmail.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Wednesday, December 11, 2019 at 5:46 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Cc: *Carlos Rovira <ca...@apache.org>
> *Subject: *Re: How to compile tourdeflexmodules
>
>
>
> Alex, there are four bin-debug; two for.swf and the other two for
> link_report-js.xml.  Changing the latter does output the same result.
> Changing the former brings exception error.
>
>
>
> When running ANT against 0.97-bin-js-swf, it failed while searching
> ¥frameworks¥11.7¥playerglobal.swc, which does not exist.
>
>
>
> Would you please check?
>
>
>
> 2019年12月12日(木) 3:39 Alex Harui <ah...@adobe.com>:
>
> Hi T-San,
>
>
>
> I guess tourdeflexmodules build.xml hasn’t been tested in a JS-only SDK.
> It is making some assumptions that a SWF is being built.  You can try
> modifying the build so that the link report is written to and read from
> bin/js-debug instead of bin-debug
>
>
>
> -Alex
>
>
>
> *From: *Takeshita Shoichiro <jl...@gmail.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Wednesday, December 11, 2019 at 3:34 AM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Cc: *Carlos Rovira <ca...@apache.org>
> *Subject: *Re: How to compile tourdeflexmodules
>
>
>
> Alex, I run Ant on Windows 10 as well as on Mac.  The same result.  Before
> running Ant, do I need set up something?
>
> P.S. I also run under 0.97.  The same.
>
>
>
> pwd
>
> /Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules
> takeshitashouichirounoMacBook-Pro:tourdeflexmodules taksho$ ant
> Buildfile:
> /Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/build.xml
>
> compile-shell:
>     [mxmlc] MXMLJSC
>     [mxmlc] -module-output=/
>     [mxmlc] -js-compiler-option=--variable_map_output_file
> gcc_variablemap.txt
>     [mxmlc] -js-compiler-option+=--property_map_output_file
> gcc_propertymap.txt
>     [mxmlc]
> -externs-report=/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin/js-debug/externs_report.js
>     [mxmlc]
> -link-report=/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin-debug/link_report.xml
>     [mxmlc] +playerglobal.version=11.1
>     [mxmlc] +env.AIR_HOME=${env.AIR_HOME}
>     [mxmlc] +env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}
>     [mxmlc] -compiler.debug=false
>     [mxmlc]
> +royalelib=/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/frameworks/
>     [mxmlc]
> -load-config=/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/frameworks/flex-config.xml
>     [mxmlc]
> -output=/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin-debug/explorer.swf
>     [mxmlc] --
>     [mxmlc]
> /Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/src//explorer.mxml
>     [mxmlc] 12 11, 2019 8:26:51 午後
> com.google.javascript.jscomp.LoggerErrorManager println
>     [mxmlc] 警告:
> /Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin/js-debug/SourceTab.js:124:
> WARNING - Invalid flags to RegExp constructor: STRING gs 124 [length: 4]
> [source_file:
> /Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin/js-debug/SourceTab.js]
> : string
>     [mxmlc]   var /** @type {RegExp} */ r = new RegExp("\r\n", "gs");
>     [mxmlc]                                                    ^^^^
>     [mxmlc]
>     [mxmlc] 12 11, 2019 8:26:51 午後
> com.google.javascript.jscomp.LoggerErrorManager println
>     [mxmlc] 警告:
> /Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin/js-debug/explorer.js:398:
> WARNING - Parse error. extra visibility tag
>     [mxmlc]   * @private
>     [mxmlc]     ^
>     [mxmlc]
>     [mxmlc] 12 11, 2019 8:26:51 午後
> com.google.javascript.jscomp.LoggerErrorManager println
>     [mxmlc] 警告: externs/dialogPolyfill.js:19: WARNING - accessing name
> dialogPolyfill in externs has no effect. Perhaps you forgot to add a var
> keyword?
>     [mxmlc] dialogPolyfill = function() {
>     [mxmlc] ^^^^^^^^^^^^^^
>     [mxmlc]
>     [mxmlc] 12 11, 2019 8:26:51 午後
> com.google.javascript.jscomp.LoggerErrorManager println
>     [mxmlc] 警告: externs/dialogPolyfill.js:19: WARNING - variable
> dialogPolyfill is undeclared
>     [mxmlc] dialogPolyfill = function() {
>     [mxmlc] ^^^^^^^^^^^^^^
>     [mxmlc]
>     [mxmlc] 12 11, 2019 8:26:51 午後
> com.google.javascript.jscomp.LoggerErrorManager println
>     [mxmlc] 警告: externs/dialogPolyfill.js:27: WARNING - name
> dialogPolyfill is not defined in the externs.
>     [mxmlc] dialogPolyfill.registerDialog = function(dialog) {
>     [mxmlc] ^^^^^^^^^^^^^^
>     [mxmlc]
>     [mxmlc] 12 11, 2019 8:26:51 午後
> com.google.javascript.jscomp.LoggerErrorManager printSummary
>     [mxmlc] 警告: 0 error(s), 5 warning(s), 98.4% typed
>     [mxmlc] The project 'explorer' has been successfully compiled and
> optimized.
>     [mxmlc] 29.522854301 seconds
>     [mxmlc] 警告 :
> /Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin-debug/link_report-js.xml
> にリンクレポートを書き込むことができません。
>     [mxmlc]
>     [mxmlc]
>     [mxmlc]
> /Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/src/SourceTab.mxml(33):
> col: 3 警告 : public var may not work in minified JS output.  Use
> getter/setter instead.
>     [mxmlc]
>     [mxmlc] public var app:String;
>     [mxmlc] ^
>     [mxmlc]
>     [mxmlc]
> /Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/src/SourceTab.mxml(34):
> col: 9 警告 : public var may not work in minified JS output.  Use
> getter/setter instead.
>     [mxmlc]
>     [mxmlc]         public var src:String;
>     [mxmlc]         ^
>     [mxmlc]
>     [mxmlc] MXMLJSC
>     [mxmlc] -module-output=/
>     [mxmlc]
> -load-externs=/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin-debug/link_report-js.xml
>     [mxmlc] -js-compiler-option=--variable_map_input_file
> gcc_variablemap.txt
>     [mxmlc] -js-compiler-option+=--property_map_input_file
> gcc_propertymap.txt
>     [mxmlc] -js-compiler-option+=--externs
> /Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin/js-debug/externs_report.js
>     [mxmlc] +playerglobal.version=11.1
>     [mxmlc] +env.AIR_HOME=${env.AIR_HOME}
>     [mxmlc] +env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}
>     [mxmlc] -compiler.debug=false
>     [mxmlc]
> +royalelib=/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/frameworks/
>     [mxmlc]
> -load-config=/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/frameworks/flex-config.xml
>     [mxmlc]
> -output=/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin-debug/Welcome.swf
>     [mxmlc] --
>     [mxmlc]
> /Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/src//Welcome.mxml
>     [mxmlc] 0.759611828 seconds
>     [mxmlc] command line エラー :
> '/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin-debug/link_report-js.xml'
> を開くことができません。
>     [mxmlc]
>     [mxmlc]
>     [mxmlc]
>
> BUILD FAILED
> /Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/build.xml:163:
> The following error occurred while executing this line:
> /Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/build.xml:95:
> mxmlc task failed.
>
> Total time: 31 seconds
> takeshitashouichirounoMacBook-Pro:tourdeflexmodules taksho$
>
>
>
> On Wed, Dec 11, 2019 at 2:09 AM Alex Harui <ah...@adobe.com> wrote:
>
> HI T-San,
>
>
>
> Not every source file in TDF will compile.  That’s why there is an Ant
> build script to only compile the ones that are currently working.  If you
> are not using Ant to build, you will need to find a way to subset which
> files are compiled.
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Takeshita Shoichiro <jl...@gmail.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Tuesday, December 10, 2019 at 5:33 AM
> *To: *Carlos Rovira <ca...@apache.org>
> *Cc: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *Re: How to compile tourdeflexmodules
>
>
>
> Carlos, I have problems with compiling Tour de Flex one by one.  Many of
> mxml files returned with errors.  I do not know what is wrong at moment.
> So, running mvn clean install will be after solving major problems.
>
>
>
>  I would think Data Binding is not working well.  I cannot compile
> ComboBoxExample.mxml or DropdownExample.mxml.
>
> And skinClass="skins.GradientBackgroundAppSkin"
>
> is not working for me.
>
> (examples\mxroyale\tourdeflexmodules\src\spark\skinning)
>
>
>
> ST
>
>
>
> On Tue, Dec 10, 2019 at 6:59 PM Carlos Rovira <ca...@apache.org>
> wrote:
>
> Hi,
>
>
>
> just to add. When I worked on Jewel Modules [1] I need to add Maven
> support for it, creating a proper maven layout for projects and ensuring I
> can make a mvn clean install that compile the app and the  module.
>
>
>
> @Takeshita Shoichiro <jl...@gmail.com>  you can check how I did it and
> try to improve Tour de Flex maven build to make a module be compiled in the
> same way, then propagate to the rest.
>
> If you do this, I think it will be of great help for all while will let
> you learn more about it in the process.
>
>
>
> Let me know what you think
>
>
>
> Thanks!
>
>
>
> Carlos
>
>
>
> [1]
> https://royale.apache.org/dividing-an-apache-royale-application-with-modules/
> <https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Froyale.apache.org%2Fdividing-an-apache-royale-application-with-modules%2F&data=02%7C01%7Caharui%40adobe.com%7Ca8fb6236019d4631024408d77ed13144%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637117309263215771&sdata=41Zpay024z6dgD98u0sFfJRy2Z8V4Gsvovj9J52PNcc%3D&reserved=0>
>
>
>
>
>
>
>
>
>
>
>
> El mar., 10 dic. 2019 a las 5:57, Alex Harui (<ah...@adobe.com>)
> escribió:
>
> I’m sure the Moonshine folks would be interested what errors you are
> getting, if any.
>
>
>
> -Alex
>
>
>
> *From: *Mandeep Sarma <mu...@gmail.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Monday, December 9, 2019 at 8:01 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *Re: How to compile tourdeflexmodules
>
>
>
> to add my 2 cents, but hopefully not add more confusion... until about 2/3
> weeks ago was able to compile Tourdejewel and Royalstore examples
> repeatedly , I believe I was using SDK 0.9.6 with Moonshine nightly build.
> I recall I had to rename the slider to hslider, so it was a recent SDK. The
> examples worked almost 100% after I was able to change the custom URLs to
> http URLs. It only stopped working for me when I selected to install all
> extra software because in the "about moonshine" tab it showed none of the
> software was installed even though I knew it was wrong. I wonder what the
> install could have change to prevent the examples from compiling
> successfully again.
>
>
>
> Mandeep
>
>
>
> On Mon, Dec 9, 2019 at 8:29 AM Takeshita Shoichiro <jl...@gmail.com>
> wrote:
>
> When running mvn clean install at Examples, mxml files in the
> \royale-asjs\examples\mxroyale\tourdeflexmodules directory are not
> compiled.
>
>
>
> How can I do that?
>
>
>
> I also have an error when opening ComboBoxExample.mxml in VS Code.
>
>
>
> <s:Module xmlns:fx="http://ns.adobe.com/mxml/2009
> <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.adobe.com%2Fmxml%2F2009&data=02%7C01%7Caharui%40adobe.com%7Ca8fb6236019d4631024408d77ed13144%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637117309263215771&sdata=ubK92%2FGSNsNFtZJupPdVUtGDWyC%2B122JKJv5QsGgKkA%3D&reserved=0>
> "
>
>                xmlns:s="library://ns.apache.org/royale/spark
> <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.apache.org%2Froyale%2Fspark&data=02%7C01%7Caharui%40adobe.com%7Ca8fb6236019d4631024408d77ed13144%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637117309263225766&sdata=%2F%2FmaXUqDCvKJfU9V7NzhzIJa5325O41sWtHpksIUzc8%3D&reserved=0>
> "
>
>                xmlns:mx="library://ns.apache.org/royale/mx
> <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.apache.org%2Froyale%2Fmx&data=02%7C01%7Caharui%40adobe.com%7Ca8fb6236019d4631024408d77ed13144%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637117309263225766&sdata=qNvG3gTe7frUwCpIO9Ibj219ZPfWAWqzZqsNHJ4GPBo%3D&reserved=0>
> "
>
>                width="100%" height="100%">
>
>
>
> This tag (<s:Module) is not resolved to ActionScript class.  what's wrong?
>
>
>
> Shoichiro Takeshita
>
>
>
>
> --
>
> Carlos Rovira
>
> http://about.me/carlosrovira
> <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7Ca8fb6236019d4631024408d77ed13144%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637117309263235758&sdata=6CTH7S%2BaQjzlYLNuYG%2BntPPbq7KNWXDiK5dajTEFLVU%3D&reserved=0>
>
>
>
>
>
>
> --
>
> Shoichiro Takeshita
> 武下 祥一郎
>
>
>
>
> --
>
> Shoichiro Takeshita
> 武下 祥一郎
>
> --
>
> Shoichiro Takeshita
> 武下 祥一郎
>
> --
>
> Shoichiro Takeshita
> 武下 祥一郎
>


-- 
Shoichiro Takeshita
武下 祥一郎

Re: How to compile tourdeflexmodules

Posted by Alex Harui <ah...@adobe.com>.
Yes, or just get it from the repo:  https://github.com/apache/royale-asjs/tree/develop/examples/mxroyale/tourdeflexmodules

From: Takeshita Shoichiro <jl...@gmail.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Wednesday, December 11, 2019 at 11:02 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: Re: How to compile tourdeflexmodules


Alex, thanks.  Can I get it from night build shortly?

2019年12月12日(木) 15:32 Alex Harui <ah...@adobe.com>>:
I just pushed a change to royale-asjs that seems to get it to work for me.

-Alex

From: Takeshita Shoichiro <jl...@gmail.com>>
Reply-To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Date: Wednesday, December 11, 2019 at 5:46 PM
To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Cc: Carlos Rovira <ca...@apache.org>>
Subject: Re: How to compile tourdeflexmodules

Alex, there are four bin-debug; two for.swf and the other two for link_report-js.xml.  Changing the latter does output the same result. Changing the former brings exception error.

When running ANT against 0.97-bin-js-swf, it failed while searching ¥frameworks¥11.7¥playerglobal.swc, which does not exist.

Would you please check?

2019年12月12日(木) 3:39 Alex Harui <ah...@adobe.com>>:
Hi T-San,

I guess tourdeflexmodules build.xml hasn’t been tested in a JS-only SDK.  It is making some assumptions that a SWF is being built.  You can try modifying the build so that the link report is written to and read from bin/js-debug instead of bin-debug

-Alex

From: Takeshita Shoichiro <jl...@gmail.com>>
Reply-To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Date: Wednesday, December 11, 2019 at 3:34 AM
To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Cc: Carlos Rovira <ca...@apache.org>>
Subject: Re: How to compile tourdeflexmodules

Alex, I run Ant on Windows 10 as well as on Mac.  The same result.  Before running Ant, do I need set up something?
P.S. I also run under 0.97.  The same.

pwd
/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules
takeshitashouichirounoMacBook-Pro:tourdeflexmodules taksho$ ant
Buildfile: /Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/build.xml

compile-shell:
    [mxmlc] MXMLJSC
    [mxmlc] -module-output=/
    [mxmlc] -js-compiler-option=--variable_map_output_file gcc_variablemap.txt
    [mxmlc] -js-compiler-option+=--property_map_output_file gcc_propertymap.txt
    [mxmlc] -externs-report=/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin/js-debug/externs_report.js
    [mxmlc] -link-report=/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin-debug/link_report.xml
    [mxmlc] +playerglobal.version=11.1
    [mxmlc] +env.AIR_HOME=${env.AIR_HOME}
    [mxmlc] +env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}
    [mxmlc] -compiler.debug=false
    [mxmlc] +royalelib=/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/frameworks/
    [mxmlc] -load-config=/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/frameworks/flex-config.xml
    [mxmlc] -output=/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin-debug/explorer.swf
    [mxmlc] --
    [mxmlc] /Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/src//explorer.mxml
    [mxmlc] 12 11, 2019 8:26:51 午後 com.google.javascript.jscomp.LoggerErrorManager println
    [mxmlc] 警告: /Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin/js-debug/SourceTab.js:124: WARNING - Invalid flags to RegExp constructor: STRING gs 124 [length: 4] [source_file: /Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin/js-debug/SourceTab.js] : string
    [mxmlc]   var /** @type {RegExp} */ r = new RegExp("\r\n", "gs");
    [mxmlc]                                                    ^^^^
    [mxmlc]
    [mxmlc] 12 11, 2019 8:26:51 午後 com.google.javascript.jscomp.LoggerErrorManager println
    [mxmlc] 警告: /Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin/js-debug/explorer.js:398: WARNING - Parse error. extra visibility tag
    [mxmlc]   * @private
    [mxmlc]     ^
    [mxmlc]
    [mxmlc] 12 11, 2019 8:26:51 午後 com.google.javascript.jscomp.LoggerErrorManager println
    [mxmlc] 警告: externs/dialogPolyfill.js:19: WARNING - accessing name dialogPolyfill in externs has no effect. Perhaps you forgot to add a var keyword?
    [mxmlc] dialogPolyfill = function() {
    [mxmlc] ^^^^^^^^^^^^^^
    [mxmlc]
    [mxmlc] 12 11, 2019 8:26:51 午後 com.google.javascript.jscomp.LoggerErrorManager println
    [mxmlc] 警告: externs/dialogPolyfill.js:19: WARNING - variable dialogPolyfill is undeclared
    [mxmlc] dialogPolyfill = function() {
    [mxmlc] ^^^^^^^^^^^^^^
    [mxmlc]
    [mxmlc] 12 11, 2019 8:26:51 午後 com.google.javascript.jscomp.LoggerErrorManager println
    [mxmlc] 警告: externs/dialogPolyfill.js:27: WARNING - name dialogPolyfill is not defined in the externs.
    [mxmlc] dialogPolyfill.registerDialog = function(dialog) {
    [mxmlc] ^^^^^^^^^^^^^^
    [mxmlc]
    [mxmlc] 12 11, 2019 8:26:51 午後 com.google.javascript.jscomp.LoggerErrorManager printSummary
    [mxmlc] 警告: 0 error(s), 5 warning(s), 98.4% typed
    [mxmlc] The project 'explorer' has been successfully compiled and optimized.
    [mxmlc] 29.522854301 seconds
    [mxmlc] 警告 : /Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin-debug/link_report-js.xml にリンクレポートを書き込むことができません。
    [mxmlc]
    [mxmlc]
    [mxmlc] /Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/src/SourceTab.mxml(33): col: 3 警告 : public var may not work in minified JS output.  Use getter/setter instead.
    [mxmlc]
    [mxmlc] public var app:String;
    [mxmlc] ^
    [mxmlc]
    [mxmlc] /Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/src/SourceTab.mxml(34): col: 9 警告 : public var may not work in minified JS output.  Use getter/setter instead.
    [mxmlc]
    [mxmlc]         public var src:String;
    [mxmlc]         ^
    [mxmlc]
    [mxmlc] MXMLJSC
    [mxmlc] -module-output=/
    [mxmlc] -load-externs=/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin-debug/link_report-js.xml
    [mxmlc] -js-compiler-option=--variable_map_input_file gcc_variablemap.txt
    [mxmlc] -js-compiler-option+=--property_map_input_file gcc_propertymap.txt
    [mxmlc] -js-compiler-option+=--externs /Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin/js-debug/externs_report.js
    [mxmlc] +playerglobal.version=11.1
    [mxmlc] +env.AIR_HOME=${env.AIR_HOME}
    [mxmlc] +env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}
    [mxmlc] -compiler.debug=false
    [mxmlc] +royalelib=/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/frameworks/
    [mxmlc] -load-config=/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/frameworks/flex-config.xml
    [mxmlc] -output=/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin-debug/Welcome.swf
    [mxmlc] --
    [mxmlc] /Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/src//Welcome.mxml
    [mxmlc] 0.759611828 seconds
    [mxmlc] command line エラー : '/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin-debug/link_report-js.xml' を開くことができません。
    [mxmlc]
    [mxmlc]
    [mxmlc]

BUILD FAILED
/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/build.xml:163: The following error occurred while executing this line:
/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/build.xml:95: mxmlc task failed.

Total time: 31 seconds
takeshitashouichirounoMacBook-Pro:tourdeflexmodules taksho$

On Wed, Dec 11, 2019 at 2:09 AM Alex Harui <ah...@adobe.com>> wrote:
HI T-San,

Not every source file in TDF will compile.  That’s why there is an Ant build script to only compile the ones that are currently working.  If you are not using Ant to build, you will need to find a way to subset which files are compiled.

Thanks,
-Alex

From: Takeshita Shoichiro <jl...@gmail.com>>
Reply-To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Date: Tuesday, December 10, 2019 at 5:33 AM
To: Carlos Rovira <ca...@apache.org>>
Cc: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Subject: Re: How to compile tourdeflexmodules

Carlos, I have problems with compiling Tour de Flex one by one.  Many of mxml files returned with errors.  I do not know what is wrong at moment.  So, running mvn clean install will be after solving major problems.

 I would think Data Binding is not working well.  I cannot compile ComboBoxExample.mxml or DropdownExample.mxml.
And skinClass="skins.GradientBackgroundAppSkin"
is not working for me.
(examples\mxroyale\tourdeflexmodules\src\spark\skinning)

ST

On Tue, Dec 10, 2019 at 6:59 PM Carlos Rovira <ca...@apache.org>> wrote:
Hi,

just to add. When I worked on Jewel Modules [1] I need to add Maven support for it, creating a proper maven layout for projects and ensuring I can make a mvn clean install that compile the app and the  module.

@Takeshita Shoichiro<ma...@gmail.com>  you can check how I did it and try to improve Tour de Flex maven build to make a module be compiled in the same way, then propagate to the rest.
If you do this, I think it will be of great help for all while will let you learn more about it in the process.

Let me know what you think

Thanks!

Carlos

[1] https://royale.apache.org/dividing-an-apache-royale-application-with-modules/<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Froyale.apache.org%2Fdividing-an-apache-royale-application-with-modules%2F&data=02%7C01%7Caharui%40adobe.com%7Ca8fb6236019d4631024408d77ed13144%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637117309263215771&sdata=41Zpay024z6dgD98u0sFfJRy2Z8V4Gsvovj9J52PNcc%3D&reserved=0>





El mar., 10 dic. 2019 a las 5:57, Alex Harui (<ah...@adobe.com>>) escribió:
I’m sure the Moonshine folks would be interested what errors you are getting, if any.

-Alex

From: Mandeep Sarma <mu...@gmail.com>>
Reply-To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Date: Monday, December 9, 2019 at 8:01 PM
To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Subject: Re: How to compile tourdeflexmodules

to add my 2 cents, but hopefully not add more confusion... until about 2/3 weeks ago was able to compile Tourdejewel and Royalstore examples repeatedly , I believe I was using SDK 0.9.6 with Moonshine nightly build. I recall I had to rename the slider to hslider, so it was a recent SDK. The examples worked almost 100% after I was able to change the custom URLs to http URLs. It only stopped working for me when I selected to install all extra software because in the "about moonshine" tab it showed none of the software was installed even though I knew it was wrong. I wonder what the install could have change to prevent the examples from compiling successfully again.

Mandeep

On Mon, Dec 9, 2019 at 8:29 AM Takeshita Shoichiro <jl...@gmail.com>> wrote:
When running mvn clean install at Examples, mxml files in the \royale-asjs\examples\mxroyale\tourdeflexmodules directory are not compiled.

How can I do that?

I also have an error when opening ComboBoxExample.mxml in VS Code.

<s:Module xmlns:fx="http://ns.adobe.com/mxml/2009<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.adobe.com%2Fmxml%2F2009&data=02%7C01%7Caharui%40adobe.com%7Ca8fb6236019d4631024408d77ed13144%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637117309263215771&sdata=ubK92%2FGSNsNFtZJupPdVUtGDWyC%2B122JKJv5QsGgKkA%3D&reserved=0>"
               xmlns:s="library://ns.apache.org/royale/spark<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.apache.org%2Froyale%2Fspark&data=02%7C01%7Caharui%40adobe.com%7Ca8fb6236019d4631024408d77ed13144%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637117309263225766&sdata=%2F%2FmaXUqDCvKJfU9V7NzhzIJa5325O41sWtHpksIUzc8%3D&reserved=0>"
               xmlns:mx="library://ns.apache.org/royale/mx<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.apache.org%2Froyale%2Fmx&data=02%7C01%7Caharui%40adobe.com%7Ca8fb6236019d4631024408d77ed13144%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637117309263225766&sdata=qNvG3gTe7frUwCpIO9Ibj219ZPfWAWqzZqsNHJ4GPBo%3D&reserved=0>"
               width="100%" height="100%">

This tag (<s:Module) is not resolved to ActionScript class.  what's wrong?

Shoichiro Takeshita


--
Carlos Rovira
http://about.me/carlosrovira<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7Ca8fb6236019d4631024408d77ed13144%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637117309263235758&sdata=6CTH7S%2BaQjzlYLNuYG%2BntPPbq7KNWXDiK5dajTEFLVU%3D&reserved=0>



--
Shoichiro Takeshita
武下 祥一郎


--
Shoichiro Takeshita
武下 祥一郎
--
Shoichiro Takeshita
武下 祥一郎
--
Shoichiro Takeshita
武下 祥一郎

Re: How to compile tourdeflexmodules

Posted by Takeshita Shoichiro <jl...@gmail.com>.
Alex, thanks.  Can I get it from night build shortly?

2019年12月12日(木) 15:32 Alex Harui <ah...@adobe.com>:

> I just pushed a change to royale-asjs that seems to get it to work for me.
>
>
>
> -Alex
>
>
>
> *From: *Takeshita Shoichiro <jl...@gmail.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Wednesday, December 11, 2019 at 5:46 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Cc: *Carlos Rovira <ca...@apache.org>
> *Subject: *Re: How to compile tourdeflexmodules
>
>
>
> Alex, there are four bin-debug; two for.swf and the other two for
> link_report-js.xml.  Changing the latter does output the same result.
> Changing the former brings exception error.
>
>
>
> When running ANT against 0.97-bin-js-swf, it failed while searching
> ¥frameworks¥11.7¥playerglobal.swc, which does not exist.
>
>
>
> Would you please check?
>
>
>
> 2019年12月12日(木) 3:39 Alex Harui <ah...@adobe.com>:
>
> Hi T-San,
>
>
>
> I guess tourdeflexmodules build.xml hasn’t been tested in a JS-only SDK.
> It is making some assumptions that a SWF is being built.  You can try
> modifying the build so that the link report is written to and read from
> bin/js-debug instead of bin-debug
>
>
>
> -Alex
>
>
>
> *From: *Takeshita Shoichiro <jl...@gmail.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Wednesday, December 11, 2019 at 3:34 AM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Cc: *Carlos Rovira <ca...@apache.org>
> *Subject: *Re: How to compile tourdeflexmodules
>
>
>
> Alex, I run Ant on Windows 10 as well as on Mac.  The same result.  Before
> running Ant, do I need set up something?
>
> P.S. I also run under 0.97.  The same.
>
>
>
> pwd
>
> /Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules
> takeshitashouichirounoMacBook-Pro:tourdeflexmodules taksho$ ant
> Buildfile:
> /Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/build.xml
>
> compile-shell:
>     [mxmlc] MXMLJSC
>     [mxmlc] -module-output=/
>     [mxmlc] -js-compiler-option=--variable_map_output_file
> gcc_variablemap.txt
>     [mxmlc] -js-compiler-option+=--property_map_output_file
> gcc_propertymap.txt
>     [mxmlc]
> -externs-report=/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin/js-debug/externs_report.js
>     [mxmlc]
> -link-report=/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin-debug/link_report.xml
>     [mxmlc] +playerglobal.version=11.1
>     [mxmlc] +env.AIR_HOME=${env.AIR_HOME}
>     [mxmlc] +env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}
>     [mxmlc] -compiler.debug=false
>     [mxmlc]
> +royalelib=/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/frameworks/
>     [mxmlc]
> -load-config=/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/frameworks/flex-config.xml
>     [mxmlc]
> -output=/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin-debug/explorer.swf
>     [mxmlc] --
>     [mxmlc]
> /Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/src//explorer.mxml
>     [mxmlc] 12 11, 2019 8:26:51 午後
> com.google.javascript.jscomp.LoggerErrorManager println
>     [mxmlc] 警告:
> /Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin/js-debug/SourceTab.js:124:
> WARNING - Invalid flags to RegExp constructor: STRING gs 124 [length: 4]
> [source_file:
> /Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin/js-debug/SourceTab.js]
> : string
>     [mxmlc]   var /** @type {RegExp} */ r = new RegExp("\r\n", "gs");
>     [mxmlc]                                                    ^^^^
>     [mxmlc]
>     [mxmlc] 12 11, 2019 8:26:51 午後
> com.google.javascript.jscomp.LoggerErrorManager println
>     [mxmlc] 警告:
> /Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin/js-debug/explorer.js:398:
> WARNING - Parse error. extra visibility tag
>     [mxmlc]   * @private
>     [mxmlc]     ^
>     [mxmlc]
>     [mxmlc] 12 11, 2019 8:26:51 午後
> com.google.javascript.jscomp.LoggerErrorManager println
>     [mxmlc] 警告: externs/dialogPolyfill.js:19: WARNING - accessing name
> dialogPolyfill in externs has no effect. Perhaps you forgot to add a var
> keyword?
>     [mxmlc] dialogPolyfill = function() {
>     [mxmlc] ^^^^^^^^^^^^^^
>     [mxmlc]
>     [mxmlc] 12 11, 2019 8:26:51 午後
> com.google.javascript.jscomp.LoggerErrorManager println
>     [mxmlc] 警告: externs/dialogPolyfill.js:19: WARNING - variable
> dialogPolyfill is undeclared
>     [mxmlc] dialogPolyfill = function() {
>     [mxmlc] ^^^^^^^^^^^^^^
>     [mxmlc]
>     [mxmlc] 12 11, 2019 8:26:51 午後
> com.google.javascript.jscomp.LoggerErrorManager println
>     [mxmlc] 警告: externs/dialogPolyfill.js:27: WARNING - name
> dialogPolyfill is not defined in the externs.
>     [mxmlc] dialogPolyfill.registerDialog = function(dialog) {
>     [mxmlc] ^^^^^^^^^^^^^^
>     [mxmlc]
>     [mxmlc] 12 11, 2019 8:26:51 午後
> com.google.javascript.jscomp.LoggerErrorManager printSummary
>     [mxmlc] 警告: 0 error(s), 5 warning(s), 98.4% typed
>     [mxmlc] The project 'explorer' has been successfully compiled and
> optimized.
>     [mxmlc] 29.522854301 seconds
>     [mxmlc] 警告 :
> /Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin-debug/link_report-js.xml
> にリンクレポートを書き込むことができません。
>     [mxmlc]
>     [mxmlc]
>     [mxmlc]
> /Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/src/SourceTab.mxml(33):
> col: 3 警告 : public var may not work in minified JS output.  Use
> getter/setter instead.
>     [mxmlc]
>     [mxmlc] public var app:String;
>     [mxmlc] ^
>     [mxmlc]
>     [mxmlc]
> /Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/src/SourceTab.mxml(34):
> col: 9 警告 : public var may not work in minified JS output.  Use
> getter/setter instead.
>     [mxmlc]
>     [mxmlc]         public var src:String;
>     [mxmlc]         ^
>     [mxmlc]
>     [mxmlc] MXMLJSC
>     [mxmlc] -module-output=/
>     [mxmlc]
> -load-externs=/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin-debug/link_report-js.xml
>     [mxmlc] -js-compiler-option=--variable_map_input_file
> gcc_variablemap.txt
>     [mxmlc] -js-compiler-option+=--property_map_input_file
> gcc_propertymap.txt
>     [mxmlc] -js-compiler-option+=--externs
> /Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin/js-debug/externs_report.js
>     [mxmlc] +playerglobal.version=11.1
>     [mxmlc] +env.AIR_HOME=${env.AIR_HOME}
>     [mxmlc] +env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}
>     [mxmlc] -compiler.debug=false
>     [mxmlc]
> +royalelib=/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/frameworks/
>     [mxmlc]
> -load-config=/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/frameworks/flex-config.xml
>     [mxmlc]
> -output=/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin-debug/Welcome.swf
>     [mxmlc] --
>     [mxmlc]
> /Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/src//Welcome.mxml
>     [mxmlc] 0.759611828 seconds
>     [mxmlc] command line エラー :
> '/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin-debug/link_report-js.xml'
> を開くことができません。
>     [mxmlc]
>     [mxmlc]
>     [mxmlc]
>
> BUILD FAILED
> /Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/build.xml:163:
> The following error occurred while executing this line:
> /Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/build.xml:95:
> mxmlc task failed.
>
> Total time: 31 seconds
> takeshitashouichirounoMacBook-Pro:tourdeflexmodules taksho$
>
>
>
> On Wed, Dec 11, 2019 at 2:09 AM Alex Harui <ah...@adobe.com> wrote:
>
> HI T-San,
>
>
>
> Not every source file in TDF will compile.  That’s why there is an Ant
> build script to only compile the ones that are currently working.  If you
> are not using Ant to build, you will need to find a way to subset which
> files are compiled.
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Takeshita Shoichiro <jl...@gmail.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Tuesday, December 10, 2019 at 5:33 AM
> *To: *Carlos Rovira <ca...@apache.org>
> *Cc: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *Re: How to compile tourdeflexmodules
>
>
>
> Carlos, I have problems with compiling Tour de Flex one by one.  Many of
> mxml files returned with errors.  I do not know what is wrong at moment.
> So, running mvn clean install will be after solving major problems.
>
>
>
>  I would think Data Binding is not working well.  I cannot compile
> ComboBoxExample.mxml or DropdownExample.mxml.
>
> And skinClass="skins.GradientBackgroundAppSkin"
>
> is not working for me.
>
> (examples\mxroyale\tourdeflexmodules\src\spark\skinning)
>
>
>
> ST
>
>
>
> On Tue, Dec 10, 2019 at 6:59 PM Carlos Rovira <ca...@apache.org>
> wrote:
>
> Hi,
>
>
>
> just to add. When I worked on Jewel Modules [1] I need to add Maven
> support for it, creating a proper maven layout for projects and ensuring I
> can make a mvn clean install that compile the app and the  module.
>
>
>
> @Takeshita Shoichiro <jl...@gmail.com>  you can check how I did it and
> try to improve Tour de Flex maven build to make a module be compiled in the
> same way, then propagate to the rest.
>
> If you do this, I think it will be of great help for all while will let
> you learn more about it in the process.
>
>
>
> Let me know what you think
>
>
>
> Thanks!
>
>
>
> Carlos
>
>
>
> [1]
> https://royale.apache.org/dividing-an-apache-royale-application-with-modules/
> <https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Froyale.apache.org%2Fdividing-an-apache-royale-application-with-modules%2F&data=02%7C01%7Caharui%40adobe.com%7C1a60f3b152d548cc7c4408d77ea529c7%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637117120193232442&sdata=aR26%2FMcjxgPiDgaCDG%2F1QnqLqAQifaD6epqblBuwp%2FI%3D&reserved=0>
>
>
>
>
>
>
>
>
>
>
>
> El mar., 10 dic. 2019 a las 5:57, Alex Harui (<ah...@adobe.com>)
> escribió:
>
> I’m sure the Moonshine folks would be interested what errors you are
> getting, if any.
>
>
>
> -Alex
>
>
>
> *From: *Mandeep Sarma <mu...@gmail.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Monday, December 9, 2019 at 8:01 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *Re: How to compile tourdeflexmodules
>
>
>
> to add my 2 cents, but hopefully not add more confusion... until about 2/3
> weeks ago was able to compile Tourdejewel and Royalstore examples
> repeatedly , I believe I was using SDK 0.9.6 with Moonshine nightly build.
> I recall I had to rename the slider to hslider, so it was a recent SDK. The
> examples worked almost 100% after I was able to change the custom URLs to
> http URLs. It only stopped working for me when I selected to install all
> extra software because in the "about moonshine" tab it showed none of the
> software was installed even though I knew it was wrong. I wonder what the
> install could have change to prevent the examples from compiling
> successfully again.
>
>
>
> Mandeep
>
>
>
> On Mon, Dec 9, 2019 at 8:29 AM Takeshita Shoichiro <jl...@gmail.com>
> wrote:
>
> When running mvn clean install at Examples, mxml files in the
> \royale-asjs\examples\mxroyale\tourdeflexmodules directory are not
> compiled.
>
>
>
> How can I do that?
>
>
>
> I also have an error when opening ComboBoxExample.mxml in VS Code.
>
>
>
> <s:Module xmlns:fx="http://ns.adobe.com/mxml/2009
> <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.adobe.com%2Fmxml%2F2009&data=02%7C01%7Caharui%40adobe.com%7C1a60f3b152d548cc7c4408d77ea529c7%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637117120193232442&sdata=oPfbI1qUmaw3ze6ENA3suZG9dF9cG0FoNQR7HLX0KZM%3D&reserved=0>
> "
>
>                xmlns:s="library://ns.apache.org/royale/spark
> <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.apache.org%2Froyale%2Fspark&data=02%7C01%7Caharui%40adobe.com%7C1a60f3b152d548cc7c4408d77ea529c7%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637117120193242429&sdata=T%2BUrSbwjsxo%2Fv%2FHHqfdAdrp6crUyg%2BtlWT1qtipnj4k%3D&reserved=0>
> "
>
>                xmlns:mx="library://ns.apache.org/royale/mx
> <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.apache.org%2Froyale%2Fmx&data=02%7C01%7Caharui%40adobe.com%7C1a60f3b152d548cc7c4408d77ea529c7%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637117120193242429&sdata=TurRX5iErdZfuh7zDCpn%2Fuwm86zOAkfLL9FBkZ4VDdc%3D&reserved=0>
> "
>
>                width="100%" height="100%">
>
>
>
> This tag (<s:Module) is not resolved to ActionScript class.  what's wrong?
>
>
>
> Shoichiro Takeshita
>
>
>
>
> --
>
> Carlos Rovira
>
> http://about.me/carlosrovira
> <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C1a60f3b152d548cc7c4408d77ea529c7%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637117120193252423&sdata=WoZMZKd6HF%2FvjeAeHX16MSULM1Z7ajUqLXdHbh6vDqQ%3D&reserved=0>
>
>
>
>
>
>
> --
>
> Shoichiro Takeshita
> 武下 祥一郎
>
>
>
>
> --
>
> Shoichiro Takeshita
> 武下 祥一郎
>
> --
>
> Shoichiro Takeshita
> 武下 祥一郎
>
-- 
Shoichiro Takeshita
武下 祥一郎

Re: How to compile tourdeflexmodules

Posted by Alex Harui <ah...@adobe.com>.
I just pushed a change to royale-asjs that seems to get it to work for me.

-Alex

From: Takeshita Shoichiro <jl...@gmail.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Wednesday, December 11, 2019 at 5:46 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Cc: Carlos Rovira <ca...@apache.org>
Subject: Re: How to compile tourdeflexmodules

Alex, there are four bin-debug; two for.swf and the other two for link_report-js.xml.  Changing the latter does output the same result. Changing the former brings exception error.

When running ANT against 0.97-bin-js-swf, it failed while searching ¥frameworks¥11.7¥playerglobal.swc, which does not exist.

Would you please check?

2019年12月12日(木) 3:39 Alex Harui <ah...@adobe.com>>:
Hi T-San,

I guess tourdeflexmodules build.xml hasn’t been tested in a JS-only SDK.  It is making some assumptions that a SWF is being built.  You can try modifying the build so that the link report is written to and read from bin/js-debug instead of bin-debug

-Alex

From: Takeshita Shoichiro <jl...@gmail.com>>
Reply-To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Date: Wednesday, December 11, 2019 at 3:34 AM
To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Cc: Carlos Rovira <ca...@apache.org>>
Subject: Re: How to compile tourdeflexmodules

Alex, I run Ant on Windows 10 as well as on Mac.  The same result.  Before running Ant, do I need set up something?
P.S. I also run under 0.97.  The same.

pwd
/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules
takeshitashouichirounoMacBook-Pro:tourdeflexmodules taksho$ ant
Buildfile: /Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/build.xml

compile-shell:
    [mxmlc] MXMLJSC
    [mxmlc] -module-output=/
    [mxmlc] -js-compiler-option=--variable_map_output_file gcc_variablemap.txt
    [mxmlc] -js-compiler-option+=--property_map_output_file gcc_propertymap.txt
    [mxmlc] -externs-report=/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin/js-debug/externs_report.js
    [mxmlc] -link-report=/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin-debug/link_report.xml
    [mxmlc] +playerglobal.version=11.1
    [mxmlc] +env.AIR_HOME=${env.AIR_HOME}
    [mxmlc] +env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}
    [mxmlc] -compiler.debug=false
    [mxmlc] +royalelib=/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/frameworks/
    [mxmlc] -load-config=/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/frameworks/flex-config.xml
    [mxmlc] -output=/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin-debug/explorer.swf
    [mxmlc] --
    [mxmlc] /Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/src//explorer.mxml
    [mxmlc] 12 11, 2019 8:26:51 午後 com.google.javascript.jscomp.LoggerErrorManager println
    [mxmlc] 警告: /Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin/js-debug/SourceTab.js:124: WARNING - Invalid flags to RegExp constructor: STRING gs 124 [length: 4] [source_file: /Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin/js-debug/SourceTab.js] : string
    [mxmlc]   var /** @type {RegExp} */ r = new RegExp("\r\n", "gs");
    [mxmlc]                                                    ^^^^
    [mxmlc]
    [mxmlc] 12 11, 2019 8:26:51 午後 com.google.javascript.jscomp.LoggerErrorManager println
    [mxmlc] 警告: /Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin/js-debug/explorer.js:398: WARNING - Parse error. extra visibility tag
    [mxmlc]   * @private
    [mxmlc]     ^
    [mxmlc]
    [mxmlc] 12 11, 2019 8:26:51 午後 com.google.javascript.jscomp.LoggerErrorManager println
    [mxmlc] 警告: externs/dialogPolyfill.js:19: WARNING - accessing name dialogPolyfill in externs has no effect. Perhaps you forgot to add a var keyword?
    [mxmlc] dialogPolyfill = function() {
    [mxmlc] ^^^^^^^^^^^^^^
    [mxmlc]
    [mxmlc] 12 11, 2019 8:26:51 午後 com.google.javascript.jscomp.LoggerErrorManager println
    [mxmlc] 警告: externs/dialogPolyfill.js:19: WARNING - variable dialogPolyfill is undeclared
    [mxmlc] dialogPolyfill = function() {
    [mxmlc] ^^^^^^^^^^^^^^
    [mxmlc]
    [mxmlc] 12 11, 2019 8:26:51 午後 com.google.javascript.jscomp.LoggerErrorManager println
    [mxmlc] 警告: externs/dialogPolyfill.js:27: WARNING - name dialogPolyfill is not defined in the externs.
    [mxmlc] dialogPolyfill.registerDialog = function(dialog) {
    [mxmlc] ^^^^^^^^^^^^^^
    [mxmlc]
    [mxmlc] 12 11, 2019 8:26:51 午後 com.google.javascript.jscomp.LoggerErrorManager printSummary
    [mxmlc] 警告: 0 error(s), 5 warning(s), 98.4% typed
    [mxmlc] The project 'explorer' has been successfully compiled and optimized.
    [mxmlc] 29.522854301 seconds
    [mxmlc] 警告 : /Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin-debug/link_report-js.xml にリンクレポートを書き込むことができません。
    [mxmlc]
    [mxmlc]
    [mxmlc] /Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/src/SourceTab.mxml(33): col: 3 警告 : public var may not work in minified JS output.  Use getter/setter instead.
    [mxmlc]
    [mxmlc] public var app:String;
    [mxmlc] ^
    [mxmlc]
    [mxmlc] /Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/src/SourceTab.mxml(34): col: 9 警告 : public var may not work in minified JS output.  Use getter/setter instead.
    [mxmlc]
    [mxmlc]         public var src:String;
    [mxmlc]         ^
    [mxmlc]
    [mxmlc] MXMLJSC
    [mxmlc] -module-output=/
    [mxmlc] -load-externs=/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin-debug/link_report-js.xml
    [mxmlc] -js-compiler-option=--variable_map_input_file gcc_variablemap.txt
    [mxmlc] -js-compiler-option+=--property_map_input_file gcc_propertymap.txt
    [mxmlc] -js-compiler-option+=--externs /Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin/js-debug/externs_report.js
    [mxmlc] +playerglobal.version=11.1
    [mxmlc] +env.AIR_HOME=${env.AIR_HOME}
    [mxmlc] +env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}
    [mxmlc] -compiler.debug=false
    [mxmlc] +royalelib=/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/frameworks/
    [mxmlc] -load-config=/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/frameworks/flex-config.xml
    [mxmlc] -output=/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin-debug/Welcome.swf
    [mxmlc] --
    [mxmlc] /Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/src//Welcome.mxml
    [mxmlc] 0.759611828 seconds
    [mxmlc] command line エラー : '/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin-debug/link_report-js.xml' を開くことができません。
    [mxmlc]
    [mxmlc]
    [mxmlc]

BUILD FAILED
/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/build.xml:163: The following error occurred while executing this line:
/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/build.xml:95: mxmlc task failed.

Total time: 31 seconds
takeshitashouichirounoMacBook-Pro:tourdeflexmodules taksho$

On Wed, Dec 11, 2019 at 2:09 AM Alex Harui <ah...@adobe.com>> wrote:
HI T-San,

Not every source file in TDF will compile.  That’s why there is an Ant build script to only compile the ones that are currently working.  If you are not using Ant to build, you will need to find a way to subset which files are compiled.

Thanks,
-Alex

From: Takeshita Shoichiro <jl...@gmail.com>>
Reply-To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Date: Tuesday, December 10, 2019 at 5:33 AM
To: Carlos Rovira <ca...@apache.org>>
Cc: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Subject: Re: How to compile tourdeflexmodules

Carlos, I have problems with compiling Tour de Flex one by one.  Many of mxml files returned with errors.  I do not know what is wrong at moment.  So, running mvn clean install will be after solving major problems.

 I would think Data Binding is not working well.  I cannot compile ComboBoxExample.mxml or DropdownExample.mxml.
And skinClass="skins.GradientBackgroundAppSkin"
is not working for me.
(examples\mxroyale\tourdeflexmodules\src\spark\skinning)

ST

On Tue, Dec 10, 2019 at 6:59 PM Carlos Rovira <ca...@apache.org>> wrote:
Hi,

just to add. When I worked on Jewel Modules [1] I need to add Maven support for it, creating a proper maven layout for projects and ensuring I can make a mvn clean install that compile the app and the  module.

@Takeshita Shoichiro<ma...@gmail.com>  you can check how I did it and try to improve Tour de Flex maven build to make a module be compiled in the same way, then propagate to the rest.
If you do this, I think it will be of great help for all while will let you learn more about it in the process.

Let me know what you think

Thanks!

Carlos

[1] https://royale.apache.org/dividing-an-apache-royale-application-with-modules/<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Froyale.apache.org%2Fdividing-an-apache-royale-application-with-modules%2F&data=02%7C01%7Caharui%40adobe.com%7C1a60f3b152d548cc7c4408d77ea529c7%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637117120193232442&sdata=aR26%2FMcjxgPiDgaCDG%2F1QnqLqAQifaD6epqblBuwp%2FI%3D&reserved=0>





El mar., 10 dic. 2019 a las 5:57, Alex Harui (<ah...@adobe.com>>) escribió:
I’m sure the Moonshine folks would be interested what errors you are getting, if any.

-Alex

From: Mandeep Sarma <mu...@gmail.com>>
Reply-To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Date: Monday, December 9, 2019 at 8:01 PM
To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Subject: Re: How to compile tourdeflexmodules

to add my 2 cents, but hopefully not add more confusion... until about 2/3 weeks ago was able to compile Tourdejewel and Royalstore examples repeatedly , I believe I was using SDK 0.9.6 with Moonshine nightly build. I recall I had to rename the slider to hslider, so it was a recent SDK. The examples worked almost 100% after I was able to change the custom URLs to http URLs. It only stopped working for me when I selected to install all extra software because in the "about moonshine" tab it showed none of the software was installed even though I knew it was wrong. I wonder what the install could have change to prevent the examples from compiling successfully again.

Mandeep

On Mon, Dec 9, 2019 at 8:29 AM Takeshita Shoichiro <jl...@gmail.com>> wrote:
When running mvn clean install at Examples, mxml files in the \royale-asjs\examples\mxroyale\tourdeflexmodules directory are not compiled.

How can I do that?

I also have an error when opening ComboBoxExample.mxml in VS Code.

<s:Module xmlns:fx="http://ns.adobe.com/mxml/2009<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.adobe.com%2Fmxml%2F2009&data=02%7C01%7Caharui%40adobe.com%7C1a60f3b152d548cc7c4408d77ea529c7%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637117120193232442&sdata=oPfbI1qUmaw3ze6ENA3suZG9dF9cG0FoNQR7HLX0KZM%3D&reserved=0>"
               xmlns:s="library://ns.apache.org/royale/spark<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.apache.org%2Froyale%2Fspark&data=02%7C01%7Caharui%40adobe.com%7C1a60f3b152d548cc7c4408d77ea529c7%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637117120193242429&sdata=T%2BUrSbwjsxo%2Fv%2FHHqfdAdrp6crUyg%2BtlWT1qtipnj4k%3D&reserved=0>"
               xmlns:mx="library://ns.apache.org/royale/mx<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.apache.org%2Froyale%2Fmx&data=02%7C01%7Caharui%40adobe.com%7C1a60f3b152d548cc7c4408d77ea529c7%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637117120193242429&sdata=TurRX5iErdZfuh7zDCpn%2Fuwm86zOAkfLL9FBkZ4VDdc%3D&reserved=0>"
               width="100%" height="100%">

This tag (<s:Module) is not resolved to ActionScript class.  what's wrong?

Shoichiro Takeshita


--
Carlos Rovira
http://about.me/carlosrovira<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C1a60f3b152d548cc7c4408d77ea529c7%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637117120193252423&sdata=WoZMZKd6HF%2FvjeAeHX16MSULM1Z7ajUqLXdHbh6vDqQ%3D&reserved=0>



--
Shoichiro Takeshita
武下 祥一郎


--
Shoichiro Takeshita
武下 祥一郎
--
Shoichiro Takeshita
武下 祥一郎

Re: How to compile tourdeflexmodules

Posted by Takeshita Shoichiro <jl...@gmail.com>.
Alex, there are four bin-debug; two for.swf and the other two for
link_report-js.xml.  Changing the latter does output the same result.
Changing the former brings exception error.

When running ANT against 0.97-bin-js-swf, it failed while searching
¥frameworks¥11.7¥playerglobal.swc, which does not exist.

Would you please check?

2019年12月12日(木) 3:39 Alex Harui <ah...@adobe.com>:

> Hi T-San,
>
>
>
> I guess tourdeflexmodules build.xml hasn’t been tested in a JS-only SDK.
> It is making some assumptions that a SWF is being built.  You can try
> modifying the build so that the link report is written to and read from
> bin/js-debug instead of bin-debug
>
>
>
> -Alex
>
>
>
> *From: *Takeshita Shoichiro <jl...@gmail.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Wednesday, December 11, 2019 at 3:34 AM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Cc: *Carlos Rovira <ca...@apache.org>
> *Subject: *Re: How to compile tourdeflexmodules
>
>
>
> Alex, I run Ant on Windows 10 as well as on Mac.  The same result.  Before
> running Ant, do I need set up something?
>
> P.S. I also run under 0.97.  The same.
>
>
>
> pwd
>
> /Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules
> takeshitashouichirounoMacBook-Pro:tourdeflexmodules taksho$ ant
> Buildfile:
> /Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/build.xml
>
> compile-shell:
>     [mxmlc] MXMLJSC
>     [mxmlc] -module-output=/
>     [mxmlc] -js-compiler-option=--variable_map_output_file
> gcc_variablemap.txt
>     [mxmlc] -js-compiler-option+=--property_map_output_file
> gcc_propertymap.txt
>     [mxmlc]
> -externs-report=/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin/js-debug/externs_report.js
>     [mxmlc]
> -link-report=/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin-debug/link_report.xml
>     [mxmlc] +playerglobal.version=11.1
>     [mxmlc] +env.AIR_HOME=${env.AIR_HOME}
>     [mxmlc] +env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}
>     [mxmlc] -compiler.debug=false
>     [mxmlc]
> +royalelib=/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/frameworks/
>     [mxmlc]
> -load-config=/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/frameworks/flex-config.xml
>     [mxmlc]
> -output=/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin-debug/explorer.swf
>     [mxmlc] --
>     [mxmlc]
> /Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/src//explorer.mxml
>     [mxmlc] 12 11, 2019 8:26:51 午後
> com.google.javascript.jscomp.LoggerErrorManager println
>     [mxmlc] 警告:
> /Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin/js-debug/SourceTab.js:124:
> WARNING - Invalid flags to RegExp constructor: STRING gs 124 [length: 4]
> [source_file:
> /Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin/js-debug/SourceTab.js]
> : string
>     [mxmlc]   var /** @type {RegExp} */ r = new RegExp("\r\n", "gs");
>     [mxmlc]                                                    ^^^^
>     [mxmlc]
>     [mxmlc] 12 11, 2019 8:26:51 午後
> com.google.javascript.jscomp.LoggerErrorManager println
>     [mxmlc] 警告:
> /Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin/js-debug/explorer.js:398:
> WARNING - Parse error. extra visibility tag
>     [mxmlc]   * @private
>     [mxmlc]     ^
>     [mxmlc]
>     [mxmlc] 12 11, 2019 8:26:51 午後
> com.google.javascript.jscomp.LoggerErrorManager println
>     [mxmlc] 警告: externs/dialogPolyfill.js:19: WARNING - accessing name
> dialogPolyfill in externs has no effect. Perhaps you forgot to add a var
> keyword?
>     [mxmlc] dialogPolyfill = function() {
>     [mxmlc] ^^^^^^^^^^^^^^
>     [mxmlc]
>     [mxmlc] 12 11, 2019 8:26:51 午後
> com.google.javascript.jscomp.LoggerErrorManager println
>     [mxmlc] 警告: externs/dialogPolyfill.js:19: WARNING - variable
> dialogPolyfill is undeclared
>     [mxmlc] dialogPolyfill = function() {
>     [mxmlc] ^^^^^^^^^^^^^^
>     [mxmlc]
>     [mxmlc] 12 11, 2019 8:26:51 午後
> com.google.javascript.jscomp.LoggerErrorManager println
>     [mxmlc] 警告: externs/dialogPolyfill.js:27: WARNING - name
> dialogPolyfill is not defined in the externs.
>     [mxmlc] dialogPolyfill.registerDialog = function(dialog) {
>     [mxmlc] ^^^^^^^^^^^^^^
>     [mxmlc]
>     [mxmlc] 12 11, 2019 8:26:51 午後
> com.google.javascript.jscomp.LoggerErrorManager printSummary
>     [mxmlc] 警告: 0 error(s), 5 warning(s), 98.4% typed
>     [mxmlc] The project 'explorer' has been successfully compiled and
> optimized.
>     [mxmlc] 29.522854301 seconds
>     [mxmlc] 警告 :
> /Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin-debug/link_report-js.xml
> にリンクレポートを書き込むことができません。
>     [mxmlc]
>     [mxmlc]
>     [mxmlc]
> /Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/src/SourceTab.mxml(33):
> col: 3 警告 : public var may not work in minified JS output.  Use
> getter/setter instead.
>     [mxmlc]
>     [mxmlc] public var app:String;
>     [mxmlc] ^
>     [mxmlc]
>     [mxmlc]
> /Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/src/SourceTab.mxml(34):
> col: 9 警告 : public var may not work in minified JS output.  Use
> getter/setter instead.
>     [mxmlc]
>     [mxmlc]         public var src:String;
>     [mxmlc]         ^
>     [mxmlc]
>     [mxmlc] MXMLJSC
>     [mxmlc] -module-output=/
>     [mxmlc]
> -load-externs=/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin-debug/link_report-js.xml
>     [mxmlc] -js-compiler-option=--variable_map_input_file
> gcc_variablemap.txt
>     [mxmlc] -js-compiler-option+=--property_map_input_file
> gcc_propertymap.txt
>     [mxmlc] -js-compiler-option+=--externs
> /Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin/js-debug/externs_report.js
>     [mxmlc] +playerglobal.version=11.1
>     [mxmlc] +env.AIR_HOME=${env.AIR_HOME}
>     [mxmlc] +env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}
>     [mxmlc] -compiler.debug=false
>     [mxmlc]
> +royalelib=/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/frameworks/
>     [mxmlc]
> -load-config=/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/frameworks/flex-config.xml
>     [mxmlc]
> -output=/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin-debug/Welcome.swf
>     [mxmlc] --
>     [mxmlc]
> /Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/src//Welcome.mxml
>     [mxmlc] 0.759611828 seconds
>     [mxmlc] command line エラー :
> '/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin-debug/link_report-js.xml'
> を開くことができません。
>     [mxmlc]
>     [mxmlc]
>     [mxmlc]
>
> BUILD FAILED
> /Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/build.xml:163:
> The following error occurred while executing this line:
> /Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/build.xml:95:
> mxmlc task failed.
>
> Total time: 31 seconds
> takeshitashouichirounoMacBook-Pro:tourdeflexmodules taksho$
>
>
>
> On Wed, Dec 11, 2019 at 2:09 AM Alex Harui <ah...@adobe.com> wrote:
>
> HI T-San,
>
>
>
> Not every source file in TDF will compile.  That’s why there is an Ant
> build script to only compile the ones that are currently working.  If you
> are not using Ant to build, you will need to find a way to subset which
> files are compiled.
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Takeshita Shoichiro <jl...@gmail.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Tuesday, December 10, 2019 at 5:33 AM
> *To: *Carlos Rovira <ca...@apache.org>
> *Cc: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *Re: How to compile tourdeflexmodules
>
>
>
> Carlos, I have problems with compiling Tour de Flex one by one.  Many of
> mxml files returned with errors.  I do not know what is wrong at moment.
> So, running mvn clean install will be after solving major problems.
>
>
>
>  I would think Data Binding is not working well.  I cannot compile
> ComboBoxExample.mxml or DropdownExample.mxml.
>
> And skinClass="skins.GradientBackgroundAppSkin"
>
> is not working for me.
>
> (examples\mxroyale\tourdeflexmodules\src\spark\skinning)
>
>
>
> ST
>
>
>
> On Tue, Dec 10, 2019 at 6:59 PM Carlos Rovira <ca...@apache.org>
> wrote:
>
> Hi,
>
>
>
> just to add. When I worked on Jewel Modules [1] I need to add Maven
> support for it, creating a proper maven layout for projects and ensuring I
> can make a mvn clean install that compile the app and the  module.
>
>
>
> @Takeshita Shoichiro <jl...@gmail.com>  you can check how I did it and
> try to improve Tour de Flex maven build to make a module be compiled in the
> same way, then propagate to the rest.
>
> If you do this, I think it will be of great help for all while will let
> you learn more about it in the process.
>
>
>
> Let me know what you think
>
>
>
> Thanks!
>
>
>
> Carlos
>
>
>
> [1]
> https://royale.apache.org/dividing-an-apache-royale-application-with-modules/
> <https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Froyale.apache.org%2Fdividing-an-apache-royale-application-with-modules%2F&data=02%7C01%7Caharui%40adobe.com%7C4b6a0481e6ad411b894e08d77e2e14e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637116608701975061&sdata=E01EoR8Sif9WTntarySpjIuUBT2hr%2F6zqj6yaf2f3Tw%3D&reserved=0>
>
>
>
>
>
>
>
>
>
>
>
> El mar., 10 dic. 2019 a las 5:57, Alex Harui (<ah...@adobe.com>)
> escribió:
>
> I’m sure the Moonshine folks would be interested what errors you are
> getting, if any.
>
>
>
> -Alex
>
>
>
> *From: *Mandeep Sarma <mu...@gmail.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Monday, December 9, 2019 at 8:01 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *Re: How to compile tourdeflexmodules
>
>
>
> to add my 2 cents, but hopefully not add more confusion... until about 2/3
> weeks ago was able to compile Tourdejewel and Royalstore examples
> repeatedly , I believe I was using SDK 0.9.6 with Moonshine nightly build.
> I recall I had to rename the slider to hslider, so it was a recent SDK. The
> examples worked almost 100% after I was able to change the custom URLs to
> http URLs. It only stopped working for me when I selected to install all
> extra software because in the "about moonshine" tab it showed none of the
> software was installed even though I knew it was wrong. I wonder what the
> install could have change to prevent the examples from compiling
> successfully again.
>
>
>
> Mandeep
>
>
>
> On Mon, Dec 9, 2019 at 8:29 AM Takeshita Shoichiro <jl...@gmail.com>
> wrote:
>
> When running mvn clean install at Examples, mxml files in the
> \royale-asjs\examples\mxroyale\tourdeflexmodules directory are not
> compiled.
>
>
>
> How can I do that?
>
>
>
> I also have an error when opening ComboBoxExample.mxml in VS Code.
>
>
>
> <s:Module xmlns:fx="http://ns.adobe.com/mxml/2009
> <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.adobe.com%2Fmxml%2F2009&data=02%7C01%7Caharui%40adobe.com%7C4b6a0481e6ad411b894e08d77e2e14e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637116608701985057&sdata=3VZZim4h2rczotovI0aQvTXYTmh%2B7SKKU3KRTcHNO30%3D&reserved=0>
> "
>
>                xmlns:s="library://ns.apache.org/royale/spark
> <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.apache.org%2Froyale%2Fspark&data=02%7C01%7Caharui%40adobe.com%7C4b6a0481e6ad411b894e08d77e2e14e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637116608701985057&sdata=r%2BGTlPHBH8k8NaokJ8M%2F%2BXb3rHLA3Te9gAcaH4mD7ig%3D&reserved=0>
> "
>
>                xmlns:mx="library://ns.apache.org/royale/mx
> <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.apache.org%2Froyale%2Fmx&data=02%7C01%7Caharui%40adobe.com%7C4b6a0481e6ad411b894e08d77e2e14e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637116608701995056&sdata=OsCT3mtoiBesHMxlrZJwXd1MWEnl2XsnNuqax0HnR7I%3D&reserved=0>
> "
>
>                width="100%" height="100%">
>
>
>
> This tag (<s:Module) is not resolved to ActionScript class.  what's wrong?
>
>
>
> Shoichiro Takeshita
>
>
>
>
> --
>
> Carlos Rovira
>
> http://about.me/carlosrovira
> <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C4b6a0481e6ad411b894e08d77e2e14e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637116608701995056&sdata=epw8qEF4a1i5QpIBtLVTilZgcffB%2Fs4xM%2BKry23yaK8%3D&reserved=0>
>
>
>
>
>
>
> --
>
> Shoichiro Takeshita
> 武下 祥一郎
>
>
>
>
> --
>
> Shoichiro Takeshita
> 武下 祥一郎
>
-- 
Shoichiro Takeshita
武下 祥一郎

Re: How to compile tourdeflexmodules

Posted by Alex Harui <ah...@adobe.com>.
Hi T-San,

I guess tourdeflexmodules build.xml hasn’t been tested in a JS-only SDK.  It is making some assumptions that a SWF is being built.  You can try modifying the build so that the link report is written to and read from bin/js-debug instead of bin-debug

-Alex

From: Takeshita Shoichiro <jl...@gmail.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Wednesday, December 11, 2019 at 3:34 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Cc: Carlos Rovira <ca...@apache.org>
Subject: Re: How to compile tourdeflexmodules

Alex, I run Ant on Windows 10 as well as on Mac.  The same result.  Before running Ant, do I need set up something?
P.S. I also run under 0.97.  The same.

pwd
/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules
takeshitashouichirounoMacBook-Pro:tourdeflexmodules taksho$ ant
Buildfile: /Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/build.xml

compile-shell:
    [mxmlc] MXMLJSC
    [mxmlc] -module-output=/
    [mxmlc] -js-compiler-option=--variable_map_output_file gcc_variablemap.txt
    [mxmlc] -js-compiler-option+=--property_map_output_file gcc_propertymap.txt
    [mxmlc] -externs-report=/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin/js-debug/externs_report.js
    [mxmlc] -link-report=/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin-debug/link_report.xml
    [mxmlc] +playerglobal.version=11.1
    [mxmlc] +env.AIR_HOME=${env.AIR_HOME}
    [mxmlc] +env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}
    [mxmlc] -compiler.debug=false
    [mxmlc] +royalelib=/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/frameworks/
    [mxmlc] -load-config=/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/frameworks/flex-config.xml
    [mxmlc] -output=/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin-debug/explorer.swf
    [mxmlc] --
    [mxmlc] /Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/src//explorer.mxml
    [mxmlc] 12 11, 2019 8:26:51 午後 com.google.javascript.jscomp.LoggerErrorManager println
    [mxmlc] 警告: /Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin/js-debug/SourceTab.js:124: WARNING - Invalid flags to RegExp constructor: STRING gs 124 [length: 4] [source_file: /Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin/js-debug/SourceTab.js] : string
    [mxmlc]   var /** @type {RegExp} */ r = new RegExp("\r\n", "gs");
    [mxmlc]                                                    ^^^^
    [mxmlc]
    [mxmlc] 12 11, 2019 8:26:51 午後 com.google.javascript.jscomp.LoggerErrorManager println
    [mxmlc] 警告: /Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin/js-debug/explorer.js:398: WARNING - Parse error. extra visibility tag
    [mxmlc]   * @private
    [mxmlc]     ^
    [mxmlc]
    [mxmlc] 12 11, 2019 8:26:51 午後 com.google.javascript.jscomp.LoggerErrorManager println
    [mxmlc] 警告: externs/dialogPolyfill.js:19: WARNING - accessing name dialogPolyfill in externs has no effect. Perhaps you forgot to add a var keyword?
    [mxmlc] dialogPolyfill = function() {
    [mxmlc] ^^^^^^^^^^^^^^
    [mxmlc]
    [mxmlc] 12 11, 2019 8:26:51 午後 com.google.javascript.jscomp.LoggerErrorManager println
    [mxmlc] 警告: externs/dialogPolyfill.js:19: WARNING - variable dialogPolyfill is undeclared
    [mxmlc] dialogPolyfill = function() {
    [mxmlc] ^^^^^^^^^^^^^^
    [mxmlc]
    [mxmlc] 12 11, 2019 8:26:51 午後 com.google.javascript.jscomp.LoggerErrorManager println
    [mxmlc] 警告: externs/dialogPolyfill.js:27: WARNING - name dialogPolyfill is not defined in the externs.
    [mxmlc] dialogPolyfill.registerDialog = function(dialog) {
    [mxmlc] ^^^^^^^^^^^^^^
    [mxmlc]
    [mxmlc] 12 11, 2019 8:26:51 午後 com.google.javascript.jscomp.LoggerErrorManager printSummary
    [mxmlc] 警告: 0 error(s), 5 warning(s), 98.4% typed
    [mxmlc] The project 'explorer' has been successfully compiled and optimized.
    [mxmlc] 29.522854301 seconds
    [mxmlc] 警告 : /Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin-debug/link_report-js.xml にリンクレポートを書き込むことができません。
    [mxmlc]
    [mxmlc]
    [mxmlc] /Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/src/SourceTab.mxml(33): col: 3 警告 : public var may not work in minified JS output.  Use getter/setter instead.
    [mxmlc]
    [mxmlc] public var app:String;
    [mxmlc] ^
    [mxmlc]
    [mxmlc] /Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/src/SourceTab.mxml(34): col: 9 警告 : public var may not work in minified JS output.  Use getter/setter instead.
    [mxmlc]
    [mxmlc]         public var src:String;
    [mxmlc]         ^
    [mxmlc]
    [mxmlc] MXMLJSC
    [mxmlc] -module-output=/
    [mxmlc] -load-externs=/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin-debug/link_report-js.xml
    [mxmlc] -js-compiler-option=--variable_map_input_file gcc_variablemap.txt
    [mxmlc] -js-compiler-option+=--property_map_input_file gcc_propertymap.txt
    [mxmlc] -js-compiler-option+=--externs /Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin/js-debug/externs_report.js
    [mxmlc] +playerglobal.version=11.1
    [mxmlc] +env.AIR_HOME=${env.AIR_HOME}
    [mxmlc] +env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}
    [mxmlc] -compiler.debug=false
    [mxmlc] +royalelib=/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/frameworks/
    [mxmlc] -load-config=/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/frameworks/flex-config.xml
    [mxmlc] -output=/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin-debug/Welcome.swf
    [mxmlc] --
    [mxmlc] /Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/src//Welcome.mxml
    [mxmlc] 0.759611828 seconds
    [mxmlc] command line エラー : '/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin-debug/link_report-js.xml' を開くことができません。
    [mxmlc]
    [mxmlc]
    [mxmlc]

BUILD FAILED
/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/build.xml:163: The following error occurred while executing this line:
/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/build.xml:95: mxmlc task failed.

Total time: 31 seconds
takeshitashouichirounoMacBook-Pro:tourdeflexmodules taksho$

On Wed, Dec 11, 2019 at 2:09 AM Alex Harui <ah...@adobe.com>> wrote:
HI T-San,

Not every source file in TDF will compile.  That’s why there is an Ant build script to only compile the ones that are currently working.  If you are not using Ant to build, you will need to find a way to subset which files are compiled.

Thanks,
-Alex

From: Takeshita Shoichiro <jl...@gmail.com>>
Reply-To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Date: Tuesday, December 10, 2019 at 5:33 AM
To: Carlos Rovira <ca...@apache.org>>
Cc: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Subject: Re: How to compile tourdeflexmodules

Carlos, I have problems with compiling Tour de Flex one by one.  Many of mxml files returned with errors.  I do not know what is wrong at moment.  So, running mvn clean install will be after solving major problems.

 I would think Data Binding is not working well.  I cannot compile ComboBoxExample.mxml or DropdownExample.mxml.
And skinClass="skins.GradientBackgroundAppSkin"
is not working for me.
(examples\mxroyale\tourdeflexmodules\src\spark\skinning)

ST

On Tue, Dec 10, 2019 at 6:59 PM Carlos Rovira <ca...@apache.org>> wrote:
Hi,

just to add. When I worked on Jewel Modules [1] I need to add Maven support for it, creating a proper maven layout for projects and ensuring I can make a mvn clean install that compile the app and the  module.

@Takeshita Shoichiro<ma...@gmail.com>  you can check how I did it and try to improve Tour de Flex maven build to make a module be compiled in the same way, then propagate to the rest.
If you do this, I think it will be of great help for all while will let you learn more about it in the process.

Let me know what you think

Thanks!

Carlos

[1] https://royale.apache.org/dividing-an-apache-royale-application-with-modules/<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Froyale.apache.org%2Fdividing-an-apache-royale-application-with-modules%2F&data=02%7C01%7Caharui%40adobe.com%7C4b6a0481e6ad411b894e08d77e2e14e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637116608701975061&sdata=E01EoR8Sif9WTntarySpjIuUBT2hr%2F6zqj6yaf2f3Tw%3D&reserved=0>





El mar., 10 dic. 2019 a las 5:57, Alex Harui (<ah...@adobe.com>>) escribió:
I’m sure the Moonshine folks would be interested what errors you are getting, if any.

-Alex

From: Mandeep Sarma <mu...@gmail.com>>
Reply-To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Date: Monday, December 9, 2019 at 8:01 PM
To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Subject: Re: How to compile tourdeflexmodules

to add my 2 cents, but hopefully not add more confusion... until about 2/3 weeks ago was able to compile Tourdejewel and Royalstore examples repeatedly , I believe I was using SDK 0.9.6 with Moonshine nightly build. I recall I had to rename the slider to hslider, so it was a recent SDK. The examples worked almost 100% after I was able to change the custom URLs to http URLs. It only stopped working for me when I selected to install all extra software because in the "about moonshine" tab it showed none of the software was installed even though I knew it was wrong. I wonder what the install could have change to prevent the examples from compiling successfully again.

Mandeep

On Mon, Dec 9, 2019 at 8:29 AM Takeshita Shoichiro <jl...@gmail.com>> wrote:
When running mvn clean install at Examples, mxml files in the \royale-asjs\examples\mxroyale\tourdeflexmodules directory are not compiled.

How can I do that?

I also have an error when opening ComboBoxExample.mxml in VS Code.

<s:Module xmlns:fx="http://ns.adobe.com/mxml/2009<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.adobe.com%2Fmxml%2F2009&data=02%7C01%7Caharui%40adobe.com%7C4b6a0481e6ad411b894e08d77e2e14e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637116608701985057&sdata=3VZZim4h2rczotovI0aQvTXYTmh%2B7SKKU3KRTcHNO30%3D&reserved=0>"
               xmlns:s="library://ns.apache.org/royale/spark<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.apache.org%2Froyale%2Fspark&data=02%7C01%7Caharui%40adobe.com%7C4b6a0481e6ad411b894e08d77e2e14e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637116608701985057&sdata=r%2BGTlPHBH8k8NaokJ8M%2F%2BXb3rHLA3Te9gAcaH4mD7ig%3D&reserved=0>"
               xmlns:mx="library://ns.apache.org/royale/mx<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.apache.org%2Froyale%2Fmx&data=02%7C01%7Caharui%40adobe.com%7C4b6a0481e6ad411b894e08d77e2e14e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637116608701995056&sdata=OsCT3mtoiBesHMxlrZJwXd1MWEnl2XsnNuqax0HnR7I%3D&reserved=0>"
               width="100%" height="100%">

This tag (<s:Module) is not resolved to ActionScript class.  what's wrong?

Shoichiro Takeshita


--
Carlos Rovira
http://about.me/carlosrovira<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C4b6a0481e6ad411b894e08d77e2e14e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637116608701995056&sdata=epw8qEF4a1i5QpIBtLVTilZgcffB%2Fs4xM%2BKry23yaK8%3D&reserved=0>



--
Shoichiro Takeshita
武下 祥一郎


--
Shoichiro Takeshita
武下 祥一郎

Re: How to compile tourdeflexmodules

Posted by Takeshita Shoichiro <jl...@gmail.com>.
Alex, I run Ant on Windows 10 as well as on Mac.  The same result.  Before
running Ant, do I need set up something?
P.S. I also run under 0.97.  The same.

pwd
/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules
takeshitashouichirounoMacBook-Pro:tourdeflexmodules taksho$ ant
Buildfile:
/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/build.xml

compile-shell:
    [mxmlc] MXMLJSC
    [mxmlc] -module-output=/
    [mxmlc] -js-compiler-option=--variable_map_output_file
gcc_variablemap.txt
    [mxmlc] -js-compiler-option+=--property_map_output_file
gcc_propertymap.txt
    [mxmlc]
-externs-report=/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin/js-debug/externs_report.js
    [mxmlc]
-link-report=/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin-debug/link_report.xml
    [mxmlc] +playerglobal.version=11.1
    [mxmlc] +env.AIR_HOME=${env.AIR_HOME}
    [mxmlc] +env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}
    [mxmlc] -compiler.debug=false
    [mxmlc]
+royalelib=/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/frameworks/
    [mxmlc]
-load-config=/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/frameworks/flex-config.xml
    [mxmlc]
-output=/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin-debug/explorer.swf
    [mxmlc] --
    [mxmlc]
/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/src//explorer.mxml
    [mxmlc] 12 11, 2019 8:26:51 午後
com.google.javascript.jscomp.LoggerErrorManager println
    [mxmlc] 警告:
/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin/js-debug/SourceTab.js:124:
WARNING - Invalid flags to RegExp constructor: STRING gs 124 [length: 4]
[source_file:
/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin/js-debug/SourceTab.js]
: string
    [mxmlc]   var /** @type {RegExp} */ r = new RegExp("\r\n", "gs");
    [mxmlc]                                                    ^^^^
    [mxmlc]
    [mxmlc] 12 11, 2019 8:26:51 午後
com.google.javascript.jscomp.LoggerErrorManager println
    [mxmlc] 警告:
/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin/js-debug/explorer.js:398:
WARNING - Parse error. extra visibility tag
    [mxmlc]   * @private
    [mxmlc]     ^
    [mxmlc]
    [mxmlc] 12 11, 2019 8:26:51 午後
com.google.javascript.jscomp.LoggerErrorManager println
    [mxmlc] 警告: externs/dialogPolyfill.js:19: WARNING - accessing name
dialogPolyfill in externs has no effect. Perhaps you forgot to add a var
keyword?
    [mxmlc] dialogPolyfill = function() {
    [mxmlc] ^^^^^^^^^^^^^^
    [mxmlc]
    [mxmlc] 12 11, 2019 8:26:51 午後
com.google.javascript.jscomp.LoggerErrorManager println
    [mxmlc] 警告: externs/dialogPolyfill.js:19: WARNING - variable
dialogPolyfill is undeclared
    [mxmlc] dialogPolyfill = function() {
    [mxmlc] ^^^^^^^^^^^^^^
    [mxmlc]
    [mxmlc] 12 11, 2019 8:26:51 午後
com.google.javascript.jscomp.LoggerErrorManager println
    [mxmlc] 警告: externs/dialogPolyfill.js:27: WARNING - name dialogPolyfill
is not defined in the externs.
    [mxmlc] dialogPolyfill.registerDialog = function(dialog) {
    [mxmlc] ^^^^^^^^^^^^^^
    [mxmlc]
    [mxmlc] 12 11, 2019 8:26:51 午後
com.google.javascript.jscomp.LoggerErrorManager printSummary
    [mxmlc] 警告: 0 error(s), 5 warning(s), 98.4% typed
    [mxmlc] The project 'explorer' has been successfully compiled and
optimized.
    [mxmlc] 29.522854301 seconds
    [mxmlc] 警告 :
/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin-debug/link_report-js.xml
にリンクレポートを書き込むことができません。
    [mxmlc]
    [mxmlc]
    [mxmlc]
/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/src/SourceTab.mxml(33):
col: 3 警告 : public var may not work in minified JS output.  Use
getter/setter instead.
    [mxmlc]
    [mxmlc] public var app:String;
    [mxmlc] ^
    [mxmlc]
    [mxmlc]
/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/src/SourceTab.mxml(34):
col: 9 警告 : public var may not work in minified JS output.  Use
getter/setter instead.
    [mxmlc]
    [mxmlc]         public var src:String;
    [mxmlc]         ^
    [mxmlc]
    [mxmlc] MXMLJSC
    [mxmlc] -module-output=/
    [mxmlc]
-load-externs=/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin-debug/link_report-js.xml
    [mxmlc] -js-compiler-option=--variable_map_input_file
gcc_variablemap.txt
    [mxmlc] -js-compiler-option+=--property_map_input_file
gcc_propertymap.txt
    [mxmlc] -js-compiler-option+=--externs
/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin/js-debug/externs_report.js
    [mxmlc] +playerglobal.version=11.1
    [mxmlc] +env.AIR_HOME=${env.AIR_HOME}
    [mxmlc] +env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}
    [mxmlc] -compiler.debug=false
    [mxmlc]
+royalelib=/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/frameworks/
    [mxmlc]
-load-config=/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/frameworks/flex-config.xml
    [mxmlc]
-output=/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin-debug/Welcome.swf
    [mxmlc] --
    [mxmlc]
/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/src//Welcome.mxml
    [mxmlc] 0.759611828 seconds
    [mxmlc] command line エラー :
'/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/bin-debug/link_report-js.xml'
を開くことができません。
    [mxmlc]
    [mxmlc]
    [mxmlc]

BUILD FAILED
/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/build.xml:163:
The following error occurred while executing this line:
/Users/taksho/Downloads/apache-royale-0.9.6-bin-js/royale-asjs/examples/mxroyale/tourdeflexmodules/build.xml:95:
mxmlc task failed.

Total time: 31 seconds
takeshitashouichirounoMacBook-Pro:tourdeflexmodules taksho$

On Wed, Dec 11, 2019 at 2:09 AM Alex Harui <ah...@adobe.com> wrote:

> HI T-San,
>
>
>
> Not every source file in TDF will compile.  That’s why there is an Ant
> build script to only compile the ones that are currently working.  If you
> are not using Ant to build, you will need to find a way to subset which
> files are compiled.
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Takeshita Shoichiro <jl...@gmail.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Tuesday, December 10, 2019 at 5:33 AM
> *To: *Carlos Rovira <ca...@apache.org>
> *Cc: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *Re: How to compile tourdeflexmodules
>
>
>
> Carlos, I have problems with compiling Tour de Flex one by one.  Many of
> mxml files returned with errors.  I do not know what is wrong at moment.
> So, running mvn clean install will be after solving major problems.
>
>
>
>  I would think Data Binding is not working well.  I cannot compile
> ComboBoxExample.mxml or DropdownExample.mxml.
>
> And skinClass="skins.GradientBackgroundAppSkin"
>
> is not working for me.
>
> (examples\mxroyale\tourdeflexmodules\src\spark\skinning)
>
>
>
> ST
>
>
>
> On Tue, Dec 10, 2019 at 6:59 PM Carlos Rovira <ca...@apache.org>
> wrote:
>
> Hi,
>
>
>
> just to add. When I worked on Jewel Modules [1] I need to add Maven
> support for it, creating a proper maven layout for projects and ensuring I
> can make a mvn clean install that compile the app and the  module.
>
>
>
> @Takeshita Shoichiro <jl...@gmail.com>  you can check how I did it and
> try to improve Tour de Flex maven build to make a module be compiled in the
> same way, then propagate to the rest.
>
> If you do this, I think it will be of great help for all while will let
> you learn more about it in the process.
>
>
>
> Let me know what you think
>
>
>
> Thanks!
>
>
>
> Carlos
>
>
>
> [1]
> https://royale.apache.org/dividing-an-apache-royale-application-with-modules/
> <https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Froyale.apache.org%2Fdividing-an-apache-royale-application-with-modules%2F&data=02%7C01%7Caharui%40adobe.com%7Cda6d101008fb461a95f108d77d7594c9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637115816293315819&sdata=eA9cOcBXjUCeeZNLtZaDdJ5tgwioZteYlwk72j2cq6s%3D&reserved=0>
>
>
>
>
>
>
>
>
>
>
>
> El mar., 10 dic. 2019 a las 5:57, Alex Harui (<ah...@adobe.com>)
> escribió:
>
> I’m sure the Moonshine folks would be interested what errors you are
> getting, if any.
>
>
>
> -Alex
>
>
>
> *From: *Mandeep Sarma <mu...@gmail.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Monday, December 9, 2019 at 8:01 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *Re: How to compile tourdeflexmodules
>
>
>
> to add my 2 cents, but hopefully not add more confusion... until about 2/3
> weeks ago was able to compile Tourdejewel and Royalstore examples
> repeatedly , I believe I was using SDK 0.9.6 with Moonshine nightly build.
> I recall I had to rename the slider to hslider, so it was a recent SDK. The
> examples worked almost 100% after I was able to change the custom URLs to
> http URLs. It only stopped working for me when I selected to install all
> extra software because in the "about moonshine" tab it showed none of the
> software was installed even though I knew it was wrong. I wonder what the
> install could have change to prevent the examples from compiling
> successfully again.
>
>
>
> Mandeep
>
>
>
> On Mon, Dec 9, 2019 at 8:29 AM Takeshita Shoichiro <jl...@gmail.com>
> wrote:
>
> When running mvn clean install at Examples, mxml files in the
> \royale-asjs\examples\mxroyale\tourdeflexmodules directory are not
> compiled.
>
>
>
> How can I do that?
>
>
>
> I also have an error when opening ComboBoxExample.mxml in VS Code.
>
>
>
> <s:Module xmlns:fx="http://ns.adobe.com/mxml/2009
> <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.adobe.com%2Fmxml%2F2009&data=02%7C01%7Caharui%40adobe.com%7Cda6d101008fb461a95f108d77d7594c9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637115816293325812&sdata=hq2%2FSHc7aT0sDQFsWaJgA0FpD%2FujgolnOpccdc7obt8%3D&reserved=0>
> "
>
>                xmlns:s="library://ns.apache.org/royale/spark
> <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.apache.org%2Froyale%2Fspark&data=02%7C01%7Caharui%40adobe.com%7Cda6d101008fb461a95f108d77d7594c9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637115816293325812&sdata=uMlLSWASbJZrvDskteOw302p8lf6WI%2B%2BouYqHfHC6Bs%3D&reserved=0>
> "
>
>                xmlns:mx="library://ns.apache.org/royale/mx
> <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.apache.org%2Froyale%2Fmx&data=02%7C01%7Caharui%40adobe.com%7Cda6d101008fb461a95f108d77d7594c9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637115816293335805&sdata=Zv3ZbIDc5kKPpilPrXB7f597%2BcxwnvwpCS%2BDXcEIN3Y%3D&reserved=0>
> "
>
>                width="100%" height="100%">
>
>
>
> This tag (<s:Module) is not resolved to ActionScript class.  what's wrong?
>
>
>
> Shoichiro Takeshita
>
>
>
>
> --
>
> Carlos Rovira
>
> http://about.me/carlosrovira
> <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7Cda6d101008fb461a95f108d77d7594c9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637115816293335805&sdata=QhAn%2FcbfJRY0R5Ua7Pp6GseKeVCrFlVuZbfW4CcT%2B%2Fg%3D&reserved=0>
>
>
>
>
>
>
> --
>
> Shoichiro Takeshita
> 武下 祥一郎
>


-- 
Shoichiro Takeshita
武下 祥一郎

Re: How to compile tourdeflexmodules

Posted by Alex Harui <ah...@adobe.com>.
HI T-San,

Not every source file in TDF will compile.  That’s why there is an Ant build script to only compile the ones that are currently working.  If you are not using Ant to build, you will need to find a way to subset which files are compiled.

Thanks,
-Alex

From: Takeshita Shoichiro <jl...@gmail.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Tuesday, December 10, 2019 at 5:33 AM
To: Carlos Rovira <ca...@apache.org>
Cc: "users@royale.apache.org" <us...@royale.apache.org>
Subject: Re: How to compile tourdeflexmodules

Carlos, I have problems with compiling Tour de Flex one by one.  Many of mxml files returned with errors.  I do not know what is wrong at moment.  So, running mvn clean install will be after solving major problems.

 I would think Data Binding is not working well.  I cannot compile ComboBoxExample.mxml or DropdownExample.mxml.
And skinClass="skins.GradientBackgroundAppSkin"
is not working for me.
(examples\mxroyale\tourdeflexmodules\src\spark\skinning)


ST

On Tue, Dec 10, 2019 at 6:59 PM Carlos Rovira <ca...@apache.org>> wrote:
Hi,

just to add. When I worked on Jewel Modules [1] I need to add Maven support for it, creating a proper maven layout for projects and ensuring I can make a mvn clean install that compile the app and the  module.

@Takeshita Shoichiro<ma...@gmail.com>  you can check how I did it and try to improve Tour de Flex maven build to make a module be compiled in the same way, then propagate to the rest.
If you do this, I think it will be of great help for all while will let you learn more about it in the process.

Let me know what you think

Thanks!

Carlos

[1] https://royale.apache.org/dividing-an-apache-royale-application-with-modules/<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Froyale.apache.org%2Fdividing-an-apache-royale-application-with-modules%2F&data=02%7C01%7Caharui%40adobe.com%7Cda6d101008fb461a95f108d77d7594c9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637115816293315819&sdata=eA9cOcBXjUCeeZNLtZaDdJ5tgwioZteYlwk72j2cq6s%3D&reserved=0>





El mar., 10 dic. 2019 a las 5:57, Alex Harui (<ah...@adobe.com>>) escribió:
I’m sure the Moonshine folks would be interested what errors you are getting, if any.

-Alex

From: Mandeep Sarma <mu...@gmail.com>>
Reply-To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Date: Monday, December 9, 2019 at 8:01 PM
To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Subject: Re: How to compile tourdeflexmodules

to add my 2 cents, but hopefully not add more confusion... until about 2/3 weeks ago was able to compile Tourdejewel and Royalstore examples repeatedly , I believe I was using SDK 0.9.6 with Moonshine nightly build. I recall I had to rename the slider to hslider, so it was a recent SDK. The examples worked almost 100% after I was able to change the custom URLs to http URLs. It only stopped working for me when I selected to install all extra software because in the "about moonshine" tab it showed none of the software was installed even though I knew it was wrong. I wonder what the install could have change to prevent the examples from compiling successfully again.

Mandeep

On Mon, Dec 9, 2019 at 8:29 AM Takeshita Shoichiro <jl...@gmail.com>> wrote:
When running mvn clean install at Examples, mxml files in the \royale-asjs\examples\mxroyale\tourdeflexmodules directory are not compiled.

How can I do that?

I also have an error when opening ComboBoxExample.mxml in VS Code.

<s:Module xmlns:fx="http://ns.adobe.com/mxml/2009<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.adobe.com%2Fmxml%2F2009&data=02%7C01%7Caharui%40adobe.com%7Cda6d101008fb461a95f108d77d7594c9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637115816293325812&sdata=hq2%2FSHc7aT0sDQFsWaJgA0FpD%2FujgolnOpccdc7obt8%3D&reserved=0>"
               xmlns:s="library://ns.apache.org/royale/spark<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.apache.org%2Froyale%2Fspark&data=02%7C01%7Caharui%40adobe.com%7Cda6d101008fb461a95f108d77d7594c9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637115816293325812&sdata=uMlLSWASbJZrvDskteOw302p8lf6WI%2B%2BouYqHfHC6Bs%3D&reserved=0>"
               xmlns:mx="library://ns.apache.org/royale/mx<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.apache.org%2Froyale%2Fmx&data=02%7C01%7Caharui%40adobe.com%7Cda6d101008fb461a95f108d77d7594c9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637115816293335805&sdata=Zv3ZbIDc5kKPpilPrXB7f597%2BcxwnvwpCS%2BDXcEIN3Y%3D&reserved=0>"
               width="100%" height="100%">

This tag (<s:Module) is not resolved to ActionScript class.  what's wrong?

Shoichiro Takeshita


--
Carlos Rovira
http://about.me/carlosrovira<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7Cda6d101008fb461a95f108d77d7594c9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637115816293335805&sdata=QhAn%2FcbfJRY0R5Ua7Pp6GseKeVCrFlVuZbfW4CcT%2B%2Fg%3D&reserved=0>



--
Shoichiro Takeshita
武下 祥一郎

Re: How to compile tourdeflexmodules

Posted by Takeshita Shoichiro <jl...@gmail.com>.
Carlos, I have problems with compiling Tour de Flex one by one.  Many of
mxml files returned with errors.  I do not know what is wrong at moment.
So, running mvn clean install will be after solving major problems.

 I would think Data Binding is not working well.  I cannot compile
ComboBoxExample.mxml or DropdownExample.mxml.
And skinClass="skins.GradientBackgroundAppSkin" is not working for me. (
examples\mxroyale\tourdeflexmodules\src\spark\skinning)

ST

On Tue, Dec 10, 2019 at 6:59 PM Carlos Rovira <ca...@apache.org>
wrote:

> Hi,
>
> just to add. When I worked on Jewel Modules [1] I need to add Maven
> support for it, creating a proper maven layout for projects and ensuring I
> can make a mvn clean install that compile the app and the  module.
>
> @Takeshita Shoichiro <jl...@gmail.com>  you can check how I did it and
> try to improve Tour de Flex maven build to make a module be compiled in the
> same way, then propagate to the rest.
> If you do this, I think it will be of great help for all while will let
> you learn more about it in the process.
>
> Let me know what you think
>
> Thanks!
>
> Carlos
>
> [1]
> https://royale.apache.org/dividing-an-apache-royale-application-with-modules/
>
>
>
>
>
> El mar., 10 dic. 2019 a las 5:57, Alex Harui (<ah...@adobe.com>)
> escribió:
>
>> I’m sure the Moonshine folks would be interested what errors you are
>> getting, if any.
>>
>>
>>
>> -Alex
>>
>>
>>
>> *From: *Mandeep Sarma <mu...@gmail.com>
>> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
>> *Date: *Monday, December 9, 2019 at 8:01 PM
>> *To: *"users@royale.apache.org" <us...@royale.apache.org>
>> *Subject: *Re: How to compile tourdeflexmodules
>>
>>
>>
>> to add my 2 cents, but hopefully not add more confusion... until about
>> 2/3 weeks ago was able to compile Tourdejewel and Royalstore examples
>> repeatedly , I believe I was using SDK 0.9.6 with Moonshine nightly build.
>> I recall I had to rename the slider to hslider, so it was a recent SDK. The
>> examples worked almost 100% after I was able to change the custom URLs to
>> http URLs. It only stopped working for me when I selected to install all
>> extra software because in the "about moonshine" tab it showed none of the
>> software was installed even though I knew it was wrong. I wonder what the
>> install could have change to prevent the examples from compiling
>> successfully again.
>>
>>
>>
>> Mandeep
>>
>>
>>
>> On Mon, Dec 9, 2019 at 8:29 AM Takeshita Shoichiro <jl...@gmail.com>
>> wrote:
>>
>> When running mvn clean install at Examples, mxml files in the
>> \royale-asjs\examples\mxroyale\tourdeflexmodules directory are not
>> compiled.
>>
>>
>>
>> How can I do that?
>>
>>
>>
>> I also have an error when opening ComboBoxExample.mxml in VS Code.
>>
>>
>>
>> <s:Module xmlns:fx="http://ns.adobe.com/mxml/2009
>> <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.adobe.com%2Fmxml%2F2009&data=02%7C01%7Caharui%40adobe.com%7Cd5d13a85278547c19abc08d77d25a000%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637115472893530155&sdata=6LOeD3k92rYl0lNcEhd%2BdLrmu5Jlkx%2FidzXAg5wMK7w%3D&reserved=0>
>> "
>>
>>                xmlns:s="library://ns.apache.org/royale/spark
>> <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.apache.org%2Froyale%2Fspark&data=02%7C01%7Caharui%40adobe.com%7Cd5d13a85278547c19abc08d77d25a000%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637115472893540149&sdata=AdJFG2wHi0Dzg5LxY0eKfP8TD3VO7E0BDYWQNlCzLjk%3D&reserved=0>
>> "
>>
>>                xmlns:mx="library://ns.apache.org/royale/mx
>> <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.apache.org%2Froyale%2Fmx&data=02%7C01%7Caharui%40adobe.com%7Cd5d13a85278547c19abc08d77d25a000%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637115472893540149&sdata=pzrjyBjnFgphlEoXg%2BtHTAyXz8z5Cway893cH1ekwIk%3D&reserved=0>
>> "
>>
>>                width="100%" height="100%">
>>
>>
>>
>> This tag (<s:Module) is not resolved to ActionScript class.  what's wrong?
>>
>>
>>
>> Shoichiro Takeshita
>>
>>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
>

-- 
Shoichiro Takeshita
武下 祥一郎

Re: How to compile tourdeflexmodules

Posted by Carlos Rovira <ca...@apache.org>.
Hi,

just to add. When I worked on Jewel Modules [1] I need to add Maven support
for it, creating a proper maven layout for projects and ensuring I can make
a mvn clean install that compile the app and the  module.

@Takeshita Shoichiro <jl...@gmail.com>  you can check how I did it and
try to improve Tour de Flex maven build to make a module be compiled in the
same way, then propagate to the rest.
If you do this, I think it will be of great help for all while will let you
learn more about it in the process.

Let me know what you think

Thanks!

Carlos

[1]
https://royale.apache.org/dividing-an-apache-royale-application-with-modules/





El mar., 10 dic. 2019 a las 5:57, Alex Harui (<ah...@adobe.com>) escribió:

> I’m sure the Moonshine folks would be interested what errors you are
> getting, if any.
>
>
>
> -Alex
>
>
>
> *From: *Mandeep Sarma <mu...@gmail.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Monday, December 9, 2019 at 8:01 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *Re: How to compile tourdeflexmodules
>
>
>
> to add my 2 cents, but hopefully not add more confusion... until about 2/3
> weeks ago was able to compile Tourdejewel and Royalstore examples
> repeatedly , I believe I was using SDK 0.9.6 with Moonshine nightly build.
> I recall I had to rename the slider to hslider, so it was a recent SDK. The
> examples worked almost 100% after I was able to change the custom URLs to
> http URLs. It only stopped working for me when I selected to install all
> extra software because in the "about moonshine" tab it showed none of the
> software was installed even though I knew it was wrong. I wonder what the
> install could have change to prevent the examples from compiling
> successfully again.
>
>
>
> Mandeep
>
>
>
> On Mon, Dec 9, 2019 at 8:29 AM Takeshita Shoichiro <jl...@gmail.com>
> wrote:
>
> When running mvn clean install at Examples, mxml files in the
> \royale-asjs\examples\mxroyale\tourdeflexmodules directory are not
> compiled.
>
>
>
> How can I do that?
>
>
>
> I also have an error when opening ComboBoxExample.mxml in VS Code.
>
>
>
> <s:Module xmlns:fx="http://ns.adobe.com/mxml/2009
> <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.adobe.com%2Fmxml%2F2009&data=02%7C01%7Caharui%40adobe.com%7Cd5d13a85278547c19abc08d77d25a000%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637115472893530155&sdata=6LOeD3k92rYl0lNcEhd%2BdLrmu5Jlkx%2FidzXAg5wMK7w%3D&reserved=0>
> "
>
>                xmlns:s="library://ns.apache.org/royale/spark
> <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.apache.org%2Froyale%2Fspark&data=02%7C01%7Caharui%40adobe.com%7Cd5d13a85278547c19abc08d77d25a000%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637115472893540149&sdata=AdJFG2wHi0Dzg5LxY0eKfP8TD3VO7E0BDYWQNlCzLjk%3D&reserved=0>
> "
>
>                xmlns:mx="library://ns.apache.org/royale/mx
> <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.apache.org%2Froyale%2Fmx&data=02%7C01%7Caharui%40adobe.com%7Cd5d13a85278547c19abc08d77d25a000%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637115472893540149&sdata=pzrjyBjnFgphlEoXg%2BtHTAyXz8z5Cway893cH1ekwIk%3D&reserved=0>
> "
>
>                width="100%" height="100%">
>
>
>
> This tag (<s:Module) is not resolved to ActionScript class.  what's wrong?
>
>
>
> Shoichiro Takeshita
>
>

-- 
Carlos Rovira
http://about.me/carlosrovira

Re: How to compile tourdeflexmodules

Posted by Alex Harui <ah...@adobe.com>.
I’m sure the Moonshine folks would be interested what errors you are getting, if any.

-Alex

From: Mandeep Sarma <mu...@gmail.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, December 9, 2019 at 8:01 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: Re: How to compile tourdeflexmodules

to add my 2 cents, but hopefully not add more confusion... until about 2/3 weeks ago was able to compile Tourdejewel and Royalstore examples repeatedly , I believe I was using SDK 0.9.6 with Moonshine nightly build. I recall I had to rename the slider to hslider, so it was a recent SDK. The examples worked almost 100% after I was able to change the custom URLs to http URLs. It only stopped working for me when I selected to install all extra software because in the "about moonshine" tab it showed none of the software was installed even though I knew it was wrong. I wonder what the install could have change to prevent the examples from compiling successfully again.

Mandeep

On Mon, Dec 9, 2019 at 8:29 AM Takeshita Shoichiro <jl...@gmail.com>> wrote:
When running mvn clean install at Examples, mxml files in the \royale-asjs\examples\mxroyale\tourdeflexmodules directory are not compiled.

How can I do that?

I also have an error when opening ComboBoxExample.mxml in VS Code.

<s:Module xmlns:fx="http://ns.adobe.com/mxml/2009<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.adobe.com%2Fmxml%2F2009&data=02%7C01%7Caharui%40adobe.com%7Cd5d13a85278547c19abc08d77d25a000%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637115472893530155&sdata=6LOeD3k92rYl0lNcEhd%2BdLrmu5Jlkx%2FidzXAg5wMK7w%3D&reserved=0>"
               xmlns:s="library://ns.apache.org/royale/spark<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.apache.org%2Froyale%2Fspark&data=02%7C01%7Caharui%40adobe.com%7Cd5d13a85278547c19abc08d77d25a000%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637115472893540149&sdata=AdJFG2wHi0Dzg5LxY0eKfP8TD3VO7E0BDYWQNlCzLjk%3D&reserved=0>"
               xmlns:mx="library://ns.apache.org/royale/mx<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.apache.org%2Froyale%2Fmx&data=02%7C01%7Caharui%40adobe.com%7Cd5d13a85278547c19abc08d77d25a000%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637115472893540149&sdata=pzrjyBjnFgphlEoXg%2BtHTAyXz8z5Cway893cH1ekwIk%3D&reserved=0>"
               width="100%" height="100%">

This tag (<s:Module) is not resolved to ActionScript class.  what's wrong?

Shoichiro Takeshita

Re: How to compile tourdeflexmodules

Posted by Mandeep Sarma <mu...@gmail.com>.
to add my 2 cents, but hopefully not add more confusion... until about 2/3
weeks ago was able to compile Tourdejewel and Royalstore examples
repeatedly , I believe I was using SDK 0.9.6 with Moonshine nightly build.
I recall I had to rename the slider to hslider, so it was a recent SDK. The
examples worked almost 100% after I was able to change the custom URLs to
http URLs. It only stopped working for me when I selected to install all
extra software because in the "about moonshine" tab it showed none of the
software was installed even though I knew it was wrong. I wonder what the
install could have change to prevent the examples from compiling
successfully again.

Mandeep

On Mon, Dec 9, 2019 at 8:29 AM Takeshita Shoichiro <jl...@gmail.com>
wrote:

> When running mvn clean install at Examples, mxml files in the
> \royale-asjs\examples\mxroyale\tourdeflexmodules directory are not compiled.
>
> How can I do that?
>
> I also have an error when opening ComboBoxExample.mxml in VS Code.
>
> <s:Module xmlns:fx="http://ns.adobe.com/mxml/2009"
>                xmlns:s="library://ns.apache.org/royale/spark"
>                xmlns:mx="library://ns.apache.org/royale/mx"
>                width="100%" height="100%">
>
> This tag (<s:Module) is not resolved to ActionScript class.  what's wrong?
>
> Shoichiro Takeshita
>