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> 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> > *Reply-To: *"users@royale.apache.org" <users@royale.apache.org> > *Date: *Tuesday, December 10, 2019 at 5:33 AM > *To: *Carlos Rovira <carlosrov...@apache.org> > *Cc: *"users@royale.apache.org" <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> > 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 <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%7Cda6d101008fb461a95f108d77d7594c9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637115816293315819&sdata=eA9cOcBXjUCeeZNLtZaDdJ5tgwioZteYlwk72j2cq6s%3D&reserved=0> > > > > > > > > > > > > El mar., 10 dic. 2019 a las 5:57, Alex Harui (<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> > *Reply-To: *"users@royale.apache.org" <users@royale.apache.org> > *Date: *Monday, December 9, 2019 at 8:01 PM > *To: *"users@royale.apache.org" <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> > 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 武下 祥一郎