Yes, or just get it from the repo:  
https://github.com/apache/royale-asjs/tree/develop/examples/mxroyale/tourdeflexmodules

From: Takeshita Shoichiro <[email protected]>
Reply-To: "[email protected]" <[email protected]>
Date: Wednesday, December 11, 2019 at 11:02 PM
To: "[email protected]" <[email protected]>
Subject: Re: How to compile tourdeflexmodules


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

2019年12月12日(木) 15:32 Alex Harui <[email protected]<mailto:[email protected]>>:
I just pushed a change to royale-asjs that seems to get it to work for me.

-Alex

From: Takeshita Shoichiro <[email protected]<mailto:[email protected]>>
Reply-To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Date: Wednesday, December 11, 2019 at 5:46 PM
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Cc: Carlos Rovira <[email protected]<mailto:[email protected]>>
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 <[email protected]<mailto:[email protected]>>:
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 <[email protected]<mailto:[email protected]>>
Reply-To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Date: Wednesday, December 11, 2019 at 3:34 AM
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Cc: Carlos Rovira <[email protected]<mailto:[email protected]>>
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 
<[email protected]<mailto:[email protected]>> 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 <[email protected]<mailto:[email protected]>>
Reply-To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Date: Tuesday, December 10, 2019 at 5:33 AM
To: Carlos Rovira <[email protected]<mailto:[email protected]>>
Cc: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
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 
<[email protected]<mailto:[email protected]>> 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<mailto:[email protected]>  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 
(<[email protected]<mailto:[email protected]>>) escribió:
I’m sure the Moonshine folks would be interested what errors you are getting, 
if any.

-Alex

From: Mandeep Sarma <[email protected]<mailto:[email protected]>>
Reply-To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Date: Monday, December 9, 2019 at 8:01 PM
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
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 
<[email protected]<mailto:[email protected]>> 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
武下 祥一郎

Reply via email to