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 <jl03...@gmail.com>
Reply-To: "users@royale.apache.org" <users@royale.apache.org>
Date: Wednesday, December 11, 2019 at 3:34 AM
To: "users@royale.apache.org" <users@royale.apache.org>
Cc: Carlos Rovira <carlosrov...@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 
<aha...@adobe.com<mailto:aha...@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 <jl03...@gmail.com<mailto:jl03...@gmail.com>>
Reply-To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
<users@royale.apache.org<mailto:users@royale.apache.org>>
Date: Tuesday, December 10, 2019 at 5:33 AM
To: Carlos Rovira <carlosrov...@apache.org<mailto:carlosrov...@apache.org>>
Cc: "users@royale.apache.org<mailto:users@royale.apache.org>" 
<users@royale.apache.org<mailto:users@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 
<carlosrov...@apache.org<mailto:carlosrov...@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<mailto:jl03...@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 
(<aha...@adobe.com<mailto:aha...@adobe.com>>) escribió:
I’m sure the Moonshine folks would be interested what errors you are getting, 
if any.

-Alex

From: Mandeep Sarma <muveryd...@gmail.com<mailto:muveryd...@gmail.com>>
Reply-To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
<users@royale.apache.org<mailto:users@royale.apache.org>>
Date: Monday, December 9, 2019 at 8:01 PM
To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
<users@royale.apache.org<mailto:users@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 
<jl03...@gmail.com<mailto:jl03...@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
武下 祥一郎

Reply via email to