blog/BE0011_Loading_external_data_through_HTTPService

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

blog/BE0011_Loading_external_data_through_HTTPService

T-san
Carlos,

js-debug/index.html does not show output on the browser.  js-release/index.html does show the output on the other hand.

I run mvn clean install against 0.96 on Mac.
Would you please check.

And I think BE0012 does not function as expected.  No piece of code is shown.  Would you please check?

Thanks.


Reply | Threaded
Open this post in threaded view
|

Re: blog/BE0011_Loading_external_data_through_HTTPService

Carlos Rovira-2
Hi Takeshita,

just fixed both examples. 
Some of the problems was due to child nodes in mxml not having the right prefix. Josh fixed that in compiler recently and we can still have examples broken for that. Can you please submit PR if you find others broken?.
In BE0011, the main GitHubService object was not in x:Declaration tag. I was not aware, that is currently needed. Other seems to fix that in the past weeks.
Notice that BE0012 apart from the fixes if run in localhost, since is loading a text file from other domain you need to remove CORS restrictions in your browser. I'll be adding a note in the tutorial, since others could not take that into account and think the example is broken.

Thanks for catching and reporting all this! Very useful!! As we fix things here and there we need to catch this problems. Hopefully Royale is enough robust these days and each day we have less and lees issues :)

Thanks!



El dom., 15 dic. 2019 a las 10:36, Takeshita Shoichiro (<[hidden email]>) escribió:
Carlos,

js-debug/index.html does not show output on the browser.  js-release/index.html does show the output on the other hand.

I run mvn clean install against 0.96 on Mac.
Would you please check.

And I think BE0012 does not function as expected.  No piece of code is shown.  Would you please check?

Thanks.




--
Reply | Threaded
Open this post in threaded view
|

Re: blog/BE0011_Loading_external_data_through_HTTPService

Carlos Rovira-2
Hi, 

I went through all the blog examples and fixed all. As well put asconfig.json working. ANT and Moonshine should be fixed by others with the time to contribute that.

I'm know checking the rest of examples to fix mostly child tags prefixes



El dom., 15 dic. 2019 a las 18:49, Carlos Rovira (<[hidden email]>) escribió:
Hi Takeshita,

just fixed both examples. 
Some of the problems was due to child nodes in mxml not having the right prefix. Josh fixed that in compiler recently and we can still have examples broken for that. Can you please submit PR if you find others broken?.
In BE0011, the main GitHubService object was not in x:Declaration tag. I was not aware, that is currently needed. Other seems to fix that in the past weeks.
Notice that BE0012 apart from the fixes if run in localhost, since is loading a text file from other domain you need to remove CORS restrictions in your browser. I'll be adding a note in the tutorial, since others could not take that into account and think the example is broken.

Thanks for catching and reporting all this! Very useful!! As we fix things here and there we need to catch this problems. Hopefully Royale is enough robust these days and each day we have less and lees issues :)

Thanks!



El dom., 15 dic. 2019 a las 10:36, Takeshita Shoichiro (<[hidden email]>) escribió:
Carlos,

js-debug/index.html does not show output on the browser.  js-release/index.html does show the output on the other hand.

I run mvn clean install against 0.96 on Mac.
Would you please check.

And I think BE0012 does not function as expected.  No piece of code is shown.  Would you please check?

Thanks.




--


--
Reply | Threaded
Open this post in threaded view
|

Re: blog/BE0011_Loading_external_data_through_HTTPService

Carlos Rovira-2
Hi,

just fixed all examples maven compilation


El dom., 15 dic. 2019 a las 20:28, Carlos Rovira (<[hidden email]>) escribió:
Hi, 

I went through all the blog examples and fixed all. As well put asconfig.json working. ANT and Moonshine should be fixed by others with the time to contribute that.

I'm know checking the rest of examples to fix mostly child tags prefixes



El dom., 15 dic. 2019 a las 18:49, Carlos Rovira (<[hidden email]>) escribió:
Hi Takeshita,

just fixed both examples. 
Some of the problems was due to child nodes in mxml not having the right prefix. Josh fixed that in compiler recently and we can still have examples broken for that. Can you please submit PR if you find others broken?.
In BE0011, the main GitHubService object was not in x:Declaration tag. I was not aware, that is currently needed. Other seems to fix that in the past weeks.
Notice that BE0012 apart from the fixes if run in localhost, since is loading a text file from other domain you need to remove CORS restrictions in your browser. I'll be adding a note in the tutorial, since others could not take that into account and think the example is broken.

Thanks for catching and reporting all this! Very useful!! As we fix things here and there we need to catch this problems. Hopefully Royale is enough robust these days and each day we have less and lees issues :)

Thanks!



El dom., 15 dic. 2019 a las 10:36, Takeshita Shoichiro (<[hidden email]>) escribió:
Carlos,

js-debug/index.html does not show output on the browser.  js-release/index.html does show the output on the other hand.

I run mvn clean install against 0.96 on Mac.
Would you please check.

And I think BE0012 does not function as expected.  No piece of code is shown.  Would you please check?

Thanks.




--


--


--
Reply | Threaded
Open this post in threaded view
|

Re: blog/BE0011_Loading_external_data_through_HTTPService

T-san
Carlos,

Thanks.  I'be just downloaded the night build and run mvn clean install under \blog directory.

It only built BE0001.

The following are console errors (Windows 10).  Can I run mvn in blog directory?  Or some other problems?

O] ------------------------------------------------------------------------
[INFO] Reactor Summary for Apache Royale: Examples: Blog 0.9.7-SNAPSHOT:
[INFO]
[INFO] Apache Royale: Examples: Blog ...................... SUCCESS [01:01 min]
[INFO] Apache Royale: Examples: Blog: 0001: Hello World ... SUCCESS [ 14.558 s]
[INFO] Apache Royale: Examples: Blog: 0002: Using Jewel Alert Control FAILURE [ 21.684 s]
[INFO] Apache Royale: Examples: Blog: 0003: Using Jewel HSlider Control SKIPPED
[INFO] Apache Royale: Examples: Blog: 0004: Adding an item to a Jewel List SKIPPED
[INFO] Apache Royale: Examples: Blog: 0005: Creating a group of Jewel RadioButtons SKIPPED
[INFO] Apache Royale: Examples: Blog: 0006: Binding the text property of a Jewel Textinput to update a text label SKIPPED
[INFO] Apache Royale: Examples: Blog: 0007: Selecting options from a group of jewel checkbox controls SKIPPED
[INFO] Apache Royale: Examples: Blog: 0008: Using View States to show or hide content SKIPPED
[INFO] Apache Royale: Examples: Blog: 0009: Using an Item Renderer with a List SKIPPED
[INFO] Apache Royale: Examples: Blog: 0010: Customization through the Royale API SKIPPED
[INFO] Apache Royale: Examples: Blog: 0011: Loading external data through HTTPService SKIPPED
[INFO] Apache Royale: Examples: Blog: 0012: Using external javascript libraries in Apache Royale SKIPPED
[INFO] Apache Royale: Examples: Blog: 0013: Dividing an Apache Royale application with modules SKIPPED
[INFO] BE0013_Dividing_an_Apache_Royale_application_with_modules: MainJewelApp SKIPPED
[INFO] BE0013_Dividing_an_Apache_Royale_application_with_modules: JewelModule SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  02:00 min
[INFO] Finished at: 2019-12-16T21:11:32+09:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project BE0002_Using_Jewel_Alert_Control: Could not resolve dependencies for project org.apache.royale.examples:BE0002_Using_Jewel_Alert_Control:swf:0.9.7-SNAPSHOT: Could not find artifact org.apache.royale.framework:Jewel-Light-NoFlat-Emphasized-Red-Theme:swc:0.9.7-SNAPSHOT in apache.snapshots (https://repository.apache.org/snapshots) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :BE0002_Using_Jewel_Alert_Control

On Mon, Dec 16, 2019 at 4:48 AM Carlos Rovira <[hidden email]> wrote:
Hi,

just fixed all examples maven compilation


El dom., 15 dic. 2019 a las 20:28, Carlos Rovira (<[hidden email]>) escribió:
Hi, 

I went through all the blog examples and fixed all. As well put asconfig.json working. ANT and Moonshine should be fixed by others with the time to contribute that.

I'm know checking the rest of examples to fix mostly child tags prefixes



El dom., 15 dic. 2019 a las 18:49, Carlos Rovira (<[hidden email]>) escribió:
Hi Takeshita,

just fixed both examples. 
Some of the problems was due to child nodes in mxml not having the right prefix. Josh fixed that in compiler recently and we can still have examples broken for that. Can you please submit PR if you find others broken?.
In BE0011, the main GitHubService object was not in x:Declaration tag. I was not aware, that is currently needed. Other seems to fix that in the past weeks.
Notice that BE0012 apart from the fixes if run in localhost, since is loading a text file from other domain you need to remove CORS restrictions in your browser. I'll be adding a note in the tutorial, since others could not take that into account and think the example is broken.

Thanks for catching and reporting all this! Very useful!! As we fix things here and there we need to catch this problems. Hopefully Royale is enough robust these days and each day we have less and lees issues :)

Thanks!



El dom., 15 dic. 2019 a las 10:36, Takeshita Shoichiro (<[hidden email]>) escribió:
Carlos,

js-debug/index.html does not show output on the browser.  js-release/index.html does show the output on the other hand.

I run mvn clean install against 0.96 on Mac.
Would you please check.

And I think BE0012 does not function as expected.  No piece of code is shown.  Would you please check?

Thanks.




--


--


--


--
Shoichiro Takeshita
武下 祥一郎
Reply | Threaded
Open this post in threaded view
|

Re: blog/BE0011_Loading_external_data_through_HTTPService

Carlos Rovira-2
Hi Takeshita,

the fail indicates that you didn't build the themes.
You can go to framework/themes and build "mvn install"
Themes are build when you build entire repo normally



El lun., 16 dic. 2019 a las 13:17, Takeshita Shoichiro (<[hidden email]>) escribió:
Carlos,

Thanks.  I'be just downloaded the night build and run mvn clean install under \blog directory.

It only built BE0001.

The following are console errors (Windows 10).  Can I run mvn in blog directory?  Or some other problems?

O] ------------------------------------------------------------------------
[INFO] Reactor Summary for Apache Royale: Examples: Blog 0.9.7-SNAPSHOT:
[INFO]
[INFO] Apache Royale: Examples: Blog ...................... SUCCESS [01:01 min]
[INFO] Apache Royale: Examples: Blog: 0001: Hello World ... SUCCESS [ 14.558 s]
[INFO] Apache Royale: Examples: Blog: 0002: Using Jewel Alert Control FAILURE [ 21.684 s]
[INFO] Apache Royale: Examples: Blog: 0003: Using Jewel HSlider Control SKIPPED
[INFO] Apache Royale: Examples: Blog: 0004: Adding an item to a Jewel List SKIPPED
[INFO] Apache Royale: Examples: Blog: 0005: Creating a group of Jewel RadioButtons SKIPPED
[INFO] Apache Royale: Examples: Blog: 0006: Binding the text property of a Jewel Textinput to update a text label SKIPPED
[INFO] Apache Royale: Examples: Blog: 0007: Selecting options from a group of jewel checkbox controls SKIPPED
[INFO] Apache Royale: Examples: Blog: 0008: Using View States to show or hide content SKIPPED
[INFO] Apache Royale: Examples: Blog: 0009: Using an Item Renderer with a List SKIPPED
[INFO] Apache Royale: Examples: Blog: 0010: Customization through the Royale API SKIPPED
[INFO] Apache Royale: Examples: Blog: 0011: Loading external data through HTTPService SKIPPED
[INFO] Apache Royale: Examples: Blog: 0012: Using external javascript libraries in Apache Royale SKIPPED
[INFO] Apache Royale: Examples: Blog: 0013: Dividing an Apache Royale application with modules SKIPPED
[INFO] BE0013_Dividing_an_Apache_Royale_application_with_modules: MainJewelApp SKIPPED
[INFO] BE0013_Dividing_an_Apache_Royale_application_with_modules: JewelModule SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  02:00 min
[INFO] Finished at: 2019-12-16T21:11:32+09:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project BE0002_Using_Jewel_Alert_Control: Could not resolve dependencies for project org.apache.royale.examples:BE0002_Using_Jewel_Alert_Control:swf:0.9.7-SNAPSHOT: Could not find artifact org.apache.royale.framework:Jewel-Light-NoFlat-Emphasized-Red-Theme:swc:0.9.7-SNAPSHOT in apache.snapshots (https://repository.apache.org/snapshots) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :BE0002_Using_Jewel_Alert_Control

On Mon, Dec 16, 2019 at 4:48 AM Carlos Rovira <[hidden email]> wrote:
Hi,

just fixed all examples maven compilation


El dom., 15 dic. 2019 a las 20:28, Carlos Rovira (<[hidden email]>) escribió:
Hi, 

I went through all the blog examples and fixed all. As well put asconfig.json working. ANT and Moonshine should be fixed by others with the time to contribute that.

I'm know checking the rest of examples to fix mostly child tags prefixes



El dom., 15 dic. 2019 a las 18:49, Carlos Rovira (<[hidden email]>) escribió:
Hi Takeshita,

just fixed both examples. 
Some of the problems was due to child nodes in mxml not having the right prefix. Josh fixed that in compiler recently and we can still have examples broken for that. Can you please submit PR if you find others broken?.
In BE0011, the main GitHubService object was not in x:Declaration tag. I was not aware, that is currently needed. Other seems to fix that in the past weeks.
Notice that BE0012 apart from the fixes if run in localhost, since is loading a text file from other domain you need to remove CORS restrictions in your browser. I'll be adding a note in the tutorial, since others could not take that into account and think the example is broken.

Thanks for catching and reporting all this! Very useful!! As we fix things here and there we need to catch this problems. Hopefully Royale is enough robust these days and each day we have less and lees issues :)

Thanks!



El dom., 15 dic. 2019 a las 10:36, Takeshita Shoichiro (<[hidden email]>) escribió:
Carlos,

js-debug/index.html does not show output on the browser.  js-release/index.html does show the output on the other hand.

I run mvn clean install against 0.96 on Mac.
Would you please check.

And I think BE0012 does not function as expected.  No piece of code is shown.  Would you please check?

Thanks.




--


--


--


--
Shoichiro Takeshita
武下 祥一郎


--
Reply | Threaded
Open this post in threaded view
|

Re: blog/BE0011_Loading_external_data_through_HTTPService

T-san
Carlos,

It did not solve the problem.

Instead I run mvn install under examples folder against the latest build; could build without errors. Anyway, thanks a lot.

2019年12月16日(月) 21:40 Carlos Rovira <[hidden email]>:
Hi Takeshita,

the fail indicates that you didn't build the themes.
You can go to framework/themes and build "mvn install"
Themes are build when you build entire repo normally



El lun., 16 dic. 2019 a las 13:17, Takeshita Shoichiro (<[hidden email]>) escribió:
Carlos,

Thanks.  I'be just downloaded the night build and run mvn clean install under \blog directory.

It only built BE0001.

The following are console errors (Windows 10).  Can I run mvn in blog directory?  Or some other problems?

O] ------------------------------------------------------------------------
[INFO] Reactor Summary for Apache Royale: Examples: Blog 0.9.7-SNAPSHOT:
[INFO]
[INFO] Apache Royale: Examples: Blog ...................... SUCCESS [01:01 min]
[INFO] Apache Royale: Examples: Blog: 0001: Hello World ... SUCCESS [ 14.558 s]
[INFO] Apache Royale: Examples: Blog: 0002: Using Jewel Alert Control FAILURE [ 21.684 s]
[INFO] Apache Royale: Examples: Blog: 0003: Using Jewel HSlider Control SKIPPED
[INFO] Apache Royale: Examples: Blog: 0004: Adding an item to a Jewel List SKIPPED
[INFO] Apache Royale: Examples: Blog: 0005: Creating a group of Jewel RadioButtons SKIPPED
[INFO] Apache Royale: Examples: Blog: 0006: Binding the text property of a Jewel Textinput to update a text label SKIPPED
[INFO] Apache Royale: Examples: Blog: 0007: Selecting options from a group of jewel checkbox controls SKIPPED
[INFO] Apache Royale: Examples: Blog: 0008: Using View States to show or hide content SKIPPED
[INFO] Apache Royale: Examples: Blog: 0009: Using an Item Renderer with a List SKIPPED
[INFO] Apache Royale: Examples: Blog: 0010: Customization through the Royale API SKIPPED
[INFO] Apache Royale: Examples: Blog: 0011: Loading external data through HTTPService SKIPPED
[INFO] Apache Royale: Examples: Blog: 0012: Using external javascript libraries in Apache Royale SKIPPED
[INFO] Apache Royale: Examples: Blog: 0013: Dividing an Apache Royale application with modules SKIPPED
[INFO] BE0013_Dividing_an_Apache_Royale_application_with_modules: MainJewelApp SKIPPED
[INFO] BE0013_Dividing_an_Apache_Royale_application_with_modules: JewelModule SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  02:00 min
[INFO] Finished at: 2019-12-16T21:11:32+09:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project BE0002_Using_Jewel_Alert_Control: Could not resolve dependencies for project org.apache.royale.examples:BE0002_Using_Jewel_Alert_Control:swf:0.9.7-SNAPSHOT: Could not find artifact org.apache.royale.framework:Jewel-Light-NoFlat-Emphasized-Red-Theme:swc:0.9.7-SNAPSHOT in apache.snapshots (https://repository.apache.org/snapshots) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :BE0002_Using_Jewel_Alert_Control

On Mon, Dec 16, 2019 at 4:48 AM Carlos Rovira <[hidden email]> wrote:
Hi,

just fixed all examples maven compilation


El dom., 15 dic. 2019 a las 20:28, Carlos Rovira (<[hidden email]>) escribió:
Hi, 

I went through all the blog examples and fixed all. As well put asconfig.json working. ANT and Moonshine should be fixed by others with the time to contribute that.

I'm know checking the rest of examples to fix mostly child tags prefixes



El dom., 15 dic. 2019 a las 18:49, Carlos Rovira (<[hidden email]>) escribió:
Hi Takeshita,

just fixed both examples. 
Some of the problems was due to child nodes in mxml not having the right prefix. Josh fixed that in compiler recently and we can still have examples broken for that. Can you please submit PR if you find others broken?.
In BE0011, the main GitHubService object was not in x:Declaration tag. I was not aware, that is currently needed. Other seems to fix that in the past weeks.
Notice that BE0012 apart from the fixes if run in localhost, since is loading a text file from other domain you need to remove CORS restrictions in your browser. I'll be adding a note in the tutorial, since others could not take that into account and think the example is broken.

Thanks for catching and reporting all this! Very useful!! As we fix things here and there we need to catch this problems. Hopefully Royale is enough robust these days and each day we have less and lees issues :)

Thanks!



El dom., 15 dic. 2019 a las 10:36, Takeshita Shoichiro (<[hidden email]>) escribió:
Carlos,

js-debug/index.html does not show output on the browser.  js-release/index.html does show the output on the other hand.

I run mvn clean install against 0.96 on Mac.
Would you please check.

And I think BE0012 does not function as expected.  No piece of code is shown.  Would you please check?

Thanks.




--


--


--


--
Shoichiro Takeshita
武下 祥一郎


--
--
Shoichiro Takeshita
武下 祥一郎