Re: [Action Required] About how to release Apache Royale

2020-03-27 Thread Takeshita Shoichiro
Hi, from the user point of view, I care two things; stable SDK and no
functional differences of SDK among supported OS.  Differences of OS should
be managed by Build process.

By the way, I do not fully understand why two building systems are used.
In case of Java development, Maven is popular than Ant these days. As to
Flex, our build is Ant.  But now will change it to Maven.  This is another
story and would not be compared with Royale SDK build.

2020年3月27日(金) 22:40 Jasen Martin :

> hi All
>
> Firstly, thankyou so much for everyone's effort, I know it has not been
> easy!
>
> I am no expert in either system. However, I do prefer using maven but have
> nothing against ant.
>
> What I am interested in is Royale moving forward with releases, what ever
> helps Royale release early and often appeals to me the most.
>
> Just my 2 cents worth.
>
> Thanks again to everyone!
> Jasen
>
>
> 
>  Virus-free.
> www.avast.com
> 
> <#m_-7612433385867325466_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
> On Fri, Mar 27, 2020 at 9:31 PM Andrew Wetmore 
> wrote:
>
>> I do not have the technical knowledge to provide an informed evaluation
>> at the build level, so I will try to look through the lens of outcomes:
>> what are we doing builds for?
>>
>> Maybe right now a large proportion of Royale users are people who like to
>> tweak the source code and do their own builds locally. I do not think that
>> is a user group that can sustain this project or make a difference in the
>> world of application development. Our target audience is people who want a
>> stable build they can use to build their own applications. The faster we
>> can get stable builds out, the faster we can become available to that
>> audience. The faster our user community grows, the better Royale becomes:
>> the community exposes bugs, requests or provides emulations, creates
>> showcase-quality apps using Royale, encourages other people to give Royale
>> a try..
>>
>> I have trouble keeping up with assertions that seem at odds with each
>> other: "Ant is the devil!" "No, Maven is evil!" And maybe I am missing
>> something crucial, but I seem to be reading that it is possible to build a
>> stable version of Royale that we can release via Maven, while still
>> providing support for anyone who wants to build using ant.
>>
>> Is this so? Then why is that not the way to go?
>>
>> A
>>
>> On Wed, Mar 25, 2020 at 2:31 PM Carlos Rovira 
>> wrote:
>>
>>> Hi all,
>>>
>>> if you care about this project, the PMC will need your help to know
>>> what's important to you about the "Release Process".
>>>
>>> Chris Dutz and I was working these days on release a new version. We
>>> finally give up due to the complexity of the process.
>>> The process involves to build in a CI Server with 13 steps and each one
>>> with some manual commands in CI server and in local machine. The process
>>> involves use Ant and Maven build systems, and that's what makes it so
>>> complicated.
>>>
>>> Maven is the the most widest and used build system for release as this
>>> statistics clearly states [1] and is perfectly prepared for CI servers and
>>> all the tooling needed nowadays for release process.
>>>
>>> Chris and I thinks that just using Maven can reduce the process to 2-3
>>> steps and release without much problem, and even release often (each month
>>> or each 2 months).
>>>
>>> So we're asking to not require Ant to be part of the release process,
>>> since we think is not needed.
>>>
>>> (This does NOT means remove Ant, we are talking just about release, and
>>> people using Ant will be able to continue using it as a build system, so
>>> don't be afraid about Ant support in the future!).
>>>
>>> We're afraid for this project due to this problem, so for this reason is
>>> important that you express what's important from your point of view as an
>>> Apache Royale user. So please express yourself in this thread and let us
>>> know what path should we take. It's important.
>>>
>>> We want to hear from you!
>>>
>>> Thanks community :)
>>>
>>> [1] https://twitter.com/ChristoferDutz/status/1240219399551934473
>>>
>>> --
>>>
>>> http://about.me/carlosrovira
>>>
>>>
>>
>> --
>> Andrew Wetmore
>>
>> http://cottage14.blogspot.com/
>>
>>
>>
>>
>>
>
> --
> 
> Jasen Martin
> 0424 984 955
> 
>
-- 
Shoichiro Takeshita
武下 祥一郎


Re: Cairngorm problem add remote object MXML.

2020-02-05 Thread Takeshita Shoichiro
Greg, thanks for your clarification.  Anyway, it is  a great work.  Carlos,
thanks all the times.^_^

2020年2月6日(木) 13:22 Greg Dove :

>
> Hi Takeshita,
>
> Yes I think a few people have asked for Cairngorm or expressed interest in
> it. Given the choice, I personally think Crux will be a more modern/better
> option, but like I said, more people are asking for Cairngorm now, so
> probably it makes sense to port that too.
>
> I'm also pleased to hear that you are using Crux, I hope it's working well
> for you. Please report any issues if you see them.
>
> One small thing: I definitely understand that you were referring to the
> work I did on porting it to Royale, but just for the sake of anyone else
> who reads this: it's definitely not 'my Crux framework'. The code is ported
> from Swiz, and credit for the awesome features it has rests with the
> original authors of Swiz (I was in contact with the original developer
> during my efforts to port it to Royale).
> Also, just so people are aware, Carlos sponsored the majority of my work
> on porting that, so you really have Carlos to thank for that.
>
> cheers,
> Greg
>
> On Thu, Feb 6, 2020 at 5:04 PM Takeshita Shoichiro 
> wrote:
>
>> Greg,
>>
>> Thanks for your work. We already have your Crux framework replacing
>> Cairngorm, it is great if Cairngorm works with Royale.  It will save a
>> plenty of time of emulation work.
>>
>> 2020年2月6日(木) 12:33 Greg Dove :
>>
>>>
>>> There does not appear to be a default property, like an array to put the
>>> 'children' in. I think it just creates the children as instances and makes
>>> sure they have id properties on the mxml-generated subclass that the
>>> instances are assigned to.
>>>
>>> The services are then identified and categorised by iterating the
>>> accessors of the ServiceLocator subclass via reflection and checking their
>>> types and then registering them.
>>> Although it is and mxml instance of ServiceLocator, it is also an
>>> enforced singleton which is accessed elsewhere from code. At least that is
>>> how it appears to be set up to me.
>>>
>>> I already took a look at the code and have made (not many) local changes
>>> and have the Cairngorm swc compiling via maven for both js and swf. I have
>>> not tested it. Things like weak event listeners are gone.
>>> The main issue I think will be the Event.ADDED and Event.REMOVED for
>>> ViewHelper automated register/unregister. Maybe we can have a
>>> CaingormViewBase class with support for these, or perhaps we can use the
>>> ADDED/REMOVED_FROM_STAGE emulation support that Crux uses, and that might
>>> be all that is needed, but it may not always work the same.
>>>
>>> I'll try to tidy it up and share it tomorrow. The licence is BSD and is
>>> permissive (
>>> https://sourceforge.net/adobe/cairngorm/code/HEAD/tree/cairngorm/trunk/frameworks/cairngorm/License.txt)
>>>  -
>>> It seems to be to be similar to others like MIT etc, but I don't know
>>> specifically what the rules are for Apache with that licence (in terms of
>>> possibility to include in Royale itself).
>>>
>>>
>>>
>>>
>>>
>>> On Thu, Feb 6, 2020 at 3:40 PM De Carli Gustavo <
>>> gustavodeca...@gmail.com> wrote:
>>>
>>>> Alex :
>>>>
>>>> In flex use the swc. I am seeing the same thing that you are
>>>> commenting, I do not understand where it assigns the remote objects to the
>>>> ServiceLocator. This would have to be added to the "services" attribute of
>>>> the RemoteObjects class. I will try to assign by code without using the
>>>> mxml to see if it does not generate the error "null0".
>>>>
>>>> El mié., 5 feb. 2020 a las 23:15, Alex Harui ()
>>>> escribió:
>>>>
>>>>> I grabbed ServiceLocator.as and was able to produce the null0 problem,
>>>>> but the cause is that ServiceLocator does not have a default property.  
>>>>> Did
>>>>> your MXML work in Flex?  What ServiceLocator property would be assigned 
>>>>> the
>>>>> mx:RemoteObject?
>>>>>
>>>>>
>>>>>
>>>>> -Alex
>>>>>
>>>>>
>>>>>
>>>>> *From: *De Carli Gustavo 
>>>>> *Reply-To: *"users@royale.apache.org" 
>>>>> *Date: *Wednesday, February 5, 2020 at 12:00 PM
>>>>>

Re: Cairngorm problem add remote object MXML.

2020-02-05 Thread Takeshita Shoichiro
Greg,

Thanks for your work. We already have your Crux framework replacing
Cairngorm, it is great if Cairngorm works with Royale.  It will save a
plenty of time of emulation work.

2020年2月6日(木) 12:33 Greg Dove :

>
> There does not appear to be a default property, like an array to put the
> 'children' in. I think it just creates the children as instances and makes
> sure they have id properties on the mxml-generated subclass that the
> instances are assigned to.
>
> The services are then identified and categorised by iterating the
> accessors of the ServiceLocator subclass via reflection and checking their
> types and then registering them.
> Although it is and mxml instance of ServiceLocator, it is also an enforced
> singleton which is accessed elsewhere from code. At least that is how it
> appears to be set up to me.
>
> I already took a look at the code and have made (not many) local changes
> and have the Cairngorm swc compiling via maven for both js and swf. I have
> not tested it. Things like weak event listeners are gone.
> The main issue I think will be the Event.ADDED and Event.REMOVED for
> ViewHelper automated register/unregister. Maybe we can have a
> CaingormViewBase class with support for these, or perhaps we can use the
> ADDED/REMOVED_FROM_STAGE emulation support that Crux uses, and that might
> be all that is needed, but it may not always work the same.
>
> I'll try to tidy it up and share it tomorrow. The licence is BSD and is
> permissive (
> https://sourceforge.net/adobe/cairngorm/code/HEAD/tree/cairngorm/trunk/frameworks/cairngorm/License.txt)
>  -
> It seems to be to be similar to others like MIT etc, but I don't know
> specifically what the rules are for Apache with that licence (in terms of
> possibility to include in Royale itself).
>
>
>
>
>
> On Thu, Feb 6, 2020 at 3:40 PM De Carli Gustavo 
> wrote:
>
>> Alex :
>>
>> In flex use the swc. I am seeing the same thing that you are commenting,
>> I do not understand where it assigns the remote objects to the
>> ServiceLocator. This would have to be added to the "services" attribute of
>> the RemoteObjects class. I will try to assign by code without using the
>> mxml to see if it does not generate the error "null0".
>>
>> El mié., 5 feb. 2020 a las 23:15, Alex Harui ()
>> escribió:
>>
>>> I grabbed ServiceLocator.as and was able to produce the null0 problem,
>>> but the cause is that ServiceLocator does not have a default property.  Did
>>> your MXML work in Flex?  What ServiceLocator property would be assigned the
>>> mx:RemoteObject?
>>>
>>>
>>>
>>> -Alex
>>>
>>>
>>>
>>> *From: *De Carli Gustavo 
>>> *Reply-To: *"users@royale.apache.org" 
>>> *Date: *Wednesday, February 5, 2020 at 12:00 PM
>>> *To: *"users@royale.apache.org" 
>>> *Subject: *Re: Cairngorm problem add remote object MXML.
>>>
>>>
>>>
>>>
>>>
>>> I download https://sourceforge.net/adobe/cairngorm/code/
>>> ,
>>> and change.
>>>
>>>
>>>
>>> import flash.utils.describeType;
>>>
>>>--> import org.apache.royale.reflection.describeType;
>>>
>>> import flash.utils.Dictionary;
>>>
>>>--> import org.apache.royale.utils.ObjectMap;
>>>
>>>
>>>
>>> And this method
>>>
>>>
>>>
>>>
>>>
>>> /**
>>>
>>>
>>>
>>> * Return all the accessors on this object.
>>>
>>>
>>>
>>> * @param serviceLocator the IServiceLocator instance.
>>>
>>>
>>>
>>> * @return this object's accessors.
>>>
>>>
>>>
>>> */
>>>
>>>
>>>
>>> protected
>>>
>>> function getAccessors(
>>>
>>> serviceLocator : IServiceLocator ) :
>>>
>>> XMLList
>>>
>>>
>>>
>>> {
>>>
>>>
>>>
>>> /*
>>>
>>>
>>>
>>> var description : XML = describeType( serviceLocator );
>>>
>>>
>>>
>>> var accessors : XMLList = description.accessor.( @access == "readwrite"
>>> ).@name;
>>>
>>>
>>>
>>>
>>>
>>> return accessors;
>>>
>>>
>>>
>>> */
>>>
>>>
>>>
>>>
>>>
>>> return describeType( serviceLocator).accessors(@access ==
>>>
>>> "readwrite" ).@name;
>>>
>>>
>>>
>>> }
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> El mié., 5 feb. 2020 a las 16:04, Alex Harui ()
>>> escribió:
>>>
>>> Carlos, What Flash APIs is Cairngorm dependent on?
>>>
>>>
>>>
>>> -Alex
>>>
>>>
>>>
>>> *From: *Carlos Rovira 
>>> *Reply-To: *"users@royale.apache.org" 
>>> *Date: *Wednesday, February 5, 2020 at 10:05 AM
>>> *To: *"users@royale.apache.org" 
>>> *Subject: *Re: Cairngorm problem add remote object MXML.
>>>
>>>
>>>
>>> Hi,
>>>
>>>
>>>
>>> Cairngorm depends on Flash APIs, so make a Royale migration could be not
>>> easy, or requires some expertise.
>>>
>>> You can use Crux instead that has support for Cairngorm style Commands.
>>> Crux is the same as Swiz Framework for Flex but rewritten to work in
>>> Royale, and supports much more like dependency injection, Inversion of
>>> control, event 

Re: Cairngorm problem add remote object MXML.

2020-02-05 Thread Takeshita Shoichiro
Hi, F.Y.I.

The following is a list of imports in the cairngorm source code.

import com.adobe.cairngorm.AllCairngormTests;
import com.adobe.cairngorm.business.AbstractServices;
import com.adobe.cairngorm.business.IServiceLocator;;
import com.adobe.cairngorm.business.ServiceLocator;
import com.adobe.cairngorm.CairngormError;
import com.adobe.cairngorm.CairngormMessageCodes;
import com.adobe.cairngorm.commands.Command;
import com.adobe.cairngorm.commands.ICommand;
import com.adobe.cairngorm.control.CairngormEvent;
import com.adobe.cairngorm.control.CairngormEventDispatcher;
import com.adobe.cairngorm.control.TestCairngormEvent;
import com.adobe.cairngorm.control.TestCairngormEventDispatcher;
import com.adobe.cairngorm.control.TestFrontController;
import com.adobe.cairngorm.mocks.MockICommand;
import com.adobe.cairngorm.vo.IValueObject;
import flash.events.Event;
import flash.events.EventDispatcher;
import flash.events.IEventDispatcher;
import flash.utils.describeType;
import flash.utils.Dictionary;
import flash.utils.getQualifiedClassName;
import flexunit.framework.Test;
import flexunit.framework.TestCase;
import flexunit.framework.TestSuite;
import mx.core.IMXMLObject;
import mx.core.mx_internal;
import mx.data.DataService;
import mx.messaging.Consumer;
import mx.messaging.MessageAgent;
import mx.messaging.Producer;
import mx.resources.ResourceManager;
import mx.rpc.AbstractInvoker;
import mx.rpc.AbstractService;
import mx.rpc.http.HTTPService;
import mx.rpc.remoting.RemoteObject;
import mx.rpc.soap.WebService;
import mx.utils.StringUtil;

On Thu, Feb 6, 2020 at 8:49 AM Carlos Rovira 
wrote:

> Hi Alex,
>
> I don't have the Cairngorm code at hand, we left it long time ago (maybe
> around 2008) in favor of Swiz that was the new generation of frameworks at
> that time that brings IOC, DI...
>
> But I remember there was many flash APIs involved. Maybe most of them are
> now emulated in Royale and could be not difficult to do (I,e Reflection).
> Maybe other things regarding add to stage events...don't remember well.
> Cairngorm was just few classes, so it could be ported in this project with
> not much effort for an experienced Royale developer, but not for someone
> new here.
>
> HTH
>
> Carlos
>
> El mié., 5 feb. 2020 a las 20:04, Alex Harui ()
> escribió:
>
>> Carlos, What Flash APIs is Cairngorm dependent on?
>>
>>
>>
>> -Alex
>>
>>
>>
>> *From: *Carlos Rovira 
>> *Reply-To: *"users@royale.apache.org" 
>> *Date: *Wednesday, February 5, 2020 at 10:05 AM
>> *To: *"users@royale.apache.org" 
>> *Subject: *Re: Cairngorm problem add remote object MXML.
>>
>>
>>
>> Hi,
>>
>>
>>
>> Cairngorm depends on Flash APIs, so make a Royale migration could be not
>> easy, or requires some expertise.
>>
>> You can use Crux instead that has support for Cairngorm style Commands.
>> Crux is the same as Swiz Framework for Flex but rewritten to work in
>> Royale, and supports much more like dependency injection, Inversion of
>> control, event handling, ...
>>
>> You have 3 examples in the examples/crux folder you can check.
>>
>> I recommend you Crux over Cairngorm since Swiz was born to substitute
>> Cairngorm
>>
>>
>>
>>
>>
>> El mié., 5 feb. 2020 a las 18:24, De Carli Gustavo (<
>> gustavodeca...@gmail.com>) escribió:
>>
>> Alex
>>
>>
>>
>> 0.9.7-SNAPSHOT
>>
>>
>>
>> Thank
>>
>>
>>
>> El mié., 5 feb. 2020 a las 14:02, Alex Harui ()
>> escribió:
>>
>> What version of the compiler are you using?
>>
>>
>>
>> What does the ServiceLocator source look like?  It might be an issue with
>> defaultProperties for non-DOM objects.
>>
>>
>>
>> -Alex
>>
>>
>>
>> *From: *De Carli Gustavo 
>> *Reply-To: *"users@royale.apache.org" 
>> *Date: *Wednesday, February 5, 2020 at 7:35 AM
>> *To: *"users@royale.apache.org" 
>> *Subject: *Cairngorm problem add remote object MXML.
>>
>>
>>
>>
>>
>>
>> I am trying to transcribe gairngorm, at runtime it gives me an error in
>> the construction of the ServiceLocator, I understand that it is an error of
>> the MXMLDataInterpreter. Anyone have any idea of the problem.
>>
>> Thank
>>
>> Gustavo.
>>
>>
>>
>> *1. CODE *
>>
>>
>>
>>
>>
>> 
>>
>>
>>
>> >
>> xmlns:fx="http://ns.adobe.com/mxml/2009
>> 
>> "
>>
>>
>>
>> xmlns:mx="library://ns.apache.org/royale/mx
>> 
>> "
>>
>>
>>
>> xmlns:cairngorm="com.adobe.cairngorm.business.*">
>>
>>
>>
>>
>>
>> >
>> id="srvSeguridades"
>>
>>
>>
>> destination="seguridades"
>>
>>
>>
>> result="event.token.resultHandler(event)"
>>
>>
>>
>> 

Re: Data Grid problems

2020-02-03 Thread Takeshita Shoichiro
Alex, understood and thanks for your response. It seems #658 is a bit
difficult one for me to try.



2020年2月4日(火) 1:35 Alex Harui :

> Hi T-San,
>
>
>
> Sorry that these haven’t been fixed sooner.  I’m in the middle of
> refactoring Item Renderer support which should address #681.  I’ll
> eventually get to #658 if someone else doesn’t get there first.  If you
> have time to learn more about the framework code and propose fixes, even
> better.
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Takeshita Shoichiro 
> *Reply-To: *"users@royale.apache.org" 
> *Date: *Monday, February 3, 2020 at 5:00 AM
> *To: *"users@royale.apache.org" 
> *Subject: *Data Grid problems
>
>
>
> I have two problems opened in GitHub.
>
> Appreciate for your support.
>
>
>
> #658 is especially important because this is a key component of our
> application.
>
>
>
> https://github.com/apache/royale-asjs/issues/658
> <https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F658=02%7C01%7Caharui%40adobe.com%7C8ebe10382bc14292c0da08d7a8a90385%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637163316168386400=Y1XUmLZmLWFHzdq%2FR9SZw2%2Bddt7xj1dvGBcpVFJA1HY%3D=0>
>
>
>
>
> https://github.com/apache/royale-asjs/issues/681
> <https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F681=02%7C01%7Caharui%40adobe.com%7C8ebe10382bc14292c0da08d7a8a90385%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637163316168386400=fpBu7sm%2B2F7I61aSIM3kDmDuDsoPct2g10BiL9DXIG0%3D=0>
>
>
>
>
> --
>
> Shoichiro Takeshita
> 武下 祥一郎
>
-- 
Shoichiro Takeshita
武下 祥一郎


Data Grid problems

2020-02-03 Thread Takeshita Shoichiro
I have two problems opened in GitHub.
Appreciate for your support.

#658 is especially important because this is a key component of our
application.

https://github.com/apache/royale-asjs/issues/658

https://github.com/apache/royale-asjs/issues/681

-- 
Shoichiro Takeshita
武下 祥一郎


Re: Public Web Site powered by Royale

2020-01-30 Thread Takeshita Shoichiro
Piotr, thanks.  PureMVC's site would be interested by existing Flex users.
Jewel's one is very interesting.

Harbs, thanks.  I've already visited this site.  It's amazing.  Is it
possible to show some code snippet in the Tutorial?  I have no idea on how
to markup.

On Thu, Jan 30, 2020 at 10:56 PM Harbs  wrote:

> Not using MX/Spark but:
> https://marketinginflection.com/printui-demo.php
>
> On Jan 30, 2020, at 3:39 PM, Takeshita Shoichiro 
> wrote:
>
> Are there any public web sites using Royale?
>
> And these sites are preferred to use MX/Spark emulation.
>
> The purpose is to demonstrate the Royale capabilities for migrating
> existing Flex Web applications.
>
> Thanks.
> --
> Shoichiro Takeshita
> 武下 祥一郎
>
>
>

-- 
Shoichiro Takeshita
武下 祥一郎


Public Web Site powered by Royale

2020-01-30 Thread Takeshita Shoichiro
Are there any public web sites using Royale?

And these sites are preferred to use MX/Spark emulation.

The purpose is to demonstrate the Royale capabilities for migrating
existing Flex Web applications.

Thanks.
-- 
Shoichiro Takeshita
武下 祥一郎


Re: SDK for AIR

2020-01-24 Thread Takeshita Shoichiro
Carlos, I think so. Thanks.

2020年1月25日(土) 1:13 Carlos Rovira :

> Hi Takeshita,
> this better should be in flex list right?
>
> thanks!
>
> Carlos
>
> El vie., 24 ene. 2020 a las 13:54, Takeshita Shoichiro ()
> escribió:
>
>> I'm little confused with the selection of SDK to build Flex for Air
>> desktop app.
>> I'm using VS Code, by the way.
>>
>> The latest Apache Flex SDK is apache-flex-sdk-4.16.1-bin.  Is this a
>> right SDK to be used?
>>
>> My concern is the size. This SDK is pretty much smaller than the one
>> included in Flash Builder.
>>
>> And how about Harman SDK?
>> https://airsdk.harman.com/download
>>
>> Should I overlay this SDK for Flex on to apache-flex-sdk-4.16.1-bin?
>>
>> Appreciate any advice.
>> --
>> Shoichiro Takeshita
>> 武下 祥一郎
>>
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
> --
Shoichiro Takeshita
武下 祥一郎


SDK for AIR

2020-01-24 Thread Takeshita Shoichiro
I'm little confused with the selection of SDK to build Flex for Air desktop
app.
I'm using VS Code, by the way.

The latest Apache Flex SDK is apache-flex-sdk-4.16.1-bin.  Is this a right
SDK to be used?

My concern is the size. This SDK is pretty much smaller than the one
included in Flash Builder.

And how about Harman SDK?
https://airsdk.harman.com/download

Should I overlay this SDK for Flex on to apache-flex-sdk-4.16.1-bin?

Appreciate any advice.
-- 
Shoichiro Takeshita
武下 祥一郎


Re: skinClass attribute of s:Panel

2020-01-22 Thread Takeshita Shoichiro
Alex, thanks. I’ve confirmed the fix.

2020年1月15日(水) 13:21 Takeshita Shoichiro :

> Alex,
>
> I opened issue 680.
> https://github.com/apache/royale-asjs/issues/680
>
> Appreciate your taking a look.
>
> Thanks.
>
> On Tue, Jan 14, 2020 at 1:57 PM Takeshita Shoichiro 
> wrote:
>
>> Alex, thanks.  I already changed it.
>>
>> Will check this problem at home and get back to you.
>>
>> 2020年1月14日(火) 13:51 Alex Harui :
>>
>>> Including a code snippet and the exact error is often helpful.
>>>
>>>
>>>
>>> I’m going to guess that the xmlns:s needs to be changed to library://
>>> ns.apache.org/royale/spark
>>>
>>>
>>>
>>> FWIW, SkinnableContainers with custom skins is new code so expect bugs.
>>>
>>>
>>>
>>> HTH,
>>>
>>> -Alex
>>>
>>>
>>>
>>> *From: *Takeshita Shoichiro 
>>> *Reply-To: *"users@royale.apache.org" 
>>> *Date: *Monday, January 13, 2020 at 8:38 PM
>>> *To: *"users@royale.apache.org" 
>>> *Subject: *Re: skinClass attribute of s:Panel
>>>
>>>
>>>
>>> Sorry, skinClass seems to be supported.
>>>
>>>
>>>
>>> My problem is s:SparkSkin is not resolved in PanelSkin.as.
>>>
>>>
>>>
>>> SparkSkin.as exists in SparkRoyale and seems to be emulated.
>>>
>>>
>>>
>>> So, is this my problem?
>>>
>>>
>>>
>>> 2020年1月14日(火) 13:20 Takeshita Shoichiro :
>>>
>>> Our application uses s:Panel with skinClass=“PanelSkin”
>>>
>>>
>>>
>>> PanelSkin is provided by Adobe.  At present, skinClass is not emulated.
>>>
>>>
>>>
>>> My understanding is Royale’s recommendation is to replace skin by CSS.
>>>
>>>
>>>
>>> Is there any example of this migration?
>>>
>>>
>>>
>>> Thanks.
>>>
>>> --
>>>
>>> Shoichiro Takeshita
>>> 武下 祥一郎
>>>
>>> --
>>>
>>> Shoichiro Takeshita
>>> 武下 祥一郎
>>>
>> --
>> Shoichiro Takeshita
>> 武下 祥一郎
>>
>
>
> --
> Shoichiro Takeshita
> 武下 祥一郎
>
-- 
Shoichiro Takeshita
武下 祥一郎


markup example

2020-01-21 Thread Takeshita Shoichiro
The following markup works.  For your information.
Please replace the png names to your png/jpg before running.

I'm not sure how to use  related tags, by the way.

==

http://ns.adobe.com/mxml/2009;
   xmlns:mx   = "library://ns.apache.org/royale/mx"
   xmlns:s= "library://ns.apache.org/royale/spark"
   xmlns:js   = "library://ns.apache.org/royale/basic"
   initialize = "onInit">






































Re: skinClass attribute of s:Panel

2020-01-14 Thread Takeshita Shoichiro
Alex,

I opened issue 680.
https://github.com/apache/royale-asjs/issues/680

Appreciate your taking a look.

Thanks.

On Tue, Jan 14, 2020 at 1:57 PM Takeshita Shoichiro 
wrote:

> Alex, thanks.  I already changed it.
>
> Will check this problem at home and get back to you.
>
> 2020年1月14日(火) 13:51 Alex Harui :
>
>> Including a code snippet and the exact error is often helpful.
>>
>>
>>
>> I’m going to guess that the xmlns:s needs to be changed to library://
>> ns.apache.org/royale/spark
>>
>>
>>
>> FWIW, SkinnableContainers with custom skins is new code so expect bugs.
>>
>>
>>
>> HTH,
>>
>> -Alex
>>
>>
>>
>> *From: *Takeshita Shoichiro 
>> *Reply-To: *"users@royale.apache.org" 
>> *Date: *Monday, January 13, 2020 at 8:38 PM
>> *To: *"users@royale.apache.org" 
>> *Subject: *Re: skinClass attribute of s:Panel
>>
>>
>>
>> Sorry, skinClass seems to be supported.
>>
>>
>>
>> My problem is s:SparkSkin is not resolved in PanelSkin.as.
>>
>>
>>
>> SparkSkin.as exists in SparkRoyale and seems to be emulated.
>>
>>
>>
>> So, is this my problem?
>>
>>
>>
>> 2020年1月14日(火) 13:20 Takeshita Shoichiro :
>>
>> Our application uses s:Panel with skinClass=“PanelSkin”
>>
>>
>>
>> PanelSkin is provided by Adobe.  At present, skinClass is not emulated.
>>
>>
>>
>> My understanding is Royale’s recommendation is to replace skin by CSS.
>>
>>
>>
>> Is there any example of this migration?
>>
>>
>>
>> Thanks.
>>
>> --
>>
>> Shoichiro Takeshita
>> 武下 祥一郎
>>
>> --
>>
>> Shoichiro Takeshita
>> 武下 祥一郎
>>
> --
> Shoichiro Takeshita
> 武下 祥一郎
>


-- 
Shoichiro Takeshita
武下 祥一郎


Re: skinClass attribute of s:Panel

2020-01-13 Thread Takeshita Shoichiro
Alex, thanks.  I already changed it.

Will check this problem at home and get back to you.

2020年1月14日(火) 13:51 Alex Harui :

> Including a code snippet and the exact error is often helpful.
>
>
>
> I’m going to guess that the xmlns:s needs to be changed to library://
> ns.apache.org/royale/spark
>
>
>
> FWIW, SkinnableContainers with custom skins is new code so expect bugs.
>
>
>
> HTH,
>
> -Alex
>
>
>
> *From: *Takeshita Shoichiro 
> *Reply-To: *"users@royale.apache.org" 
> *Date: *Monday, January 13, 2020 at 8:38 PM
> *To: *"users@royale.apache.org" 
> *Subject: *Re: skinClass attribute of s:Panel
>
>
>
> Sorry, skinClass seems to be supported.
>
>
>
> My problem is s:SparkSkin is not resolved in PanelSkin.as.
>
>
>
> SparkSkin.as exists in SparkRoyale and seems to be emulated.
>
>
>
> So, is this my problem?
>
>
>
> 2020年1月14日(火) 13:20 Takeshita Shoichiro :
>
> Our application uses s:Panel with skinClass=“PanelSkin”
>
>
>
> PanelSkin is provided by Adobe.  At present, skinClass is not emulated.
>
>
>
> My understanding is Royale’s recommendation is to replace skin by CSS.
>
>
>
> Is there any example of this migration?
>
>
>
> Thanks.
>
> --
>
> Shoichiro Takeshita
> 武下 祥一郎
>
> --
>
> Shoichiro Takeshita
> 武下 祥一郎
>
-- 
Shoichiro Takeshita
武下 祥一郎


Re: flash.display.DisplayObjects and flash.text.TextFileld

2020-01-13 Thread Takeshita Shoichiro
Alex, thanks a lot.

Resolved.

2020年1月14日(火) 13:49 Alex Harui :

> I suggest writing it as:
>
>
>
> var c:IUIComponent = getChildAt(I);
>
>   if (!(c is UITextField))
>
>
>
> HTH,
>
> -Alex
>
>
>
>
>
> *From: *Takeshita Shoichiro 
> *Reply-To: *"users@royale.apache.org" 
> *Date: *Monday, January 13, 2020 at 8:07 PM
> *To: *"users@royale.apache.org" 
> *Subject: *Re: flash.display.DisplayObjects and flash.text.TextFileld
>
>
>
> Gustavo, thank.
>
>
>
> It seems mx.core.UIComponent and mx.core.UITextField can be used.
>
>
>
> However, still unresolved data types DisplayObject and TextField exist.
>
>
>
> The code snippet is
>
>
>
>   var c:DisplayObject = getChildAt(I);
>
>   if (!(c is TextField))
>
>
>
>
>
> 2020年1月14日(火) 11:56 De Carli Gustavo :
>
> Hello Takeshita,  maybe it can help you
>
>
>
>
> https://github.com/apache/royale-asjs/wiki/Creating-A-High-Level-Emulation-Component
> <https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fwiki%2FCreating-A-High-Level-Emulation-Component=02%7C01%7Caharui%40adobe.com%7Cef9100dee2864a508a3408d798a735e7%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637145716256103624=8ZPO%2F0aXymHmMl1Rx3VDf5PJmhnG1gKjSc%2FX9H2HVgg%3D=0>
>
>
>
>
>
> Gustavo.
>
>
>
> El lun., 13 ene. 2020 a las 23:33, Takeshita Shoichiro ()
> escribió:
>
> Hi,
>
>
>
> Are there any possible equivalents of these two libraries in Apache Royale?
>
>
>
> Thanks
>
> --
>
> Shoichiro Takeshita
> 武下 祥一郎
>
> --
>
> Shoichiro Takeshita
> 武下 祥一郎
>
-- 
Shoichiro Takeshita
武下 祥一郎


Re: skinClass attribute of s:Panel

2020-01-13 Thread Takeshita Shoichiro
Sorry, skinClass seems to be supported.

My problem is s:SparkSkin is not resolved in PanelSkin.as.

SparkSkin.as exists in SparkRoyale and seems to be emulated.

So, is this my problem?

2020年1月14日(火) 13:20 Takeshita Shoichiro :

> Our application uses s:Panel with skinClass=“PanelSkin”
>
> PanelSkin is provided by Adobe.  At present, skinClass is not emulated.
>
> My understanding is Royale’s recommendation is to replace skin by CSS.
>
> Is there any example of this migration?
>
> Thanks.
> --
> Shoichiro Takeshita
> 武下 祥一郎
>
-- 
Shoichiro Takeshita
武下 祥一郎


skinClass attribute of s:Panel

2020-01-13 Thread Takeshita Shoichiro
Our application uses s:Panel with skinClass=“PanelSkin”

PanelSkin is provided by Adobe.  At present, skinClass is not emulated.

My understanding is Royale’s recommendation is to replace skin by CSS.

Is there any example of this migration?

Thanks.
-- 
Shoichiro Takeshita
武下 祥一郎


Re: flash.display.DisplayObjects and flash.text.TextFileld

2020-01-13 Thread Takeshita Shoichiro
Gustavo, thank.

It seems mx.core.UIComponent and mx.core.UITextField can be used.

However, still unresolved data types DisplayObject and TextField exist.

The code snippet is

  var c:DisplayObject = getChildAt(I);
  if (!(c is TextField))


2020年1月14日(火) 11:56 De Carli Gustavo :

> Hello Takeshita,  maybe it can help you
>
>
> https://github.com/apache/royale-asjs/wiki/Creating-A-High-Level-Emulation-Component
>
>
> Gustavo.
>
> El lun., 13 ene. 2020 a las 23:33, Takeshita Shoichiro ()
> escribió:
>
>> Hi,
>>
>> Are there any possible equivalents of these two libraries in Apache
>> Royale?
>>
>> Thanks
>> --
>> Shoichiro Takeshita
>> 武下 祥一郎
>>
> --
Shoichiro Takeshita
武下 祥一郎


flash.display.DisplayObjects and flash.text.TextFileld

2020-01-13 Thread Takeshita Shoichiro
Hi,

Are there any possible equivalents of these two libraries in Apache Royale?

Thanks
-- 
Shoichiro Takeshita
武下 祥一郎


Re: Drop down does not show real text BUT [object Object]

2020-01-09 Thread Takeshita Shoichiro
Yishay, thanks a lot.

I've confirmed that this problem is fixed now.

On Mon, Jan 6, 2020 at 10:43 PM Takeshita Shoichiro 
wrote:

> Yishay,
>
> I opened a new issue.
> Drop down does not show real text BUT [object Object] #656
>
>
> Thanks.
>
>
> On Mon, Jan 6, 2020 at 10:35 PM Yishay Weiss 
> wrote:
>
>> Looks like he has… Takeshita, please open a bug.
>>
>>
>>
>> *From: *Piotr Zarzycki 
>> *Sent: *Monday, January 6, 2020 3:25 PM
>> *To: *users@royale.apache.org
>> *Subject: *Re: Drop down does not show real text BUT [object Object]
>>
>>
>>
>> Hi,
>>
>>
>>
>> Maybe you need to specify labelField.
>>
>>
>>
>> Thanks,
>>
>> Piotr
>>
>>
>>
>> On Mon, Jan 6, 2020, 1:49 PM Takeshita Shoichiro 
>> wrote:
>>
>> With the following markup/function declaration, the drop down does not
>> show
>>
>>  001: Partner A
>>  002: Partner B
>>  003: Partner C
>>
>> Instead, shows the following.
>>
>>  [object Object]
>>  [object Object]
>>  [object Object]
>>
>> Can anyone help me solve this problem?
>>
>>
>>
>> ==
>>
>>
>>
>> 
>>
>> http://ns.adobe.com/mxml/2009;
>>
>>xmlns:mx="library://ns.apache.org/royale/mx"
>>
>>xmlns:s="library://ns.apache.org/royale/spark">
>>
>> 
>>
>> 
>>
>> 
>>
>> 
>>
>> > "Return" tabIndex="90"/>
>>
>> > title="Search Condition">
>>
>> > "20" color="#00" text="Partner Name:"/>
>>
>> > ="199" height="24" tabIndex="75" requireSelection="true"
>>
>> dataProvider="{getPartners()}" labelField
>> ="value"/>
>>
>> 
>>
>> > width="119" tabIndex="15"/>
>>
>> > height="26" tabIndex="20" label="Search"/>
>>
>> 
>>
>> 
>>
>> 
>>
>>
>>
>> --
>>
>> Shoichiro Takeshita
>> 武下 祥一郎
>>
>>
>>
>
>
> --
> Shoichiro Takeshita
> 武下 祥一郎
>


-- 
Shoichiro Takeshita
武下 祥一郎


Re: flexlib

2020-01-09 Thread Takeshita Shoichiro
Alex, thanks.

I will ask questions at Developers Forum.

On Thu, Jan 9, 2020 at 6:31 PM Alex Harui  wrote:

> I quickly wrote down my thoughts on migrating things like flexlib here:
> https://github.com/apache/royale-asjs/wiki/Creating-A-High-Level-Emulation-Component
>
> It will probably need editing as you try it and we discover patterns that
> are useful.
>
>
>
> FWIW, there is an older document I just updated here:
> https://github.com/apache/royale-asjs/wiki/Emulation-Components
>
> However, I don’t think that applies to flexlib.  At least from my quick
> look at MDIWindow, it is a high-level component.
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Takeshita Shoichiro 
> *Reply-To: *"users@royale.apache.org" 
> *Date: *Wednesday, January 8, 2020 at 6:29 PM
> *To: *"users@royale.apache.org" 
> *Subject: *Re: flexlib
>
>
>
> Alex, our application does not use flexlib so much.
> By scanning the source code, I could find the following cases.
> As to A and B, I'm sure flexlib functions are used.
> However, as to C, D, and E, I could not find the possible use of the
> flexlib functions.
>
> At present, I think the emulation work load is not so big for our
> application to support cases A to E.
> Would you please advise the basic approach to develop the emulation code?
> I will study it.  Thanks.
>
> A:
> xmlns:ns="flexlib.mdi.containers.*
> import flexlib.mdi.containers.MDICanvas;
>
> B:
> import flexlib.mdi.events.MDIWindowEvent;
>
> c:
> xmlns:layout="flexlib.scheduling.scheduleClasses.layout.*"
>
> D:
> import flexlib.scheduling.scheduleClasses.utils.Selection;
>
> E:
> import flexlib.containers.VAccordion;
>
>
>
> On Wed, Jan 8, 2020 at 5:36 PM Yishay Weiss 
> wrote:
>
> Yup. One of our prospective clients is using FlexLib as well.
>
>
>
> *From: *Alex Harui 
> *Sent: *Wednesday, January 8, 2020 10:15 AM
> *To: *users@royale.apache.org
> *Subject: *Re: flexlib
>
>
>
> Well, FlexLIb can’t be used as is because it depends on flash APIs and
> some lower-level Flex APIs.  It would have to be migrated/emulated similar
> to how the MXRoyale and SparkRoyale work is going.  Some FlexLib components
> will be more work to emulate than others.  Sometimes most of the existing
> code can be used, in other places it might need a major rewrite.
>
>
>
> If you want to take on the migration of FlexLib to Royale that would be
> great.  We’ll help you along the way.  I’m sure you are not the only person
> who will use it.  Do you know which components you use?
>
>
>
> -Alex
>
>
>
>
>
> *From: *Takeshita Shoichiro 
> *Reply-To: *"users@royale.apache.org" 
> *Date: *Tuesday, January 7, 2020 at 9:23 PM
> *To: *"users@royale.apache.org" 
> *Subject: *flexlib
>
>
>
> Our Flex Web application uses flexlib.  It consists of mostly .as and .png
> files.  The rest are three .fla and .swf each.
>
>
>
> In .as files “import flash.xxx.yyy” are declared.
>
>
>
> Can flexlib be used with Apache Royale somehow?  If so, what kind of
> modifications are required?
>
>
>
> If it cannot be used, what are recommended alternatives?
>
>
>
> Appreciate your advice.
>
> --
>
> Shoichiro Takeshita
> 武下 祥一郎
>
>
>
>
>
>
> --
>
> Shoichiro Takeshita
> 武下 祥一郎
>


-- 
Shoichiro Takeshita
武下 祥一郎


Re: Coexistence of namespaces royale/basic and mx/spark

2020-01-09 Thread Takeshita Shoichiro
Harbs and Carlos, thanks for the good news.

I will try to mix these namespaces to get a desired output.

On Thu, Jan 9, 2020 at 8:35 PM Carlos Rovira 
wrote:

> To complement to Harbs's response, just let you know that namespaces are
> just for that, to ensure we can use code from a library and similar code
> from another one.
> other thing are class names and styling that can collide, depending on
> strategies, but that's another topic.
>
> El jue., 9 ene. 2020 a las 9:53, Harbs () escribió:
>
>> Typo there. Should have been:
>>
>> xmlns:js = "library://ns.apache.org/r 
>> oyale/basic”
>>
>> On Jan 9, 2020, at 10:53 AM, Harbs  wrote:
>>
>> xmlns:mx = "library://ns.apache.org/r 
>> oyale/basic”
>>
>>
>>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
>

-- 
Shoichiro Takeshita
武下 祥一郎


Coexistence of namespaces royale/basic and mx/spark

2020-01-08 Thread Takeshita Shoichiro
I think "basic" cannot coexist with "mx/spark". Is my understanding correct?

The reason why I'm asking this is to use  component in the
mx/spark namespaces.
I tried it but failed.

The following markup is a simplified version of our mxml. It displays
A4-size scanned image on the left side.
There are two scanned images and these are switched by clicking tab.
The application uses iFrame to dislay jpg files.

Because iFrame is not supported by Royale, I'll try to use ;
would like to know whether it is possible or not.

Appreciate your advice.

=== Current MXML (simplied) ===


http://ns.adobe.com/mxml/2009;
   xmlns:mx = "library://ns.apache.org/flex/mx"
   xmlns:s  = "library://ns.apache.org/flex/spark"
   xmlns:flex_iframe = "com.google.code.flexiframe.*">





























===  for trial ===


http://ns.adobe.com/mxml/2009;
initialize="onInit"
xmlns:js="library://ns.apache.org/royale/basic" >



















Shoichiro Takeshita


Re: flexlib

2020-01-08 Thread Takeshita Shoichiro
Alex, our application does not use flexlib so much.
By scanning the source code, I could find the following cases.
As to A and B, I'm sure flexlib functions are used.
However, as to C, D, and E, I could not find the possible use of the
flexlib functions.

At present, I think the emulation work load is not so big for our
application to support cases A to E.
Would you please advise the basic approach to develop the emulation code?
I will study it.  Thanks.

A:
xmlns:ns="flexlib.mdi.containers.*
import flexlib.mdi.containers.MDICanvas;

B:
import flexlib.mdi.events.MDIWindowEvent;

c:
xmlns:layout="flexlib.scheduling.scheduleClasses.layout.*"

D:
import flexlib.scheduling.scheduleClasses.utils.Selection;

E:
import flexlib.containers.VAccordion;

On Wed, Jan 8, 2020 at 5:36 PM Yishay Weiss  wrote:

> Yup. One of our prospective clients is using FlexLib as well.
>
>
>
> *From: *Alex Harui 
> *Sent: *Wednesday, January 8, 2020 10:15 AM
> *To: *users@royale.apache.org
> *Subject: *Re: flexlib
>
>
>
> Well, FlexLIb can’t be used as is because it depends on flash APIs and
> some lower-level Flex APIs.  It would have to be migrated/emulated similar
> to how the MXRoyale and SparkRoyale work is going.  Some FlexLib components
> will be more work to emulate than others.  Sometimes most of the existing
> code can be used, in other places it might need a major rewrite.
>
>
>
> If you want to take on the migration of FlexLib to Royale that would be
> great.  We’ll help you along the way.  I’m sure you are not the only person
> who will use it.  Do you know which components you use?
>
>
>
> -Alex
>
>
>
>
>
> *From: *Takeshita Shoichiro 
> *Reply-To: *"users@royale.apache.org" 
> *Date: *Tuesday, January 7, 2020 at 9:23 PM
> *To: *"users@royale.apache.org" 
> *Subject: *flexlib
>
>
>
> Our Flex Web application uses flexlib.  It consists of mostly .as and .png
> files.  The rest are three .fla and .swf each.
>
>
>
> In .as files “import flash.xxx.yyy” are declared.
>
>
>
> Can flexlib be used with Apache Royale somehow?  If so, what kind of
> modifications are required?
>
>
>
> If it cannot be used, what are recommended alternatives?
>
>
>
> Appreciate your advice.
>
> --
>
> Shoichiro Takeshita
> 武下 祥一郎
>
>
>


-- 
Shoichiro Takeshita
武下 祥一郎


flexlib

2020-01-07 Thread Takeshita Shoichiro
Our Flex Web application uses flexlib.  It consists of mostly .as and .png
files.  The rest are three .fla and .swf each.

In .as files “import flash.xxx.yyy” are declared.

Can flexlib be used with Apache Royale somehow?  If so, what kind of
modifications are required?

If it cannot be used, what are recommended alternatives?

Appreciate your advice.
-- 
Shoichiro Takeshita
武下 祥一郎


DataGrid/DataGridColumn problems in Scroller/Group/Panel #658

2020-01-06 Thread Takeshita Shoichiro
Alex, I've just opened #658.  Appreciate your taking a look.  Thanks.

There are several problems:

1. Horizontal (may be vertical) scroll bar does not function.

2. All fields are displayed in the fixed Panel width, consequently, the
width of each field is ignored.

3. Compared with the Flash output, rows are not drawn gray color by every
two rows.

4. textAlign attribute does not function.

5. headerStykeName attribute does not function.
-- 
Shoichiro Takeshita
武下 祥一郎


Re: Drop down does not show real text BUT [object Object]

2020-01-06 Thread Takeshita Shoichiro
Yishay,

I opened a new issue.
Drop down does not show real text BUT [object Object] #656


Thanks.


On Mon, Jan 6, 2020 at 10:35 PM Yishay Weiss  wrote:

> Looks like he has… Takeshita, please open a bug.
>
>
>
> *From: *Piotr Zarzycki 
> *Sent: *Monday, January 6, 2020 3:25 PM
> *To: *users@royale.apache.org
> *Subject: *Re: Drop down does not show real text BUT [object Object]
>
>
>
> Hi,
>
>
>
> Maybe you need to specify labelField.
>
>
>
> Thanks,
>
> Piotr
>
>
>
> On Mon, Jan 6, 2020, 1:49 PM Takeshita Shoichiro 
> wrote:
>
> With the following markup/function declaration, the drop down does not show
>
>  001: Partner A
>  002: Partner B
>  003: Partner C
>
> Instead, shows the following.
>
>  [object Object]
>  [object Object]
>  [object Object]
>
> Can anyone help me solve this problem?
>
>
>
> ==
>
>
>
> 
>
> http://ns.adobe.com/mxml/2009;
>
>xmlns:mx="library://ns.apache.org/royale/mx"
>
>xmlns:s="library://ns.apache.org/royale/spark">
>
> 
>
> 
>
> 
>
> 
>
>  "Return" tabIndex="90"/>
>
>  title="Search Condition">
>
>  "20" color="#00" text="Partner Name:"/>
>
>  "199" height="24" tabIndex="75" requireSelection="true"
>
> dataProvider="{getPartners()}" labelField=
> "value"/>
>
> 
>
>  width="119" tabIndex="15"/>
>
>  ="26" tabIndex="20" label="Search"/>
>
> 
>
> 
>
> 
>
>
>
> --
>
> Shoichiro Takeshita
> 武下 祥一郎
>
>
>


-- 
Shoichiro Takeshita
武下 祥一郎


Drop down does not show real text BUT [object Object]

2020-01-06 Thread Takeshita Shoichiro
With the following markup/function declaration, the drop down does not show

 001: Partner A
 002: Partner B
 003: Partner C

Instead, shows the following.

 [object Object]
 [object Object]
 [object Object]

Can anyone help me solve this problem?

==


http://ns.adobe.com/mxml/2009;
   xmlns:mx="library://ns.apache.org/royale/mx"
   xmlns:s="library://ns.apache.org/royale/spark">















-- 
Shoichiro Takeshita
武下 祥一郎


Re: AdvancedDataGrid Emulation

2019-12-31 Thread Takeshita Shoichiro
Now, my issue was solved by the work of Yishay and Alex.  It is working now.

See https://github.com/apache/royale-asjs/issues/593 in details.

Thanks a lot.

On Tue, Dec 3, 2019 at 7:45 AM Takeshita Shoichiro 
wrote:

> Yishay, thanks for your work.
>
> ST
>
> 2019年12月3日(火) 4:44 Yishay Weiss :
>
>> Hi,
>>
>>
>>
>> Nothing to commit yet, I’ll try to finish it by the end of the week
>> unless someone else beats me to it.
>>
>>
>>
>>
>>
>>
>>
>> *From:* Takeshita Shoichiro 
>> *Sent:* Monday, December 2, 2019 1:43:55 PM
>> *To:* users@royale.apache.org 
>> *Subject:* Re: AdvancedDataGrid Emulation
>>
>>
>>
>> Yishay, is there any progress?  Appreciate your help.
>>
>>
>>
>> https://github.com/apache/royale-asjs/issues/593
>>
>>
>>
>> On Wed, Nov 27, 2019 at 9:03 PM Takeshita Shoichiro 
>> wrote:
>>
>> Yishay, thanks.
>>
>>
>>
>> I opened issue #593.
>>
>>
>>
>> S. Takeshita
>>
>>
>>
>> On Wed, Nov 27, 2019 at 7:44 PM Yishay Weiss 
>> wrote:
>>
>> Hi Takeshita,
>>
>>
>>
>> Please open an issue on GitHub with a test case.
>>
>>
>>
>> I’ll work on it tomorrow.
>>
>>
>>
>> Thanks,
>>
>> Yishay
>>
>>
>>
>> *From: *Takeshita Shoichiro 
>> *Sent: *Wednesday, November 27, 2019 2:22 AM
>> *To: *users@royale.apache.org
>> *Subject: *Re: AdvancedDataGrid Emulation
>>
>>
>>
>> Alex, thanks for help.
>>
>>
>>
>> groupedColumns is one of the important components for our Flex
>> application.  I want to make it work for proposal presentation.
>>
>>
>>
>> 2019年11月27日(水) 0:21 Alex Harui :
>>
>> I don’t think anyone has tried groupedColumns yet.  I can look into it
>> after we help Alina’s team finish their goal unless someone else beats me
>> to it.  They are using ADG heavily, but I haven’t seen groupedColumns, just
>> regular columns.
>>
>>
>>
>> -Alex
>>
>>
>>
>> *From: *Takeshita Shoichiro 
>> *Reply-To: *"users@royale.apache.org" 
>> *Date: *Tuesday, November 26, 2019 at 5:33 AM
>> *To: *"users@royale.apache.org" 
>> *Subject: *AdvancedDataGrid Emulation
>>
>>
>>
>>
>>
>> Hi,
>>
>>
>>
>>
>>
>>
>>
>> Is AdvancedDataGrid emulation supported by Royale? The compiled result of
>> the following generates a frame but no contents.
>>
>>
>>
>>
>>
>>
>>
>> Do I need to do change other things other than name spaces?
>>
>>
>>
>>
>>
>>
>>
>> Thanks for your advice.
>>
>>
>>
>>
>>
>>
>>
>> S. Takeshita
>>
>>
>>
>>
>> 
>>
>>
>>
>>
>>
>>
>>
>> 
>>
>>
>>
>> http://ns.adobe.com/mxml/2009
>> <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.adobe.com%2Fmxml%2F2009=02%7C01%7Caharui%40adobe.com%7Ce094ca64efd54cc8129608d772752ebc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637103719937698139=b9a5V%2FPlWPui5mqTQ%2FTyDI9uUWa7TQ9eqfz8g%2B5qmXM%3D=0>
>> "
>>
>>
>>
>>xmlns:mx="library://ns.apache.org/royale/mx
>> <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.apache.org%2Froyale%2Fmx=02%7C01%7Caharui%40adobe.com%7Ce094ca64efd54cc8129608d772752ebc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637103719937708134=EsGwSYWQgKgaYjEl9AoSJRqUi8eqnES3mE%2FMqYRfc9g%3D=0>
>> "
>>
>>
>>
>>xmlns:s="library://ns.apache.org/royale/spark
>> <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.apache.org%2Froyale%2Fspark=02%7C01%7Caharui%40adobe.com%7Ce094ca64efd54cc8129608d772752ebc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637103719937718132=wKRGheo3JMJK6V8cT8uX602Ddxgr9cBcGtMvefxj8P8%3D=0>
>> "
>>
>>
>>
>>width="550" height="340">
>>
>>
>>
>>
>>
>> 
>>
>>
>>
>> 
>>
>>
>>
>> 
>>
>>
>>
>>
>>
>>
>>
>> >
>>
>>
>>  dataProvider="{dpFlat}"
>>
>

Re: examples/royale/DataBindingExample

2019-12-19 Thread Takeshita Shoichiro
Piotr,

Most of free open APIs needs registration to get API key for sending HTTP
Get request.
It seems not so simple to change the code for me at moment.

On Thu, Dec 19, 2019 at 3:45 PM Piotr Zarzycki 
wrote:

> Hi Takeshita,
>
> Feel free change example and provide PR! :)
>
> Thanks,
> Piotr
>
> On Thu, Dec 19, 2019, 2:10 AM Takeshita Shoichiro 
> wrote:
>
>> With a quick search, I could not find a usable open api for stock info.
>> Instead, getting the weather info by city name could be one of the
>> candidates. For example,
>>
>> https://openweathermap.org/find?q=Tokyo
>>
>> 2019年12月18日(水) 21:25 Carlos Rovira :
>>
>>> Hi Takeshita,
>>>
>>> thanks for reporting. Will you have time to see another free service
>>> that we could use and propose a change?
>>> If all agree that service is usable from Apache in a legal and safe way.
>>> Then we could ask you to submit a patch where the examples use that service.
>>> thanks
>>>
>>> El mié., 18 dic. 2019 a las 8:05, Takeshita Shoichiro (<
>>> jl03...@gmail.com>) escribió:
>>>
>>>> I think dev team already knows the following but just in the case.
>>>>
>>>> On Jan. 3, 2019, YQL service at http://query.yahooapis.com
>>>> <https://t.co/g4W9RhdMLk> will be retired. YQL based services that use
>>>> http://query.yahooapis.com  <https://t.co/g4W9RhdMLk>, including users
>>>> of http://datatables.org  <https://t.co/5IkUaEykdl>, will no longer
>>>> operate. Yahoo Weather API users see the tweet below for info about
>>>> continuing your service.
>>>> --
>>>> Shoichiro Takeshita
>>>> 武下 祥一郎
>>>>
>>>
>>>
>>> --
>>> Carlos Rovira
>>> http://about.me/carlosrovira
>>>
>>> --
>> Shoichiro Takeshita
>> 武下 祥一郎
>>
>

-- 
Shoichiro Takeshita
武下 祥一郎


Re: examples/royale/DataBindingExample

2019-12-18 Thread Takeshita Shoichiro
With a quick search, I could not find a usable open api for stock info.
Instead, getting the weather info by city name could be one of the
candidates. For example,

https://openweathermap.org/find?q=Tokyo

2019年12月18日(水) 21:25 Carlos Rovira :

> Hi Takeshita,
>
> thanks for reporting. Will you have time to see another free service that
> we could use and propose a change?
> If all agree that service is usable from Apache in a legal and safe way.
> Then we could ask you to submit a patch where the examples use that service.
> thanks
>
> El mié., 18 dic. 2019 a las 8:05, Takeshita Shoichiro ()
> escribió:
>
>> I think dev team already knows the following but just in the case.
>>
>> On Jan. 3, 2019, YQL service at http://query.yahooapis.com
>> <https://t.co/g4W9RhdMLk> will be retired. YQL based services that use
>> http://query.yahooapis.com  <https://t.co/g4W9RhdMLk>, including users
>> of http://datatables.org  <https://t.co/5IkUaEykdl>, will no longer
>> operate. Yahoo Weather API users see the tweet below for info about
>> continuing your service.
>> --
>> Shoichiro Takeshita
>> 武下 祥一郎
>>
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
> --
Shoichiro Takeshita
武下 祥一郎


Re: com.google.code.flexiframe

2019-12-17 Thread Takeshita Shoichiro
Greg, great thanks.

I tried your markup but Edge does not show the output. At my office, Chrome
is prohibited to use. I compiled using VSCode.

If you used VS code, could your share your asconfig.json with us?

2019年12月18日(水) 5:50 Greg Dove :

>
> Andrew, there are some CORs related console errors with this, but it might
> be a good starting point:
>
> http://ns.adobe.com/mxml/2009;
> initialize="onInit"
> xmlns:js="library://ns.apache.org/royale/basic" >
> 
> 
> 
> 
> 
>  height="100%">
> https://royale.apache.org/;
> width="50%" height="100%"/>
> 
> 
> 
>
>
> Combines what Harbs said for init, plus a few other mandatory things.
>
> On Wed, Dec 18, 2019 at 9:19 AM Andrew Wetmore 
> wrote:
>
>> Harbs, can I turn this into a tutorial for the Royale blog?
>>
>> On Tue, Dec 17, 2019 at 3:58 PM Harbs  wrote:
>>
>>> Try changing js:WebBrowser to j:WebBrowser.
>>>
>>> The prefix needs the namespace you used for “j”.
>>>
>>> On Dec 17, 2019, at 2:59 PM, Takeshita Shoichiro 
>>> wrote:
>>>
>>> Greg and Harbs, thanks.
>>>
>>> As I do not fully understand the Royale markup at moment.
>>> Unfortunately, the following markup does not show the Royale Website.
>>> What's wrong with it?
>>> And if I want to display image, using source ="test.jpg" is fine?
>>>
>>> Appreciate your all help in advance.
>>>
>>>
>>> ===
>>> 
>>> http://ns.adobe.com/mxml/2009;
>>> xmlns:j="library://ns.apache.org/royale/basic"
>>> xmlns:js="org.apache.royale.html.*">
>>>
>>>  https://royale.apache.org/; />
>>>
>>> 
>>>
>>> On Tue, Dec 17, 2019 at 4:05 PM Harbs  wrote:
>>>
>>>> Here’s it in use in an actual app:
>>>>
>>>> >>> />
>>>>
>>>> I also have this code on intiComplete:
>>>>
>>>>
>>>> browser.addEventListener("locationChanged",locationChanged);
>>>> (browser.element as HTMLIFrameElement).sandbox =
>>>> "allow-top-navigation allow-forms allow-scripts allow-same-origin";
>>>>
>>>> If you need more extensive communication, take a look at postMessage:
>>>> https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage
>>>> HTH,
>>>> Harbs
>>>>
>>>> On Dec 17, 2019, at 6:51 AM, Greg Dove  wrote:
>>>>
>>>> Sorry, I don't know of any. That class looked like it was intended for
>>>> what you needed, but I have not used it myself. When I needed the type of
>>>> thing that you described in the past, I wrote a custom component to do
>>>> that, but it looked like WebBrowser had part of the setup I had used when I
>>>> did that.
>>>> I just pushed a quick fix for startup url value assignment.
>>>> I was able to get it displaying something that way with this:
>>>>
>>>> https://royale.apache.org/; width="400"
>>>> height="400"/>
>>>>
>>>>
>>>>  it seems that both Alex and Harbs have worked on that. Maybe they can
>>>> provide more info.
>>>>
>>>>
>>>> On Tue, Dec 17, 2019 at 4:47 PM Takeshita Shoichiro 
>>>> wrote:
>>>>
>>>>> Greg, is there any sample code snippet to use WebBrowser.as?
>>>>>
>>>>> 2019年12月17日(火) 12:10 Greg Dove :
>>>>>
>>>>>> I was just looking at the original lib. It has a bunch of extra api
>>>>>> methods etc. It might need some effort to add in the various
>>>>>> ExternalInterface calls that the original lib had if you need those. But
>>>>>> basically, the Flex lib was reaching out to html to do this. In Royale 
>>>>>> you
>>>>>> are already 'closer' to the iframe, so it should be relatively easy.
>>>>>>
>>>>>>
>>>>>> On Tue, Dec 17, 2019 at 4:06 PM Takeshita Shoichiro <
>>>>>> jl03...@gmail.com> wrote:
>>>>>>
>>>>>>> Greg, thanks for a good news.  Will try.
>>>>>>>
>>>>>>> 2019年12月17日(火) 12:04 Greg Dove :
>>>>>>>
>>>>>>>> That should be quite easy.
>>>>>>>>
>>>>>>>> Either it should be easy to do it directly, or it looks like you
>>>>>>>> could use:  org.apache.royale.html.WebBrowser
>>>>>>>> from Basic lib.
>>>>>>>> I did not use this yet, but it seems like it should be what you
>>>>>>>> need.
>>>>>>>>
>>>>>>>>
>>>>>>>> On Tue, Dec 17, 2019 at 4:00 PM Takeshita Shoichiro <
>>>>>>>> jl03...@gmail.com> wrote:
>>>>>>>>
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>> Our application uses this library extensively to display page-size
>>>>>>>>> image as embedded.
>>>>>>>>>
>>>>>>>>> How it would be easy or difficult to make it work in Royale?
>>>>>>>>> --
>>>>>>>>> Shoichiro Takeshita
>>>>>>>>> 武下 祥一郎
>>>>>>>>>
>>>>>>>> --
>>>>>>> Shoichiro Takeshita
>>>>>>> 武下 祥一郎
>>>>>>>
>>>>>> --
>>>>> Shoichiro Takeshita
>>>>> 武下 祥一郎
>>>>>
>>>>
>>>>
>>>
>>> --
>>> Shoichiro Takeshita
>>> 武下 祥一郎
>>>
>>>
>>>
>>
>> --
>> Andrew Wetmore
>>
>> http://cottage14.blogspot.com/
>>
>>
>>
>>
>> --
Shoichiro Takeshita
武下 祥一郎


Re: com.google.code.flexiframe

2019-12-17 Thread Takeshita Shoichiro
Greg and Harbs, thanks.

As I do not fully understand the Royale markup at moment.  Unfortunately,
the following markup does not show the Royale Website.  What's wrong with
it?
And if I want to display image, using source ="test.jpg" is fine?

Appreciate your all help in advance.

===

http://ns.adobe.com/mxml/2009;
xmlns:j="library://ns.apache.org/royale/basic"
xmlns:js="org.apache.royale.html.*">

 https://royale.apache.org/; />



On Tue, Dec 17, 2019 at 4:05 PM Harbs  wrote:

> Here’s it in use in an actual app:
>
> 
>
> I also have this code on intiComplete:
>
>
> browser.addEventListener("locationChanged",locationChanged);
> (browser.element as HTMLIFrameElement).sandbox =
> "allow-top-navigation allow-forms allow-scripts allow-same-origin";
>
> If you need more extensive communication, take a look at postMessage:
> https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage
> HTH,
> Harbs
>
> On Dec 17, 2019, at 6:51 AM, Greg Dove  wrote:
>
> Sorry, I don't know of any. That class looked like it was intended for
> what you needed, but I have not used it myself. When I needed the type of
> thing that you described in the past, I wrote a custom component to do
> that, but it looked like WebBrowser had part of the setup I had used when I
> did that.
> I just pushed a quick fix for startup url value assignment.
> I was able to get it displaying something that way with this:
>
> https://royale.apache.org/; width="400" height="400"/>
>
>
>  it seems that both Alex and Harbs have worked on that. Maybe they can
> provide more info.
>
>
> On Tue, Dec 17, 2019 at 4:47 PM Takeshita Shoichiro 
> wrote:
>
>> Greg, is there any sample code snippet to use WebBrowser.as?
>>
>> 2019年12月17日(火) 12:10 Greg Dove :
>>
>>> I was just looking at the original lib. It has a bunch of extra api
>>> methods etc. It might need some effort to add in the various
>>> ExternalInterface calls that the original lib had if you need those. But
>>> basically, the Flex lib was reaching out to html to do this. In Royale you
>>> are already 'closer' to the iframe, so it should be relatively easy.
>>>
>>>
>>> On Tue, Dec 17, 2019 at 4:06 PM Takeshita Shoichiro 
>>> wrote:
>>>
>>>> Greg, thanks for a good news.  Will try.
>>>>
>>>> 2019年12月17日(火) 12:04 Greg Dove :
>>>>
>>>>> That should be quite easy.
>>>>>
>>>>> Either it should be easy to do it directly, or it looks like you could
>>>>> use:  org.apache.royale.html.WebBrowser
>>>>> from Basic lib.
>>>>> I did not use this yet, but it seems like it should be what you need.
>>>>>
>>>>>
>>>>> On Tue, Dec 17, 2019 at 4:00 PM Takeshita Shoichiro 
>>>>> wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> Our application uses this library extensively to display page-size
>>>>>> image as embedded.
>>>>>>
>>>>>> How it would be easy or difficult to make it work in Royale?
>>>>>> --
>>>>>> Shoichiro Takeshita
>>>>>> 武下 祥一郎
>>>>>>
>>>>> --
>>>> Shoichiro Takeshita
>>>> 武下 祥一郎
>>>>
>>> --
>> Shoichiro Takeshita
>> 武下 祥一郎
>>
>
>

-- 
Shoichiro Takeshita
武下 祥一郎


Re: com.google.code.flexiframe

2019-12-16 Thread Takeshita Shoichiro
Greg, is there any sample code snippet to use WebBrowser.as?

2019年12月17日(火) 12:10 Greg Dove :

> I was just looking at the original lib. It has a bunch of extra api
> methods etc. It might need some effort to add in the various
> ExternalInterface calls that the original lib had if you need those. But
> basically, the Flex lib was reaching out to html to do this. In Royale you
> are already 'closer' to the iframe, so it should be relatively easy.
>
>
> On Tue, Dec 17, 2019 at 4:06 PM Takeshita Shoichiro 
> wrote:
>
>> Greg, thanks for a good news.  Will try.
>>
>> 2019年12月17日(火) 12:04 Greg Dove :
>>
>>> That should be quite easy.
>>>
>>> Either it should be easy to do it directly, or it looks like you could
>>> use:  org.apache.royale.html.WebBrowser
>>> from Basic lib.
>>> I did not use this yet, but it seems like it should be what you need.
>>>
>>>
>>> On Tue, Dec 17, 2019 at 4:00 PM Takeshita Shoichiro 
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> Our application uses this library extensively to display page-size
>>>> image as embedded.
>>>>
>>>> How it would be easy or difficult to make it work in Royale?
>>>> --
>>>> Shoichiro Takeshita
>>>> 武下 祥一郎
>>>>
>>> --
>> Shoichiro Takeshita
>> 武下 祥一郎
>>
> --
Shoichiro Takeshita
武下 祥一郎


Re: com.google.code.flexiframe

2019-12-16 Thread Takeshita Shoichiro
Greg, thanks for a good news.  Will try.

2019年12月17日(火) 12:04 Greg Dove :

> That should be quite easy.
>
> Either it should be easy to do it directly, or it looks like you could
> use:  org.apache.royale.html.WebBrowser
> from Basic lib.
> I did not use this yet, but it seems like it should be what you need.
>
>
> On Tue, Dec 17, 2019 at 4:00 PM Takeshita Shoichiro 
> wrote:
>
>> Hi,
>>
>> Our application uses this library extensively to display page-size image
>> as embedded.
>>
>> How it would be easy or difficult to make it work in Royale?
>> --
>> Shoichiro Takeshita
>> 武下 祥一郎
>>
> --
Shoichiro Takeshita
武下 祥一郎


com.google.code.flexiframe

2019-12-16 Thread Takeshita Shoichiro
Hi,

Our application uses this library extensively to display page-size image as
embedded.

How it would be easy or difficult to make it work in Royale?
-- 
Shoichiro Takeshita
武下 祥一郎


Re: blog/BE0011_Loading_external_data_through_HTTPService

2019-12-16 Thread Takeshita Shoichiro
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 :

> 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 ()
> 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  -rf :BE0002_Using_Jewel_Alert_Control
>>
>> On Mon, Dec 16, 2019 at 4:48 AM Carlos Rovira 
>> wrote:
>>
>>> Hi,
>>>
>>> just fixed all examples maven compilation
>>>
>>>
>>> El dom., 15 dic. 2019 a las 20:28, Carlos Rovira (<
>>> carlosrov...@apache.org>) 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
>>

Re: A part of Jewel

2019-12-16 Thread Takeshita Shoichiro
Carlos, thanks.

I’ve confirmed that links are working.

2019年12月17日(火) 4:33 Carlos Rovira :

> Hi Takeshita,
>
> I updated the website with all fixes and changes. You know can navigate it
> with no broken links and code in examples should match now the code in
> project examples.
>
> Please report if you find something more.
>
> Thanks
>
> Carlos
>
>
>
> El lun., 16 dic. 2019 a las 13:54, Andrew Wetmore ()
> escribió:
>
>> Thanks for catching up on that
>>
>> On Mon, Dec 16, 2019 at 8:50 AM Carlos Rovira 
>> wrote:
>>
>>> Hi Andrew,
>>>
>>> I reverted that commit since the I changed weeks ago all links to match
>>> the same pattern, i.e:  /jewel/themes or /jewe/button and be only permalinks
>>> I fixed all blog examples tutorials today in pre site (still not
>>> published to production) since links to royale docs wasn't working due to
>>> that issue and due to the migration to use only permalinks.
>>> Sorry, I didn't mention this one here, so you can't know about it.
>>>
>>> Thanks
>>>
>>> Carlos
>>>
>>>
>>>
>>> El lun., 16 dic. 2019 a las 13:39, Andrew Wetmore ()
>>> escribió:
>>>
>>>>   About the Jewel themes page, I see it at
>>>> https://apache.github.io/royale-docs/component-sets/jewel/jewel-themes.html
>>>>
>>>>
>>>> There was an error in the permalink for the page, and I have fixed it.
>>>> The fix should be available soon.
>>>>
>>>> Andrew
>>>>
>>>> On Mon, Dec 16, 2019 at 8:23 AM Takeshita Shoichiro 
>>>> wrote:
>>>>
>>>>> Carlos, thanks for your explanation.  I will study SASS.
>>>>>
>>>>> As to VS Code compilation, I cannot get the same output as the one
>>>>> using mvn.  I do not know how to specify three themes in asconfig.json,
>>>>> which would be the root cause.
>>>>> In the meantime, I need to use mvn.
>>>>>
>>>>> By the way, I'd like to know the current status of the following page.
>>>>>
>>>>> https://apache.github.io/royale-docs/component-sets/jewel#jewel-themes
>>>>>
>>>>>
>>>>> Thanks.
>>>>>
>>>>> On Mon, Dec 16, 2019 at 5:47 PM Carlos Rovira 
>>>>> wrote:
>>>>>
>>>>>> Hi Takeshita,
>>>>>>
>>>>>> to clean the input is something you can do in a number of ways:
>>>>>>
>>>>>>- You can just clear textinputs after navigate to the next
>>>>>>screen, so when you come back for whatever reason is clean
>>>>>>- You can send an Event when perform the LOGOUT to make the
>>>>>>textinputs be cleared
>>>>>>
>>>>>> This depends more on the structure of your app. Take into account
>>>>>> that the example is just a very simple view state example on how that 
>>>>>> works.
>>>>>>
>>>>>> About skinning with CSS. I mean that really there's no a SKIN concept
>>>>>> like in Flex 4, since in HTML we can just rely on CSS. So you can create
>>>>>> custom CSS in you APP to add up to some concrete style in Jewel, or just
>>>>>> override it completely. You have available all HTML infrastructure using
>>>>>> "lclassName" or "style" (to go directly to low level html styling). That
>>>>>> kind of things can be ok for few changes you want. If you need to create
>>>>>> your own Theme (override all component styles or most of them), you can
>>>>>> create your own JewelTheme. Copying the project and changing to your 
>>>>>> needs.
>>>>>> I use in JewelTheme SASS since it give us structure and organization in
>>>>>> files. SASS is for CSS like AS3/MXML for Javascript. A way to code it in 
>>>>>> a
>>>>>> better and easy way and left the SASS compiler to minimize the output. 
>>>>>> You
>>>>>> have SASS compilation only in Maven build for free. More info in Royale
>>>>>> Docs in [1] & [2]
>>>>>>
>>>>>> [1] Jewel Themes
>>>>>> <https://apache.github.io/royale-docs/component-sets/jewel/themes>
>>>>>> [2] Jewel Theme Creation
>>>>>> <ht

Re: A part of Jewel

2019-12-16 Thread Takeshita Shoichiro
Carlos, thanks for your explanation.  I will study SASS.

As to VS Code compilation, I cannot get the same output as the one using
mvn.  I do not know how to specify three themes in asconfig.json, which
would be the root cause.
In the meantime, I need to use mvn.

By the way, I'd like to know the current status of the following page.

https://apache.github.io/royale-docs/component-sets/jewel#jewel-themes

Thanks.

On Mon, Dec 16, 2019 at 5:47 PM Carlos Rovira 
wrote:

> Hi Takeshita,
>
> to clean the input is something you can do in a number of ways:
>
>- You can just clear textinputs after navigate to the next screen, so
>when you come back for whatever reason is clean
>- You can send an Event when perform the LOGOUT to make the textinputs
>be cleared
>
> This depends more on the structure of your app. Take into account that the
> example is just a very simple view state example on how that works.
>
> About skinning with CSS. I mean that really there's no a SKIN concept like
> in Flex 4, since in HTML we can just rely on CSS. So you can create custom
> CSS in you APP to add up to some concrete style in Jewel, or just override
> it completely. You have available all HTML infrastructure using
> "lclassName" or "style" (to go directly to low level html styling). That
> kind of things can be ok for few changes you want. If you need to create
> your own Theme (override all component styles or most of them), you can
> create your own JewelTheme. Copying the project and changing to your needs.
> I use in JewelTheme SASS since it give us structure and organization in
> files. SASS is for CSS like AS3/MXML for Javascript. A way to code it in a
> better and easy way and left the SASS compiler to minimize the output. You
> have SASS compilation only in Maven build for free. More info in Royale
> Docs in [1] & [2]
>
> [1] Jewel Themes
> <https://apache.github.io/royale-docs/component-sets/jewel/themes>
> [2] Jewel Theme Creation
> <https://apache.github.io/royale-docs/component-sets/jewel/theme-creation>
>
>
>
> El lun., 16 dic. 2019 a las 2:35, Takeshita Shoichiro ()
> escribió:
>
>> Carlos, thanks.
>>
>> I cloud center the login panel.
>>
>> This is just my preference. When showing the login panel, I would not see
>> the preset data. And after pressing LOGOUT button, I’d like to clear the
>> input. How can we clear the input?
>>
>> As to skin class replacement by CSS is also fine.  Can I see such an
>> example?
>>
>>
>>
>> 2019年12月16日(月) 2:23 Carlos Rovira :
>>
>>> Hi Takeshita,
>>>
>>> El dom., 15 dic. 2019 a las 3:17, Takeshita Shoichiro (<
>>> jl03...@gmail.com>) escribió:
>>>
>>>> Carlos, the current asconfig.json is fine.  One note is that we need to
>>>> use  "targets": ["JSRoyale"], for JS only build.
>>>> It seems I made some mistakes when creating a project BE0008 project in
>>>> VS Code. This morning I tried again and things worked well.
>>>>
>>>
>>> Thanks I committed the fix :)
>>>
>>>
>>>> By the way, would you please advise me on how to display this Login
>>>> panel at the center of the screen in Jewel?
>>>>
>>>
>>> In the example just add a   to he View
>>> beads. That's all.
>>>
>>>
>>>> And does Jewel support skin class?
>>>>
>>>
>>> Not for now. Skin support will depend on plans on Spark emulation.
>>> Maybe @Alex, could give more light on the plans in SparkRoyale.
>>> In the other hand, I must admit I was a big user of skins in Flex 4, but
>>> in Royale since CSS seems to me more powerful that what we had in Flex
>>> times, it don't miss that feature.
>>>
>>>
>>>>
>>>> Please also check the following links in your HTML document do not work.
>>>>
>>>> Where to go from here
>>>>
>>>>- View States Royale Docs page
>>>>
>>>> <https://apache.github.io/royale-docs/create-an-application/view-states.html>
>>>>- Jewel TextInput Royale Docs page
>>>>
>>>> <https://apache.github.io/royale-docs/component-sets/jewel/jewel-textinput.html>
>>>>- Jewel Button Royale Docs page
>>>>
>>>> <https://apache.github.io/royale-docs/component-sets/jewel/jewel-button.html>
>>>>- Jewel Card Royale Docs page
>>>>
>>>> <https://apache.github.io/royale-docs/component-sets/jew

Re: blog/BE0011_Loading_external_data_through_HTTPService

2019-12-16 Thread Takeshita Shoichiro
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  -rf :BE0002_Using_Jewel_Alert_Control

On Mon, Dec 16, 2019 at 4:48 AM Carlos Rovira 
wrote:

> Hi,
>
> just fixed all examples maven compilation
>
>
> El dom., 15 dic. 2019 a las 20:28, Carlos Rovira ()
> 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 (<
>> carlosrov...@apache.org>) 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.

blog/BE0011_Loading_external_data_through_HTTPService

2019-12-15 Thread Takeshita Shoichiro
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.


Re: A part of Jewel

2019-12-14 Thread Takeshita Shoichiro
Carlos, the current asconfig.json is fine.  One note is that we need to use
 "targets": ["JSRoyale"], for JS only build.
It seems I made some mistakes when creating a project BE0008 project in VS
Code. This morning I tried again and things worked well.
By the way, would you please advise me on how to display this Login panel
at the center of the screen in Jewel?

And does Jewel support skin class?

Please also check the following links in your HTML document do not work.

Where to go from here

   - View States Royale Docs page
   <https://apache.github.io/royale-docs/create-an-application/view-states.html>
   - Jewel TextInput Royale Docs page
   
<https://apache.github.io/royale-docs/component-sets/jewel/jewel-textinput.html>
   - Jewel Button Royale Docs page
   <https://apache.github.io/royale-docs/component-sets/jewel/jewel-button.html>
   - Jewel Card Royale Docs page
   <https://apache.github.io/royale-docs/component-sets/jewel/jewel-card.html>



On Sat, Dec 14, 2019 at 12:17 AM Carlos Rovira 
wrote:

> Hi Takehita,
>
> thanks for looking into it. As expected, maven is set up but the rest of
> build system are not. if you want to fix it and submit PR would be great :)
>
> Best
>
> Carlos
>
> El vie., 13 dic. 2019 a las 14:18, Takeshita Shoichiro ()
> escribió:
>
>> Carlos, I could see the output with maven clean install on Mac.
>>
>> But, VS Code compilation against it (project is copied to the different
>> directory) does not create the output to be shown on the browser (Windows
>> 10 Chrome).
>>
>> I will examine the problem tomorrow.
>>
>> On Fri, Dec 13, 2019 at 8:27 PM Carlos Rovira 
>> wrote:
>>
>>> Hi,
>>>
>>> Blog examples was created with maven build system. Unless others setup
>>> ANT, or IDE configs, I can't guarantee it would work.
>>> I think others like you can try and fix if needed that config files and
>>> submit as a PR to improve it.
>>>
>>> Thanks!
>>>
>>> Carlos
>>>
>>>
>>>
>>> El vie., 13 dic. 2019 a las 8:47, Takeshita Shoichiro (<
>>> jl03...@gmail.com>) escribió:
>>>
>>>> Carlos, thanks a lot.
>>>>
>>>> There might be spam environment problem at my office.  No output in the
>>>> browser.  I will retry at home.
>>>>
>>>> Just confirmation.  I used the same asconfig.json for tourdejewel.  Is
>>>> it ok?
>>>>
>>>> 2019年12月13日(金) 15:57 Carlos Rovira :
>>>>
>>>>> Hi Takeshita,
>>>>>
>>>>> I did this tutorial [1] for View States some months ago.
>>>>>
>>>>> IS that of help for you? If not let me know more about the problem you
>>>>> have. It's not clear to me what's your problem.
>>>>>
>>>>> Thanks
>>>>>
>>>>> Carlos
>>>>>
>>>>> [1]
>>>>> https://royale.apache.org/using-view-states-to-show-or-hide-content/
>>>>>
>>>>>
>>>>>
>>>>> El vie., 13 dic. 2019 a las 2:58, Takeshita Shoichiro (<
>>>>> jl03...@gmail.com>) escribió:
>>>>>
>>>>>> Carlos, I have a question.
>>>>>>
>>>>>> If I want to reuse a part of View States, actually View States with
>>>>>> includeIn panel, what should I do?
>>>>>>
>>>>>> Compiling only ViewStatesIncludeIn.mxml does show the output on the
>>>>>> browser.
>>>>>>
>>>>>> Appreciate your advice.
>>>>>> --
>>>>>> Shoichiro Takeshita
>>>>>> 武下 祥一郎
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Carlos Rovira
>>>>> http://about.me/carlosrovira
>>>>>
>>>>> --
>>>> Shoichiro Takeshita
>>>> 武下 祥一郎
>>>>
>>>
>>>
>>> --
>>> Carlos Rovira
>>> http://about.me/carlosrovira
>>>
>>>
>>
>> --
>> Shoichiro Takeshita
>> 武下 祥一郎
>>
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
>

-- 
Shoichiro Takeshita
武下 祥一郎


Re: A part of Jewel

2019-12-13 Thread Takeshita Shoichiro
Carlos, I could see the output with maven clean install on Mac.

But, VS Code compilation against it (project is copied to the different
directory) does not create the output to be shown on the browser (Windows
10 Chrome).

I will examine the problem tomorrow.

On Fri, Dec 13, 2019 at 8:27 PM Carlos Rovira 
wrote:

> Hi,
>
> Blog examples was created with maven build system. Unless others setup
> ANT, or IDE configs, I can't guarantee it would work.
> I think others like you can try and fix if needed that config files and
> submit as a PR to improve it.
>
> Thanks!
>
> Carlos
>
>
>
> El vie., 13 dic. 2019 a las 8:47, Takeshita Shoichiro ()
> escribió:
>
>> Carlos, thanks a lot.
>>
>> There might be spam environment problem at my office.  No output in the
>> browser.  I will retry at home.
>>
>> Just confirmation.  I used the same asconfig.json for tourdejewel.  Is it
>> ok?
>>
>> 2019年12月13日(金) 15:57 Carlos Rovira :
>>
>>> Hi Takeshita,
>>>
>>> I did this tutorial [1] for View States some months ago.
>>>
>>> IS that of help for you? If not let me know more about the problem you
>>> have. It's not clear to me what's your problem.
>>>
>>> Thanks
>>>
>>> Carlos
>>>
>>> [1] https://royale.apache.org/using-view-states-to-show-or-hide-content/
>>>
>>>
>>>
>>> El vie., 13 dic. 2019 a las 2:58, Takeshita Shoichiro (<
>>> jl03...@gmail.com>) escribió:
>>>
>>>> Carlos, I have a question.
>>>>
>>>> If I want to reuse a part of View States, actually View States with
>>>> includeIn panel, what should I do?
>>>>
>>>> Compiling only ViewStatesIncludeIn.mxml does show the output on the
>>>> browser.
>>>>
>>>> Appreciate your advice.
>>>> --
>>>> Shoichiro Takeshita
>>>> 武下 祥一郎
>>>>
>>>
>>>
>>> --
>>> Carlos Rovira
>>> http://about.me/carlosrovira
>>>
>>> --
>> Shoichiro Takeshita
>> 武下 祥一郎
>>
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
>

-- 
Shoichiro Takeshita
武下 祥一郎


Re: A part of Jewel

2019-12-12 Thread Takeshita Shoichiro
Carlos, thanks a lot.

There might be spam environment problem at my office.  No output in the
browser.  I will retry at home.

Just confirmation.  I used the same asconfig.json for tourdejewel.  Is it
ok?

2019年12月13日(金) 15:57 Carlos Rovira :

> Hi Takeshita,
>
> I did this tutorial [1] for View States some months ago.
>
> IS that of help for you? If not let me know more about the problem you
> have. It's not clear to me what's your problem.
>
> Thanks
>
> Carlos
>
> [1] https://royale.apache.org/using-view-states-to-show-or-hide-content/
>
>
>
> El vie., 13 dic. 2019 a las 2:58, Takeshita Shoichiro ()
> escribió:
>
>> Carlos, I have a question.
>>
>> If I want to reuse a part of View States, actually View States with
>> includeIn panel, what should I do?
>>
>> Compiling only ViewStatesIncludeIn.mxml does show the output on the
>> browser.
>>
>> Appreciate your advice.
>> --
>> Shoichiro Takeshita
>> 武下 祥一郎
>>
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
> --
Shoichiro Takeshita
武下 祥一郎


A part of Jewel

2019-12-12 Thread Takeshita Shoichiro
Carlos, I have a question.

If I want to reuse a part of View States, actually View States with
includeIn panel, what should I do?

Compiling only ViewStatesIncludeIn.mxml does show the output on the browser.

Appreciate your advice.
-- 
Shoichiro Takeshita
武下 祥一郎


Re: How to compile tourdeflexmodules

2019-12-12 Thread Takeshita Shoichiro
Alex, thanks.  I confirmed that Ant run.

ST

On Thu, Dec 12, 2019 at 4:17 PM Alex Harui  wrote:

> Yes, or just get it from the repo:
> https://github.com/apache/royale-asjs/tree/develop/examples/mxroyale/tourdeflexmodules
>
>
>
> *From: *Takeshita Shoichiro 
> *Reply-To: *"users@royale.apache.org" 
> *Date: *Wednesday, December 11, 2019 at 11:02 PM
> *To: *"users@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 :
>
> I just pushed a change to royale-asjs that seems to get it to work for me.
>
>
>
> -Alex
>
>
>
> *From: *Takeshita Shoichiro 
> *Reply-To: *"users@royale.apache.org" 
> *Date: *Wednesday, December 11, 2019 at 5:46 PM
> *To: *"users@royale.apache.org" 
> *Cc: *Carlos Rovira 
> *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 :
>
> 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 
> *Reply-To: *"users@royale.apache.org" 
> *Date: *Wednesday, December 11, 2019 at 3:34 AM
> *To: *"users@royale.apache.org" 
> *Cc: *Carlos Rovira 
> *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] ^
> [m

Re: How to compile tourdeflexmodules

2019-12-11 Thread Takeshita Shoichiro
Alex, thanks.  Can I get it from night build shortly?

2019年12月12日(木) 15:32 Alex Harui :

> I just pushed a change to royale-asjs that seems to get it to work for me.
>
>
>
> -Alex
>
>
>
> *From: *Takeshita Shoichiro 
> *Reply-To: *"users@royale.apache.org" 
> *Date: *Wednesday, December 11, 2019 at 5:46 PM
> *To: *"users@royale.apache.org" 
> *Cc: *Carlos Rovira 
> *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 :
>
> 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 
> *Reply-To: *"users@royale.apache.org" 
> *Date: *Wednesday, December 11, 2019 at 3:34 AM
> *To: *"users@royale.apache.org" 
> *Cc: *Carlos Rovira 
> *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 - v

Re: displayAsPassword attribute does not work

2019-12-11 Thread Takeshita Shoichiro
Alex, I did the following:

1. Copy mx’s displayAsPasswod section of TextInput.as to the end of spark’s
TextInout.as.

2. Add override in front of public function get displayAsPassword() and
public function set displayAsPassword().

3. Add import org.apache.royale.html.accessaries.PasswordInputBead.

It seems these functions are not overdriven.  When moving the mouse over
the dusplayAsPassword attribute, the pop up still points
SkinnableTextBase.  And the password column in the HTML field is not yet
masked. Did I miss something?  Thanks.

2019年12月6日(金) 7:17 Alex Harui :

> Thanks in advance for trying.
>
>
>
> You can try following the “Squashing Bugs” instructions
> https://royale.apache.org/get-involved/
>
>
>
> Let us know if the instructions need improvement as well.
>
>
>
> -Alex
>
>
>
> *From: *Takeshita Shoichiro 
> *Reply-To: *"users@royale.apache.org" 
> *Date: *Thursday, December 5, 2019 at 2:05 PM
> *To: *"users@royale.apache.org" 
> *Subject: *Re: displayAsPassword attribute does not work
>
>
>
> Alex, OK.  I will try.  I need some time to understand the process.
>
>
>
> Do I need to create an issue for this error?
>
> I think I should do the FORK before doing the work at my terminal, correct?
>
>
>
> Thanks.
>
>
>
> ST
>
>
>
> On Fri, Dec 6, 2019 at 1:53 AM Alex Harui  wrote:
>
> It hasn’t been implemented in Spark TextInput yet.  You should be able to
> copy the code from MX TextInput into Spark TextInput (as an override of
> SkinnableTextBase’s displayAsPassword).  It would be good if you can learn
> how to modify the framework code and provide pull requests.  Then you will
> be less dependent on other volunteers in the future.
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Takeshita Shoichiro 
> *Reply-To: *"users@royale.apache.org" 
> *Date: *Thursday, December 5, 2019 at 4:12 AM
> *To: *"users@royale.apache.org" 
> *Subject: *displayAsPassword attribute does not work
>
>
>
>
> Hi,
>
>
>
> displayAsPassword attribute does not work with the following markup.  Did
> I miss something?
>
>
>
>
> ===
>
>
>
>
>
> 
>
>
>
> http://ns.adobe.com/mxml/2009
> <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.adobe.com%2Fmxml%2F2009=02%7C01%7Caharui%40adobe.com%7Ce35286b0539246b0a33b08d779cf4ac0%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637111803533207662=69QRKSk2rJDVORZpsnxFtk7jnZIqgnKTGNCKW0jphug%3D=0>
> "
>
>
>
>xmlns:s="library://ns.apache.org/royale/spark
> <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.apache.org%2Froyale%2Fspark=02%7C01%7Caharui%40adobe.com%7Ce35286b0539246b0a33b08d779cf4ac0%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637111803533207662=UtpF2G0Y2lOyhhOgmQwVWyc6KHL2k6vBbCXCVqpNl3A%3D=0>
> "
>
>
>
>xmlns:mx="library://ns.apache.org/royale/mx
> <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.apache.org%2Froyale%2Fmx=02%7C01%7Caharui%40adobe.com%7Ce35286b0539246b0a33b08d779cf4ac0%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637111803533217616=6DqvgnYKZUx69PxHyFor5qGybwm8NjW32QmOvE40k5Q%3D=0>
> " minWidth="1024" minHeight="768">
>
>
>
> 
>
>
>
> 
>
>
>
> 
>
>
>
>
>
>
>
> 
>
>
>
> 
>
>
> text="royale007"
>
>
>
> editable="true"
>
>
>
> displayAsPassword="false"
>
>
>
> maxChars="10" />
>
>
>
> 
>
>
> displayAsPassword="true" />
>
>
>
> 
>
>
>
>
>
>
>
> 
>
>
>
>
>
>
>
> S. Takeshita
>
>
>
>
>
>
> --
>
> Shoichiro Takeshita
> 武下 祥一郎
>
-- 
Shoichiro Takeshita
武下 祥一郎


Re: How to compile tourdeflexmodules

2019-12-11 Thread Takeshita Shoichiro
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 :

> 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 
> *Reply-To: *"users@royale.apache.org" 
> *Date: *Wednesday, December 11, 2019 at 3:34 AM
> *To: *"users@royale.apache.org" 
> *Cc: *Carlos Rovira 
> *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 printS

Re: How to compile tourdeflexmodules

2019-12-11 Thread Takeshita Shoichiro
che-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  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 
> *Reply-To: *"users@royale.apache.org" 
> *Date: *Tuesday, December 10, 2019 at 5:33 AM
> *To: *Carlos Rovira 
> *Cc: *"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 
> 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   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=02%7C01%7Caharui%40adobe.com%7Cda6d101008fb461a95f108d77d7594c9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637115816293315819=eA9cOcBXjUCeeZNLtZaDdJ5tgwioZteYlwk72j2cq6s%3D=0>
>
>
>
>
>
>
>
>
>
>
>
> El mar., 10 dic. 2019 a las 5:57, Alex Harui ()
> escribió:
>
> I’m sure the Moonshine folks would be interested what errors you are
> getting, if any.
>
>
>
> -Alex
>
>
>
> *From: *Mandeep Sarma 
> *Reply-To: *"users@royale.apache.org" 
> *Date: *Monday, December 9, 2019 at 8:01 PM
> *To: *"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

Re: How to compile tourdeflexmodules

2019-12-10 Thread Takeshita Shoichiro
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 
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   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 ()
> escribió:
>
>> I’m sure the Moonshine folks would be interested what errors you are
>> getting, if any.
>>
>>
>>
>> -Alex
>>
>>
>>
>> *From: *Mandeep Sarma 
>> *Reply-To: *"users@royale.apache.org" 
>> *Date: *Monday, December 9, 2019 at 8:01 PM
>> *To: *"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 
>> 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.
>>
>>
>>
>> http://ns.adobe.com/mxml/2009
>> <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.adobe.com%2Fmxml%2F2009=02%7C01%7Caharui%40adobe.com%7Cd5d13a85278547c19abc08d77d25a000%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637115472893530155=6LOeD3k92rYl0lNcEhd%2BdLrmu5Jlkx%2FidzXAg5wMK7w%3D=0>
>> "
>>
>>xmlns:s="library://ns.apache.org/royale/spark
>> <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.apache.org%2Froyale%2Fspark=02%7C01%7Caharui%40adobe.com%7Cd5d13a85278547c19abc08d77d25a000%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637115472893540149=AdJFG2wHi0Dzg5LxY0eKfP8TD3VO7E0BDYWQNlCzLjk%3D=0>
>> "
>>
>>xmlns:mx="library://ns.apache.org/royale/mx
>> <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.apache.org%2Froyale%2Fmx=02%7C01%7Caharui%40adobe.com%7Cd5d13a85278547c19abc08d77d25a000%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637115472893540149=pzrjyBjnFgphlEoXg%2BtHTAyXz8z5Cway893cH1ekwIk%3D=0>
>> "
>>
>>width="100%" height="100%">
>>
>>
>>
>> This tag (>
>>
>>
>> Shoichiro Takeshita
>>
>>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
>

-- 
Shoichiro Takeshita
武下 祥一郎


Re: How to compile tourdeflexmodules

2019-12-09 Thread Takeshita Shoichiro
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 :

> 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 
> 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.
>>
>> 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 (>
>> Shoichiro Takeshita
>>
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>
-- 
Shoichiro Takeshita
武下 祥一郎


How to compile tourdeflexmodules

2019-12-09 Thread Takeshita Shoichiro
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.

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 (

Re: displayAsPassword attribute does not work

2019-12-05 Thread Takeshita Shoichiro
Alex, OK.  I will try.  I need some time to understand the process.

Do I need to create an issue for this error?
I think I should do the FORK before doing the work at my terminal, correct?

Thanks.

ST

On Fri, Dec 6, 2019 at 1:53 AM Alex Harui  wrote:

> It hasn’t been implemented in Spark TextInput yet.  You should be able to
> copy the code from MX TextInput into Spark TextInput (as an override of
> SkinnableTextBase’s displayAsPassword).  It would be good if you can learn
> how to modify the framework code and provide pull requests.  Then you will
> be less dependent on other volunteers in the future.
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Takeshita Shoichiro 
> *Reply-To: *"users@royale.apache.org" 
> *Date: *Thursday, December 5, 2019 at 4:12 AM
> *To: *"users@royale.apache.org" 
> *Subject: *displayAsPassword attribute does not work
>
>
>
>
> Hi,
>
>
>
> displayAsPassword attribute does not work with the following markup.  Did
> I miss something?
>
>
>
>
> ===
>
>
>
>
>
> 
>
>
>
> http://ns.adobe.com/mxml/2009
> <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.adobe.com%2Fmxml%2F2009=02%7C01%7Caharui%40adobe.com%7C04a0de9cd9114f9fafba08d7797c63e6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637111447474494211=4EMdfTN0BI%2B9JfSlzmnrHKJe6NZqZ8%2BQayi8wa3IBRs%3D=0>
> "
>
>
>
>xmlns:s="library://ns.apache.org/royale/spark
> <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.apache.org%2Froyale%2Fspark=02%7C01%7Caharui%40adobe.com%7C04a0de9cd9114f9fafba08d7797c63e6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637111447474504205=aAYt52lyZIvj5PwzyUtcpj%2FM%2BdvYWY2VNpZr4TIIC%2Fo%3D=0>
> "
>
>
>
>xmlns:mx="library://ns.apache.org/royale/mx
> <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.apache.org%2Froyale%2Fmx=02%7C01%7Caharui%40adobe.com%7C04a0de9cd9114f9fafba08d7797c63e6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637111447474504205=xaEmgbIrZbW4xg%2FozIClXf1gvAVXS9eFMqo5E1A%2BWX0%3D=0>
> " minWidth="1024" minHeight="768">
>
>
>
> 
>
>
>
> 
>
>
>
> 
>
>
>
>
>
>
>
> 
>
>
>
> 
>
>
> text="royale007"
>
>
>
> editable="true"
>
>
>
> displayAsPassword="false"
>
>
>
> maxChars="10" />
>
>
>
> 
>
>
> displayAsPassword="true" />
>
>
>
> 
>
>
>
>
>
>
>
> 
>
>
>
>
>
>
>
> S. Takeshita
>
>
>


-- 
Shoichiro Takeshita
武下 祥一郎


Re: Alert popup

2019-12-05 Thread Takeshita Shoichiro
Alex, I was using an old 0.97 version (10/31 build).  I've confirmed that
the pop up shows up at center.
I should have checked with the latest version before asking.

Thanks.

ST

On Fri, Dec 6, 2019 at 1:55 AM Alex Harui  wrote:

> Alerts should be centered as of 11/20/2019.  Are you running on the latest
> sources?
>
>
>
> -Alex
>
>
>
> *From: *Takeshita Shoichiro 
> *Reply-To: *"users@royale.apache.org" 
> *Date: *Thursday, December 5, 2019 at 4:25 AM
> *To: *"users@royale.apache.org" 
> *Subject: *Alert popup
>
>
>
>
> Unlike Flex, alert pop up does not appear at the center but at the top
> left corner.
>
> Is this a spec?  Is there any way to display the pop up at the center?
>
>
>
> The following is the markup.
>
>
>
>
>
> 
>
>
>
> http://ns.adobe.com/mxml/2009
> <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.adobe.com%2Fmxml%2F2009=02%7C01%7Caharui%40adobe.com%7Cd3ef7d8c03d34f24060108d7797e34e1%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637111455270892183=pdahMmHwBAAagfecbwomwBth1WIC8%2BMMMdeId5%2FS%2BHE%3D=0>
> "
>
>
>
>xmlns:s="library://ns.apache.org/royale/spark
> <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.apache.org%2Froyale%2Fspark=02%7C01%7Caharui%40adobe.com%7Cd3ef7d8c03d34f24060108d7797e34e1%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637111455270892183=%2Bm3I32l3v1hRG0RjTGltV3zks94igaHAArI4VbTGha8%3D=0>
> "
>
>
>
>xmlns:mx="library://ns.apache.org/royale/mx
> <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.apache.org%2Froyale%2Fmx=02%7C01%7Caharui%40adobe.com%7Cd3ef7d8c03d34f24060108d7797e34e1%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637111455270902172=2vmWqMqPpITjqa5yciJOs2BtKH39N96fjOaxZaaKNRo%3D=0>
> " minWidth="955" minHeight="600">
>
>
>
>
>
> 
>
>
>
> 
>
>
>
> 
>
>
>
>
>
>  "HelloButton_clickHandler(event)"/>
>
>
>
> 
>
>
>
>
>
>
>
> S. Takeshita
>
>
>
>
>


-- 
Shoichiro Takeshita
武下 祥一郎


Alert popup

2019-12-05 Thread Takeshita Shoichiro
Unlike Flex, alert pop up does not appear at the center but at the top left
corner.
Is this a spec?  Is there any way to display the pop up at the center?

The following is the markup.


http://ns.adobe.com/mxml/2009;
   xmlns:s="library://ns.apache.org/royale/spark"
   xmlns:mx="library://ns.apache.org/royale/mx" minWidth="955"
minHeight="600">








S. Takeshita


displayAsPassword attribute does not work

2019-12-05 Thread Takeshita Shoichiro
Hi,

displayAsPassword attribute does not work with the following markup.  Did I
miss something?

===


http://ns.adobe.com/mxml/2009;
   xmlns:s="library://ns.apache.org/royale/spark"
   xmlns:mx="library://ns.apache.org/royale/mx" minWidth="1024"
minHeight="768">











S. Takeshita


Re: AdvancedDataGrid Emulation

2019-12-02 Thread Takeshita Shoichiro
Yishay, thanks for your work.

ST

2019年12月3日(火) 4:44 Yishay Weiss :

> Hi,
>
>
>
> Nothing to commit yet, I’ll try to finish it by the end of the week unless
> someone else beats me to it.
>
>
>
>
>
>
>
> *From:* Takeshita Shoichiro 
> *Sent:* Monday, December 2, 2019 1:43:55 PM
> *To:* users@royale.apache.org 
> *Subject:* Re: AdvancedDataGrid Emulation
>
>
>
> Yishay, is there any progress?  Appreciate your help.
>
>
>
> https://github.com/apache/royale-asjs/issues/593
>
>
>
> On Wed, Nov 27, 2019 at 9:03 PM Takeshita Shoichiro 
> wrote:
>
> Yishay, thanks.
>
>
>
> I opened issue #593.
>
>
>
> S. Takeshita
>
>
>
> On Wed, Nov 27, 2019 at 7:44 PM Yishay Weiss 
> wrote:
>
> Hi Takeshita,
>
>
>
> Please open an issue on GitHub with a test case.
>
>
>
> I’ll work on it tomorrow.
>
>
>
> Thanks,
>
> Yishay
>
>
>
> *From: *Takeshita Shoichiro 
> *Sent: *Wednesday, November 27, 2019 2:22 AM
> *To: *users@royale.apache.org
> *Subject: *Re: AdvancedDataGrid Emulation
>
>
>
> Alex, thanks for help.
>
>
>
> groupedColumns is one of the important components for our Flex
> application.  I want to make it work for proposal presentation.
>
>
>
> 2019年11月27日(水) 0:21 Alex Harui :
>
> I don’t think anyone has tried groupedColumns yet.  I can look into it
> after we help Alina’s team finish their goal unless someone else beats me
> to it.  They are using ADG heavily, but I haven’t seen groupedColumns, just
> regular columns.
>
>
>
> -Alex
>
>
>
> *From: *Takeshita Shoichiro 
> *Reply-To: *"users@royale.apache.org" 
> *Date: *Tuesday, November 26, 2019 at 5:33 AM
> *To: *"users@royale.apache.org" 
> *Subject: *AdvancedDataGrid Emulation
>
>
>
>
>
> Hi,
>
>
>
>
>
>
>
> Is AdvancedDataGrid emulation supported by Royale? The compiled result of
> the following generates a frame but no contents.
>
>
>
>
>
>
>
> Do I need to do change other things other than name spaces?
>
>
>
>
>
>
>
> Thanks for your advice.
>
>
>
>
>
>
>
> S. Takeshita
>
>
>
>
> 
>
>
>
>
>
>
>
> 
>
>
>
> http://ns.adobe.com/mxml/2009
> <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.adobe.com%2Fmxml%2F2009=02%7C01%7Caharui%40adobe.com%7Ce094ca64efd54cc8129608d772752ebc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637103719937698139=b9a5V%2FPlWPui5mqTQ%2FTyDI9uUWa7TQ9eqfz8g%2B5qmXM%3D=0>
> "
>
>
>
>xmlns:mx="library://ns.apache.org/royale/mx
> <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.apache.org%2Froyale%2Fmx=02%7C01%7Caharui%40adobe.com%7Ce094ca64efd54cc8129608d772752ebc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637103719937708134=EsGwSYWQgKgaYjEl9AoSJRqUi8eqnES3mE%2FMqYRfc9g%3D=0>
> "
>
>
>
>xmlns:s="library://ns.apache.org/royale/spark
> <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.apache.org%2Froyale%2Fspark=02%7C01%7Caharui%40adobe.com%7Ce094ca64efd54cc8129608d772752ebc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637103719937718132=wKRGheo3JMJK6V8cT8uX602Ddxgr9cBcGtMvefxj8P8%3D=0>
> "
>
>
>
>width="550" height="340">
>
>
>
>
>
> 
>
>
>
> 
>
>
>
> 
>
>
>
>
>
>
>
> 
>
>
>  dataProvider="{dpFlat}"
>
>
>
>  width="100%" height="100%">
>
>
>
> 
>
>
>
> 
>
>
>
>     
>
>
>
> 
>
>
>headerText="Territory Rep"/>
>
>
>
> 
>
>
>
> 
>
>
>
> 
>
>
>
> 
>
>
>
>     
>
>
>
> 
>
>
>
> 
>
>
>
>
>
>
>
>
> --
>
> Shoichiro Takeshita
> 武下 祥一郎
>
> --
>
> Shoichiro Takeshita
> 武下 祥一郎
>
>
>
>
>
>
> --
>
> Shoichiro Takeshita
> 武下 祥一郎
>
>
>
>
> --
>
> Shoichiro Takeshita
> 武下 祥一郎
>
> *From: *Takeshita Shoichiro 
> *Sent: *Monday, December 2, 2019 1:44 PM
> *To: *users@royale.apache.org
> *Subject: *Re: AdvancedDataGrid Emulation
>
>
>
> Yishay, is there any progress?  A

Re: AdvancedDataGrid Emulation

2019-12-02 Thread Takeshita Shoichiro
Yishay, is there any progress?  Appreciate your help.

https://github.com/apache/royale-asjs/issues/593

On Wed, Nov 27, 2019 at 9:03 PM Takeshita Shoichiro 
wrote:

> Yishay, thanks.
>
> I opened issue #593.
>
> S. Takeshita
>
> On Wed, Nov 27, 2019 at 7:44 PM Yishay Weiss 
> wrote:
>
>> Hi Takeshita,
>>
>>
>>
>> Please open an issue on GitHub with a test case.
>>
>>
>>
>> I’ll work on it tomorrow.
>>
>>
>>
>> Thanks,
>>
>> Yishay
>>
>>
>>
>> *From: *Takeshita Shoichiro 
>> *Sent: *Wednesday, November 27, 2019 2:22 AM
>> *To: *users@royale.apache.org
>> *Subject: *Re: AdvancedDataGrid Emulation
>>
>>
>>
>> Alex, thanks for help.
>>
>>
>>
>> groupedColumns is one of the important components for our Flex
>> application.  I want to make it work for proposal presentation.
>>
>>
>>
>> 2019年11月27日(水) 0:21 Alex Harui :
>>
>> I don’t think anyone has tried groupedColumns yet.  I can look into it
>> after we help Alina’s team finish their goal unless someone else beats me
>> to it.  They are using ADG heavily, but I haven’t seen groupedColumns, just
>> regular columns.
>>
>>
>>
>> -Alex
>>
>>
>>
>> *From: *Takeshita Shoichiro 
>> *Reply-To: *"users@royale.apache.org" 
>> *Date: *Tuesday, November 26, 2019 at 5:33 AM
>> *To: *"users@royale.apache.org" 
>> *Subject: *AdvancedDataGrid Emulation
>>
>>
>>
>>
>>
>> Hi,
>>
>>
>>
>>
>>
>>
>>
>> Is AdvancedDataGrid emulation supported by Royale? The compiled result of
>> the following generates a frame but no contents.
>>
>>
>>
>>
>>
>>
>>
>> Do I need to do change other things other than name spaces?
>>
>>
>>
>>
>>
>>
>>
>> Thanks for your advice.
>>
>>
>>
>>
>>
>>
>>
>> S. Takeshita
>>
>>
>>
>>
>> 
>>
>>
>>
>>
>>
>>
>>
>> 
>>
>>
>>
>> http://ns.adobe.com/mxml/2009
>> <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.adobe.com%2Fmxml%2F2009=02%7C01%7Caharui%40adobe.com%7Ce094ca64efd54cc8129608d772752ebc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637103719937698139=b9a5V%2FPlWPui5mqTQ%2FTyDI9uUWa7TQ9eqfz8g%2B5qmXM%3D=0>
>> "
>>
>>
>>
>>xmlns:mx="library://ns.apache.org/royale/mx
>> <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.apache.org%2Froyale%2Fmx=02%7C01%7Caharui%40adobe.com%7Ce094ca64efd54cc8129608d772752ebc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637103719937708134=EsGwSYWQgKgaYjEl9AoSJRqUi8eqnES3mE%2FMqYRfc9g%3D=0>
>> "
>>
>>
>>
>>xmlns:s="library://ns.apache.org/royale/spark
>> <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.apache.org%2Froyale%2Fspark=02%7C01%7Caharui%40adobe.com%7Ce094ca64efd54cc8129608d772752ebc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637103719937718132=wKRGheo3JMJK6V8cT8uX602Ddxgr9cBcGtMvefxj8P8%3D=0>
>> "
>>
>>
>>
>>width="550" height="340">
>>
>>
>>
>>
>>
>> 
>>
>>
>>
>> 
>>
>>
>>
>> 
>>
>>
>>
>>
>>
>>
>>
>> >
>>
>>
>>  dataProvider="{dpFlat}"
>>
>>
>>
>>  width="100%" height="100%">
>>
>>
>>
>> 
>>
>>
>>
>> 
>>
>>
>>
>> 
>>
>>
>>
>> >
>>
>>
>>headerText="Territory Rep"/>
>>
>>
>>
>> 
>>
>>
>>
>> 
>>
>>
>>
>> 
>>
>>
>>
>> 
>>
>>
>>
>> 
>>
>>
>>
>> 
>>
>>
>>
>> 
>>
>>
>>
>>
>>
>>
>>
>>
>> --
>>
>> Shoichiro Takeshita
>> 武下 祥一郎
>>
>> --
>>
>> Shoichiro Takeshita
>> 武下 祥一郎
>>
>>
>>
>
>
> --
> Shoichiro Takeshita
> 武下 祥一郎
>


-- 
Shoichiro Takeshita
武下 祥一郎


Re: AdvancedDataGrid Emulation

2019-11-27 Thread Takeshita Shoichiro
Yishay, thanks.

I opened issue #593.

S. Takeshita

On Wed, Nov 27, 2019 at 7:44 PM Yishay Weiss  wrote:

> Hi Takeshita,
>
>
>
> Please open an issue on GitHub with a test case.
>
>
>
> I’ll work on it tomorrow.
>
>
>
> Thanks,
>
> Yishay
>
>
>
> *From: *Takeshita Shoichiro 
> *Sent: *Wednesday, November 27, 2019 2:22 AM
> *To: *users@royale.apache.org
> *Subject: *Re: AdvancedDataGrid Emulation
>
>
>
> Alex, thanks for help.
>
>
>
> groupedColumns is one of the important components for our Flex
> application.  I want to make it work for proposal presentation.
>
>
>
> 2019年11月27日(水) 0:21 Alex Harui :
>
> I don’t think anyone has tried groupedColumns yet.  I can look into it
> after we help Alina’s team finish their goal unless someone else beats me
> to it.  They are using ADG heavily, but I haven’t seen groupedColumns, just
> regular columns.
>
>
>
> -Alex
>
>
>
> *From: *Takeshita Shoichiro 
> *Reply-To: *"users@royale.apache.org" 
> *Date: *Tuesday, November 26, 2019 at 5:33 AM
> *To: *"users@royale.apache.org" 
> *Subject: *AdvancedDataGrid Emulation
>
>
>
>
>
> Hi,
>
>
>
>
>
>
>
> Is AdvancedDataGrid emulation supported by Royale? The compiled result of
> the following generates a frame but no contents.
>
>
>
>
>
>
>
> Do I need to do change other things other than name spaces?
>
>
>
>
>
>
>
> Thanks for your advice.
>
>
>
>
>
>
>
> S. Takeshita
>
>
>
>
> 
>
>
>
>
>
>
>
> 
>
>
>
> http://ns.adobe.com/mxml/2009
> <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.adobe.com%2Fmxml%2F2009=02%7C01%7Caharui%40adobe.com%7Ce094ca64efd54cc8129608d772752ebc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637103719937698139=b9a5V%2FPlWPui5mqTQ%2FTyDI9uUWa7TQ9eqfz8g%2B5qmXM%3D=0>
> "
>
>
>
>xmlns:mx="library://ns.apache.org/royale/mx
> <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.apache.org%2Froyale%2Fmx=02%7C01%7Caharui%40adobe.com%7Ce094ca64efd54cc8129608d772752ebc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637103719937708134=EsGwSYWQgKgaYjEl9AoSJRqUi8eqnES3mE%2FMqYRfc9g%3D=0>
> "
>
>
>
>xmlns:s="library://ns.apache.org/royale/spark
> <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.apache.org%2Froyale%2Fspark=02%7C01%7Caharui%40adobe.com%7Ce094ca64efd54cc8129608d772752ebc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637103719937718132=wKRGheo3JMJK6V8cT8uX602Ddxgr9cBcGtMvefxj8P8%3D=0>
> "
>
>
>
>width="550" height="340">
>
>
>
>
>
> 
>
>
>
> 
>
>
>
> 
>
>
>
>
>
>
>
> 
>
>
>  dataProvider="{dpFlat}"
>
>
>
>  width="100%" height="100%">
>
>
>
> 
>
>
>
> 
>
>
>
> 
>
>
>
> 
>
>
>headerText="Territory Rep"/>
>
>
>
> 
>
>
>
> 
>
>
>
> 
>
>
>
> 
>
>
>
> 
>
>
>
> 
>
>
>
> 
>
>
>
>
>
>
>
>
> --
>
> Shoichiro Takeshita
> 武下 祥一郎
>
> --
>
> Shoichiro Takeshita
> 武下 祥一郎
>
>
>


-- 
Shoichiro Takeshita
武下 祥一郎


Re: AdvancedDataGrid Emulation

2019-11-26 Thread Takeshita Shoichiro
Alex, thanks for help.

groupedColumns is one of the important components for our Flex
application.  I want to make it work for proposal presentation.

2019年11月27日(水) 0:21 Alex Harui :

> I don’t think anyone has tried groupedColumns yet.  I can look into it
> after we help Alina’s team finish their goal unless someone else beats me
> to it.  They are using ADG heavily, but I haven’t seen groupedColumns, just
> regular columns.
>
>
>
> -Alex
>
>
>
> *From: *Takeshita Shoichiro 
> *Reply-To: *"users@royale.apache.org" 
> *Date: *Tuesday, November 26, 2019 at 5:33 AM
> *To: *"users@royale.apache.org" 
> *Subject: *AdvancedDataGrid Emulation
>
>
>
>
>
> Hi,
>
>
>
>
>
>
>
> Is AdvancedDataGrid emulation supported by Royale? The compiled result of
> the following generates a frame but no contents.
>
>
>
>
>
>
>
> Do I need to do change other things other than name spaces?
>
>
>
>
>
>
>
> Thanks for your advice.
>
>
>
>
>
>
>
> S. Takeshita
>
>
>
>
> 
>
>
>
>
>
>
>
> 
>
>
>
> http://ns.adobe.com/mxml/2009
> <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.adobe.com%2Fmxml%2F2009=02%7C01%7Caharui%40adobe.com%7Ce094ca64efd54cc8129608d772752ebc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637103719937698139=b9a5V%2FPlWPui5mqTQ%2FTyDI9uUWa7TQ9eqfz8g%2B5qmXM%3D=0>
> "
>
>
>
>xmlns:mx="library://ns.apache.org/royale/mx
> <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.apache.org%2Froyale%2Fmx=02%7C01%7Caharui%40adobe.com%7Ce094ca64efd54cc8129608d772752ebc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637103719937708134=EsGwSYWQgKgaYjEl9AoSJRqUi8eqnES3mE%2FMqYRfc9g%3D=0>
> "
>
>
>
>xmlns:s="library://ns.apache.org/royale/spark
> <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.apache.org%2Froyale%2Fspark=02%7C01%7Caharui%40adobe.com%7Ce094ca64efd54cc8129608d772752ebc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637103719937718132=wKRGheo3JMJK6V8cT8uX602Ddxgr9cBcGtMvefxj8P8%3D=0>
> "
>
>
>
>width="550" height="340">
>
>
>
>
>
> 
>
>
>
> 
>
>
>
> 
>
>
>
>
>
>
>
> 
>
>
>  dataProvider="{dpFlat}"
>
>
>
>  width="100%" height="100%">
>
>
>
> 
>
>
>
> 
>
>
>
> 
>
>
>
> 
>
>
>headerText="Territory Rep"/>
>
>
>
> 
>
>
>
> 
>
>
>
> 
>
>
>
> 
>
>
>
> 
>
>
>
> 
>
>
>
> 
>
>
>
>
>
>
>
>
> --
>
> Shoichiro Takeshita
> 武下 祥一郎
>
-- 
Shoichiro Takeshita
武下 祥一郎


Re: DataGridExample build with VS Code

2019-11-20 Thread Takeshita Shoichiro
Carlos, I will do it.  Thanks.

2019年11月20日(水) 18:48 Carlos Rovira :

> Hi Takeshita,
> many thanks for reporting.
> Can you submit this change as a PR? I can merge it
> thanks
>
> El mar., 19 nov. 2019 a las 22:45, Takeshita Shoichiro ()
> escribió:
>
>> Hi, the problem is solved.  In addition to copySourcePathAssets,
>> source-path is required to point the image folder.
>>
>> Corrected asconfig.json:
>>
>> {
>> "config": "royale",
>> "compilerOptions": {
>> "debug": true,
>> "targets": ["JSRoyale"],
>> "source-map": true,
>> "source-path": [
>> "src/main/royale",
>> "src/main/resources"
>> ]
>> },
>> "additionalOptions":
>> "-remove-circulars -js-output-optimization=skipAsCoercions",
>> "copySourcePathAssets": true,
>> "files":
>> [
>> "src/main/royale/DataGridExample.mxml"
>> ]
>> }
>>
>> On Sat, Nov 16, 2019 at 1:25 PM Takeshita Shoichiro 
>> wrote:
>>
>>> Hi, I opened an issue for this.  Thanks.
>>>
>>> https://github.com/BowlerHatLLC/vscode-as3mxml/issues/427
>>>
>>> On Fri, Nov 15, 2019 at 5:39 PM Carlos Rovira 
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> I suppose VSCode fill have some way to copy a folder, maybe as a task
>>>> that could be launched as pre step of a build or something like that. Or
>>>> maybe a VSCode plugin exists for that, don't know. That could be solutions
>>>> if VSCode AS3 can't do it itself, or Josh decide is not a task to be
>>>> implemented there.
>>>>
>>>> just my 2...
>>>>
>>>>
>>>>
>>>> El vie., 15 nov. 2019 a las 6:09, Takeshita Shoichiro (<
>>>> jl03...@gmail.com>) escribió:
>>>>
>>>>> Alex, thanks for your explanation.  As suggested by Carlos, I will ask
>>>>> this on Github VS Code.
>>>>>
>>>>> 2019年11月15日(金) 14:05 Alex Harui :
>>>>>
>>>>>> Hi T-San,
>>>>>>
>>>>>>
>>>>>>
>>>>>> The folder structure for examples/royale/DataGridExample are designed
>>>>>> to support Maven typical folders.  The Ant and Maven scripts that build 
>>>>>> the
>>>>>> example have to copy the assets because the src/main/resources folder is
>>>>>> not one the folders the publisher module copies automatically.
>>>>>>
>>>>>>
>>>>>>
>>>>>> So, if you are using VSCode with that folder structure, the compiler
>>>>>> will not copy the assets.  I do not use VSCode so I don’t know if VSCode
>>>>>> can be taught to automatically copy those folders or not.
>>>>>>
>>>>>>
>>>>>>
>>>>>> HTH,
>>>>>>
>>>>>> -Alex
>>>>>>
>>>>>>
>>>>>>
>>>>>> *From: *Takeshita Shoichiro 
>>>>>> *Reply-To: *"users@royale.apache.org" 
>>>>>> *Date: *Thursday, November 14, 2019 at 4:36 PM
>>>>>> *To: *"users@royale.apache.org" 
>>>>>> *Subject: *Re: DataGridExample build with VS Code
>>>>>>
>>>>>>
>>>>>>
>>>>>> Alex and Harbs,
>>>>>>
>>>>>>
>>>>>>
>>>>>> I copied the folder structure from the Apache Royale distribution.
>>>>>>
>>>>>>
>>>>>>
>>>>>> ¥royale-asjs¥examples¥royale¥DataGridExample
>>>>>>
>>>>>>
>>>>>>
>>>>>> It contains ¥src¥main¥royale
>>>>>>
>>>>>> And ¥src¥main¥resources¥assets.
>>>>>>
>>>>>>
>>>>>>
>>>>>> Under assets folder, jpg files exist.
>>>>>>
>>>>>>
>>>>>>
>>>>>> I used the provided asconfig.json to build using  VS code with MXML
>>>>>> extension.
>>>>>>
>>>>>>
>>>>>>
>>>>>> The pr

Re: DataGridExample build with VS Code

2019-11-19 Thread Takeshita Shoichiro
Hi, the problem is solved.  In addition to copySourcePathAssets,
source-path is required to point the image folder.

Corrected asconfig.json:

{
"config": "royale",
"compilerOptions": {
"debug": true,
"targets": ["JSRoyale"],
"source-map": true,
"source-path": [
"src/main/royale",
"src/main/resources"
]
},
"additionalOptions":
"-remove-circulars -js-output-optimization=skipAsCoercions",
"copySourcePathAssets": true,
"files":
[
"src/main/royale/DataGridExample.mxml"
]
}

On Sat, Nov 16, 2019 at 1:25 PM Takeshita Shoichiro 
wrote:

> Hi, I opened an issue for this.  Thanks.
>
> https://github.com/BowlerHatLLC/vscode-as3mxml/issues/427
>
> On Fri, Nov 15, 2019 at 5:39 PM Carlos Rovira 
> wrote:
>
>> Hi,
>>
>> I suppose VSCode fill have some way to copy a folder, maybe as a task
>> that could be launched as pre step of a build or something like that. Or
>> maybe a VSCode plugin exists for that, don't know. That could be solutions
>> if VSCode AS3 can't do it itself, or Josh decide is not a task to be
>> implemented there.
>>
>> just my 2...
>>
>>
>>
>> El vie., 15 nov. 2019 a las 6:09, Takeshita Shoichiro ()
>> escribió:
>>
>>> Alex, thanks for your explanation.  As suggested by Carlos, I will ask
>>> this on Github VS Code.
>>>
>>> 2019年11月15日(金) 14:05 Alex Harui :
>>>
>>>> Hi T-San,
>>>>
>>>>
>>>>
>>>> The folder structure for examples/royale/DataGridExample are designed
>>>> to support Maven typical folders.  The Ant and Maven scripts that build the
>>>> example have to copy the assets because the src/main/resources folder is
>>>> not one the folders the publisher module copies automatically.
>>>>
>>>>
>>>>
>>>> So, if you are using VSCode with that folder structure, the compiler
>>>> will not copy the assets.  I do not use VSCode so I don’t know if VSCode
>>>> can be taught to automatically copy those folders or not.
>>>>
>>>>
>>>>
>>>> HTH,
>>>>
>>>> -Alex
>>>>
>>>>
>>>>
>>>> *From: *Takeshita Shoichiro 
>>>> *Reply-To: *"users@royale.apache.org" 
>>>> *Date: *Thursday, November 14, 2019 at 4:36 PM
>>>> *To: *"users@royale.apache.org" 
>>>> *Subject: *Re: DataGridExample build with VS Code
>>>>
>>>>
>>>>
>>>> Alex and Harbs,
>>>>
>>>>
>>>>
>>>> I copied the folder structure from the Apache Royale distribution.
>>>>
>>>>
>>>>
>>>> ¥royale-asjs¥examples¥royale¥DataGridExample
>>>>
>>>>
>>>>
>>>> It contains ¥src¥main¥royale
>>>>
>>>> And ¥src¥main¥resources¥assets.
>>>>
>>>>
>>>>
>>>> Under assets folder, jpg files exist.
>>>>
>>>>
>>>>
>>>> I used the provided asconfig.json to build using  VS code with MXML
>>>> extension.
>>>>
>>>>
>>>>
>>>> The problem is ¥resources¥assets folder is not copied into the output
>>>> folder.  If I move assets folder under ¥src¥royale¥main, assets folder is
>>>> copied into the output folder.
>>>>
>>>>
>>>>
>>>> Thanks.
>>>>
>>>>
>>>>
>>>> 2019年11月15日(金) 6:53 Alex Harui :
>>>>
>>>> IIRC, src/main and src/test are maven folder conventions.
>>>>
>>>>
>>>>
>>>> -Alex
>>>>
>>>>
>>>>
>>>> *From: *Harbs 
>>>> *Reply-To: *"users@royale.apache.org" 
>>>> *Date: *Thursday, November 14, 2019 at 1:51 PM
>>>> *To: *"users@royale.apache.org" 
>>>> *Subject: *Re: DataGridExample build with VS Code
>>>>
>>>>
>>>>
>>>> Why are you using main\royale at all?
>>>>
>>>>
>>>>
>>>> All your folders can reside directly in src.
>>>>
>>>>
>>>>
>>>> Harbs
>>>>
>>>> On Nov 14, 2019, at 4:11 PM, Takeshita Shoichiro 
&g

Re: DataGridExample build with VS Code

2019-11-15 Thread Takeshita Shoichiro
Hi, I opened an issue for this.  Thanks.

https://github.com/BowlerHatLLC/vscode-as3mxml/issues/427

On Fri, Nov 15, 2019 at 5:39 PM Carlos Rovira 
wrote:

> Hi,
>
> I suppose VSCode fill have some way to copy a folder, maybe as a task that
> could be launched as pre step of a build or something like that. Or maybe a
> VSCode plugin exists for that, don't know. That could be solutions if
> VSCode AS3 can't do it itself, or Josh decide is not a task to be
> implemented there.
>
> just my 2...
>
>
>
> El vie., 15 nov. 2019 a las 6:09, Takeshita Shoichiro ()
> escribió:
>
>> Alex, thanks for your explanation.  As suggested by Carlos, I will ask
>> this on Github VS Code.
>>
>> 2019年11月15日(金) 14:05 Alex Harui :
>>
>>> Hi T-San,
>>>
>>>
>>>
>>> The folder structure for examples/royale/DataGridExample are designed to
>>> support Maven typical folders.  The Ant and Maven scripts that build the
>>> example have to copy the assets because the src/main/resources folder is
>>> not one the folders the publisher module copies automatically.
>>>
>>>
>>>
>>> So, if you are using VSCode with that folder structure, the compiler
>>> will not copy the assets.  I do not use VSCode so I don’t know if VSCode
>>> can be taught to automatically copy those folders or not.
>>>
>>>
>>>
>>> HTH,
>>>
>>> -Alex
>>>
>>>
>>>
>>> *From: *Takeshita Shoichiro 
>>> *Reply-To: *"users@royale.apache.org" 
>>> *Date: *Thursday, November 14, 2019 at 4:36 PM
>>> *To: *"users@royale.apache.org" 
>>> *Subject: *Re: DataGridExample build with VS Code
>>>
>>>
>>>
>>> Alex and Harbs,
>>>
>>>
>>>
>>> I copied the folder structure from the Apache Royale distribution.
>>>
>>>
>>>
>>> ¥royale-asjs¥examples¥royale¥DataGridExample
>>>
>>>
>>>
>>> It contains ¥src¥main¥royale
>>>
>>> And ¥src¥main¥resources¥assets.
>>>
>>>
>>>
>>> Under assets folder, jpg files exist.
>>>
>>>
>>>
>>> I used the provided asconfig.json to build using  VS code with MXML
>>> extension.
>>>
>>>
>>>
>>> The problem is ¥resources¥assets folder is not copied into the output
>>> folder.  If I move assets folder under ¥src¥royale¥main, assets folder is
>>> copied into the output folder.
>>>
>>>
>>>
>>> Thanks.
>>>
>>>
>>>
>>> 2019年11月15日(金) 6:53 Alex Harui :
>>>
>>> IIRC, src/main and src/test are maven folder conventions.
>>>
>>>
>>>
>>> -Alex
>>>
>>>
>>>
>>> *From: *Harbs 
>>> *Reply-To: *"users@royale.apache.org" 
>>> *Date: *Thursday, November 14, 2019 at 1:51 PM
>>> *To: *"users@royale.apache.org" 
>>> *Subject: *Re: DataGridExample build with VS Code
>>>
>>>
>>>
>>> Why are you using main\royale at all?
>>>
>>>
>>>
>>> All your folders can reside directly in src.
>>>
>>>
>>>
>>> Harbs
>>>
>>> On Nov 14, 2019, at 4:11 PM, Takeshita Shoichiro 
>>> wrote:
>>>
>>>
>>>
>>> Carlos, thanks.  I've already tried it.  Unfortunately, not work.
>>>
>>>
>>>
>>> If I move assets folder under \royale, it worked. (Images are shown)
>>>
>>> However, moving \resources\royale under \royale does not work. (Images
>>> are not shown)
>>>
>>>
>>>
>>> \src\main\royale
>>> |
>>> |-assets
>>> |-models
>>> |-products
>>> |-DataGridExample.mxml
>>> |-MyInitialView.mxml
>>>
>>>
>>>
>>> On Thu, Nov 14, 2019 at 11:00 PM Carlos Rovira 
>>> wrote:
>>>
>>> Hi Takeshita,
>>>
>>>
>>>
>>> maybe this could be what you are looking for? (I'm not using it so don't
>>> know if it will work) :
>>>
>>>
>>>
>>>
>>> https://github.com/BowlerHatLLC/vscode-as3mxml/wiki/asconfig.json#copysourcepathassets
>>> <https://nam04.safelinks.protection.outlook.com/?url=https%3A

Re: DataGridExample build with VS Code

2019-11-14 Thread Takeshita Shoichiro
Alex, thanks for your explanation.  As suggested by Carlos, I will ask this
on Github VS Code.

2019年11月15日(金) 14:05 Alex Harui :

> Hi T-San,
>
>
>
> The folder structure for examples/royale/DataGridExample are designed to
> support Maven typical folders.  The Ant and Maven scripts that build the
> example have to copy the assets because the src/main/resources folder is
> not one the folders the publisher module copies automatically.
>
>
>
> So, if you are using VSCode with that folder structure, the compiler will
> not copy the assets.  I do not use VSCode so I don’t know if VSCode can be
> taught to automatically copy those folders or not.
>
>
>
> HTH,
>
> -Alex
>
>
>
> *From: *Takeshita Shoichiro 
> *Reply-To: *"users@royale.apache.org" 
> *Date: *Thursday, November 14, 2019 at 4:36 PM
> *To: *"users@royale.apache.org" 
> *Subject: *Re: DataGridExample build with VS Code
>
>
>
> Alex and Harbs,
>
>
>
> I copied the folder structure from the Apache Royale distribution.
>
>
>
> ¥royale-asjs¥examples¥royale¥DataGridExample
>
>
>
> It contains ¥src¥main¥royale
>
> And ¥src¥main¥resources¥assets.
>
>
>
> Under assets folder, jpg files exist.
>
>
>
> I used the provided asconfig.json to build using  VS code with MXML
> extension.
>
>
>
> The problem is ¥resources¥assets folder is not copied into the output
> folder.  If I move assets folder under ¥src¥royale¥main, assets folder is
> copied into the output folder.
>
>
>
> Thanks.
>
>
>
> 2019年11月15日(金) 6:53 Alex Harui :
>
> IIRC, src/main and src/test are maven folder conventions.
>
>
>
> -Alex
>
>
>
> *From: *Harbs 
> *Reply-To: *"users@royale.apache.org" 
> *Date: *Thursday, November 14, 2019 at 1:51 PM
> *To: *"users@royale.apache.org" 
> *Subject: *Re: DataGridExample build with VS Code
>
>
>
> Why are you using main\royale at all?
>
>
>
> All your folders can reside directly in src.
>
>
>
> Harbs
>
> On Nov 14, 2019, at 4:11 PM, Takeshita Shoichiro 
> wrote:
>
>
>
> Carlos, thanks.  I've already tried it.  Unfortunately, not work.
>
>
>
> If I move assets folder under \royale, it worked. (Images are shown)
>
> However, moving \resources\royale under \royale does not work. (Images are
> not shown)
>
>
>
> \src\main\royale
> |
> |-assets
> |-models
> |-products
> |-DataGridExample.mxml
> |-MyInitialView.mxml
>
>
>
> On Thu, Nov 14, 2019 at 11:00 PM Carlos Rovira 
> wrote:
>
> Hi Takeshita,
>
>
>
> maybe this could be what you are looking for? (I'm not using it so don't
> know if it will work) :
>
>
>
>
> https://github.com/BowlerHatLLC/vscode-as3mxml/wiki/asconfig.json#copysourcepathassets
> <https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FBowlerHatLLC%2Fvscode-as3mxml%2Fwiki%2Fasconfig.json%23copysourcepathassets=02%7C01%7Caharui%40adobe.com%7C17b50b2b31da43bb23ac08d76963d2f2%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637093749772909921=ELefXGSCXaVGxHF%2B66G4exKGDp9u%2Bg07wOVFNxup6dQ%3D=0>
>
>
>
> HTH
>
>
>
> Carlos
>
>
>
>
>
> El jue., 14 nov. 2019 a las 13:54, Takeshita Shoichiro ()
> escribió:
>
> Carlos and Piotr, thanks.
>
> I understand mvn and moonshine both have the configuration to copy
> \resources\assets folder.
>
> I think the similar configuration is put in asconfig.json.  I tried to
> find the information but with no success.
>
>
> 
> mvn:
> \apache-royale-0.9.7-bin-js\royale-asjs\examples\pom.xml
>
> 
> 
>   org.apache.maven.plugins
>   maven-resources-plugin
>   3.1.0
>   
> 
>   copy-resources-debug
>   validate
>   
> copy-resources
>   
>   
>
> ${compiler.output-dir-debug}
> 
>   
> src/main/resources
> true
>   
> 
>   
> 
>
> 
>
> moonshine:
>
> C:\apache-royale-0.9.7-bin-js\royale-asjs\examples\royale\DataGridExample\DataGridExample.as3proj
>
>   
> 
>   
>
>
>
> On Thu, Nov 14, 2019 at 4:57 AM Piotr Zarzycki 
> wrote:
>
> Just FYI: Moonshine is copying resources to the output if they are poin

Re: DataGridExample build with VS Code

2019-11-14 Thread Takeshita Shoichiro
Alex and Harbs,

I copied the folder structure from the Apache Royale distribution.

¥royale-asjs¥examples¥royale¥DataGridExample

It contains ¥src¥main¥royale
And ¥src¥main¥resources¥assets.

Under assets folder, jpg files exist.

I used the provided asconfig.json to build using  VS code with MXML
extension.

The problem is ¥resources¥assets folder is not copied into the output
folder.  If I move assets folder under ¥src¥royale¥main, assets folder is
copied into the output folder.

Thanks.

2019年11月15日(金) 6:53 Alex Harui :

> IIRC, src/main and src/test are maven folder conventions.
>
>
>
> -Alex
>
>
>
> *From: *Harbs 
> *Reply-To: *"users@royale.apache.org" 
> *Date: *Thursday, November 14, 2019 at 1:51 PM
> *To: *"users@royale.apache.org" 
> *Subject: *Re: DataGridExample build with VS Code
>
>
>
> Why are you using main\royale at all?
>
>
>
> All your folders can reside directly in src.
>
>
>
> Harbs
>
> On Nov 14, 2019, at 4:11 PM, Takeshita Shoichiro 
> wrote:
>
>
>
> Carlos, thanks.  I've already tried it.  Unfortunately, not work.
>
>
>
> If I move assets folder under \royale, it worked. (Images are shown)
>
> However, moving \resources\royale under \royale does not work. (Images are
> not shown)
>
>
>
> \src\main\royale
> |
> |-assets
> |-models
> |-products
> |-DataGridExample.mxml
> |-MyInitialView.mxml
>
>
>
> On Thu, Nov 14, 2019 at 11:00 PM Carlos Rovira 
> wrote:
>
> Hi Takeshita,
>
>
>
> maybe this could be what you are looking for? (I'm not using it so don't
> know if it will work) :
>
>
>
>
> https://github.com/BowlerHatLLC/vscode-as3mxml/wiki/asconfig.json#copysourcepathassets
> <https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FBowlerHatLLC%2Fvscode-as3mxml%2Fwiki%2Fasconfig.json%23copysourcepathassets=02%7C01%7Caharui%40adobe.com%7C979ef92ed30c4c46e8b708d7694cc636%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637093650777673828=2JUv67hWOtNbu81isT0%2F1bKpUXUtk3pDT40FxYdkURw%3D=0>
>
>
>
> HTH
>
>
>
> Carlos
>
>
>
>
>
> El jue., 14 nov. 2019 a las 13:54, Takeshita Shoichiro ()
> escribió:
>
> Carlos and Piotr, thanks.
>
> I understand mvn and moonshine both have the configuration to copy
> \resources\assets folder.
>
> I think the similar configuration is put in asconfig.json.  I tried to
> find the information but with no success.
>
>
> 
> mvn:
> \apache-royale-0.9.7-bin-js\royale-asjs\examples\pom.xml
>
> 
> 
>   org.apache.maven.plugins
>   maven-resources-plugin
>   3.1.0
>   
> 
>   copy-resources-debug
>   validate
>   
> copy-resources
>   
>   
>
> ${compiler.output-dir-debug}
> 
>   
> src/main/resources
> true
>   
> 
>   
> 
>
> 
>
> moonshine:
>
> C:\apache-royale-0.9.7-bin-js\royale-asjs\examples\royale\DataGridExample\DataGridExample.as3proj
>
>   
> 
>   
>
>
>
> On Thu, Nov 14, 2019 at 4:57 AM Piotr Zarzycki 
> wrote:
>
> Just FYI: Moonshine is copying resources to the output if they are pointed
> out in IDE. We have handled that on IDE sight.
>
>
>
> śr., 13 lis 2019 o 20:09 Carlos Rovira 
> napisał(a):
>
> Hi,
>
>
>
> in Maven we have setup this kind of copy. So this is external process not
> considered by the compiler, what seems ok, since copying that files does
> not seems a competence of a compiler. Maybe that should be raised in the
> IDEs issues, in this case in VSCode issues in GitHub so Josh could express
> what he thinks his extension should do about this.
>
>
>
>
>
>
>
> El mar., 12 nov. 2019 a las 13:55, Takeshita Shoichiro ()
> escribió:
>
> I tried to build the sample project using VS Code.
>
>
>
> This one.
>
> C:\apache-royale-0.9.7-bin-js\royale-asjs\examples\royale\DataGridExample
>
>
>
> I copied asconfig.json and src holder in a new folder; then build.
>
>
>
> The problem is that the image folder (resource\assets) is not copied into
> bin\js-debug folder.
>
>
>
> In case using mvn clean install, the image folder is copied into the
> target folder.
>
>
>
> Is this a bug or am I missing somethin

Re: DataGridExample build with VS Code

2019-11-14 Thread Takeshita Shoichiro
Carlos, thanks.  I've already tried it.  Unfortunately, not work.

If I move assets folder under \royale, it worked. (Images are shown)
However, moving \resources\royale under \royale does not work. (Images are
not shown)

\src\main\royale
|
|-assets
|-models
|-products
|-DataGridExample.mxml
|-MyInitialView.mxml

On Thu, Nov 14, 2019 at 11:00 PM Carlos Rovira 
wrote:

> Hi Takeshita,
>
> maybe this could be what you are looking for? (I'm not using it so don't
> know if it will work) :
>
>
> https://github.com/BowlerHatLLC/vscode-as3mxml/wiki/asconfig.json#copysourcepathassets
>
> HTH
>
> Carlos
>
>
> El jue., 14 nov. 2019 a las 13:54, Takeshita Shoichiro ()
> escribió:
>
>> Carlos and Piotr, thanks.
>>
>> I understand mvn and moonshine both have the configuration to copy
>> \resources\assets folder.
>>
>> I think the similar configuration is put in asconfig.json.  I tried to
>> find the information but with no success.
>>
>>
>> 
>> mvn:
>> \apache-royale-0.9.7-bin-js\royale-asjs\examples\pom.xml
>>
>> 
>> 
>>   org.apache.maven.plugins
>>   maven-resources-plugin
>>   3.1.0
>>   
>> 
>>   copy-resources-debug
>>   validate
>>   
>> copy-resources
>>   
>>   
>>
>> ${compiler.output-dir-debug}
>> 
>>   
>> src/main/resources
>> true
>>   
>> 
>>   
>> 
>>
>> 
>>
>> moonshine:
>>
>> C:\apache-royale-0.9.7-bin-js\royale-asjs\examples\royale\DataGridExample\DataGridExample.as3proj
>>
>>   
>> 
>>   
>>
>> On Thu, Nov 14, 2019 at 4:57 AM Piotr Zarzycki 
>> wrote:
>>
>>> Just FYI: Moonshine is copying resources to the output if they are
>>> pointed out in IDE. We have handled that on IDE sight.
>>>
>>> śr., 13 lis 2019 o 20:09 Carlos Rovira 
>>> napisał(a):
>>>
>>>> Hi,
>>>>
>>>> in Maven we have setup this kind of copy. So this is external process
>>>> not considered by the compiler, what seems ok, since copying that files
>>>> does not seems a competence of a compiler. Maybe that should be raised in
>>>> the IDEs issues, in this case in VSCode issues in GitHub so Josh could
>>>> express what he thinks his extension should do about this.
>>>>
>>>>
>>>>
>>>> El mar., 12 nov. 2019 a las 13:55, Takeshita Shoichiro (<
>>>> jl03...@gmail.com>) escribió:
>>>>
>>>>> I tried to build the sample project using VS Code.
>>>>>
>>>>> This one.
>>>>>
>>>>> C:\apache-royale-0.9.7-bin-js\royale-asjs\examples\royale\DataGridExample
>>>>>
>>>>> I copied asconfig.json and src holder in a new folder; then build.
>>>>>
>>>>> The problem is that the image folder (resource\assets) is not copied
>>>>> into bin\js-debug folder.
>>>>>
>>>>> In case using mvn clean install, the image folder is copied into the
>>>>> target folder.
>>>>>
>>>>> Is this a bug or am I missing something?
>>>>>
>>>>> Shoichiro Takeshita
>>>>>
>>>>
>>>>
>>>> --
>>>> Carlos Rovira
>>>> http://about.me/carlosrovira
>>>>
>>>>
>>>
>>> --
>>>
>>> Piotr Zarzycki
>>>
>>> Patreon: *https://www.patreon.com/piotrzarzycki
>>> <https://www.patreon.com/piotrzarzycki>*
>>>
>>
>>
>> --
>> Shoichiro Takeshita
>> 武下 祥一郎
>>
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
>

-- 
Shoichiro Takeshita
武下 祥一郎


DataGridExample build with VS Code

2019-11-12 Thread Takeshita Shoichiro
I tried to build the sample project using VS Code.

This one.
C:\apache-royale-0.9.7-bin-js\royale-asjs\examples\royale\DataGridExample

I copied asconfig.json and src holder in a new folder; then build.

The problem is that the image folder (resource\assets) is not copied into
bin\js-debug folder.

In case using mvn clean install, the image folder is copied into the target
folder.

Is this a bug or am I missing something?

Shoichiro Takeshita


Re: Unknown property errors with CSS file

2019-11-07 Thread Takeshita Shoichiro
Thanks a lot.

2019年11月7日(木) 17:42 Piotr Zarzycki :

> This is weird to me that VSCode has problems with that. Just remember that
> for Royale compiler both forms are correct.
>
> On Thu, Nov 7, 2019, 9:39 AM Yishay Weiss  wrote:
>
>> Use hyphens instead of camel case, so e.g.
>>
>>
>>
>> border-color
>>
>> not
>>
>> borderColor
>>
>>
>>
>> Camel case is only for changing things programaically.
>>
>>
>> --
>> *From:* Takeshita Shoichiro 
>> *Sent:* Thursday, November 7, 2019 10:27:29 AM
>> *To:* users@royale.apache.org 
>> *Subject:* Unknown property errors with CSS file
>>
>> Basic question about CSS file.
>>
>> The following CSS file is claimed with 9 errors. Only color property is
>> accepted.  What's the problems?  I'm using VS Code.
>> And mxml specifies this CSS as follows:
>>
>> 
>>
>> Thanks for your help in advance.
>>
>> -
>>
>> /* CSS file */
>> @namespace s "library://ns.apache.org/royale/spark";
>> @namespace mx "library://ns.apache.org/royale/mx";
>>
>> .heading {
>>fontFamily: Arial, Helvetica, sans-serif;
>>fontSize: 17px;
>>color: #9b1204;
>>textDecoration:none;
>>fontWeight:normal;
>> }
>>
>> .button {
>>fontWeight: bold;
>> }
>>
>> .container {
>>cornerRadius :10;
>>horizontalCenter :0;
>>borderColor: #77;
>>verticalCenter:0;
>>backgroundColor: #efefef;
>> }
>>
>> --
>> Shoichiro Takeshita
>> 武下 祥一郎
>>
> --
Shoichiro Takeshita
武下 祥一郎


Unknown property errors with CSS file

2019-11-07 Thread Takeshita Shoichiro
Basic question about CSS file.

The following CSS file is claimed with 9 errors. Only color property is
accepted.  What's the problems?  I'm using VS Code.
And mxml specifies this CSS as follows:



Thanks for your help in advance.
-

/* CSS file */
@namespace s "library://ns.apache.org/royale/spark";
@namespace mx "library://ns.apache.org/royale/mx";

.heading {
   fontFamily: Arial, Helvetica, sans-serif;
   fontSize: 17px;
   color: #9b1204;
   textDecoration:none;
   fontWeight:normal;
}

.button {
   fontWeight: bold;
}

.container {
   cornerRadius :10;
   horizontalCenter :0;
   borderColor: #77;
   verticalCenter:0;
   backgroundColor: #efefef;
}

-- 
Shoichiro Takeshita
武下 祥一郎


Re: Cairngorm to Crux

2019-11-03 Thread Takeshita Shoichiro
Piotr,

Persons who are studying the Flex migration to Apache Royale like me, may
want to see more details.
The Github description is fine for introduction purpose.  However, I'd like
to see more realistic guidelines for the migration.
HelloRoyale.mxml is too simple for this purpose, I think.  I'd like to see
the entry mxml and other stuffs (views and ActionScript files).

I could understand the build basic for more complex application by looking
at Greg-provided asconfig.json.  Then, I've added luanch.json and
tasks.json to display the output just after build.
Now, I feel VS code can be used as a development IDE for Apache Royale.

As a summary, the following are better be added:
- Example with a bit more complex application structure
- Detailed description on how to prepare asconfig.json.
- (Option) Use of launch.json and tasks.json (efficiency purpose)
- (Option) How to set up Maven build (how to create pom.xml and application
structure)
- (Option) Total solution for Apache Royale (Flex + server side Spring)
example

On Sun, Nov 3, 2019 at 4:17 PM Piotr Zarzycki 
wrote:

> Hi Takeshita,
>
> Try to look into following instruction and let us know what we miss here
> [1].
>
> [1] https://github.com/apache/royale-asjs/wiki/Visual-Studio-Code
>
> Thanks,
> Piotr
>
> niedz., 3 lis 2019 o 08:14 Takeshita Shoichiro 
> napisał(a):
>
>> Greg and others,
>>
>> I have prepared the document for creating Apache Royale project using
>> Visual Studio Code.  Just for your information.
>>
>> Thanks.
>>
>> On Fri, Nov 1, 2019 at 9:04 PM Takeshita Shoichiro 
>> wrote:
>>
>>> Greg, thanks.
>>>
>>> Warning messages have gone.
>>>
>>> I will prepare a migration note to be shared with members.  Before that,
>>> I will ask some questions shortly.
>>>
>>> On Fri, Nov 1, 2019 at 9:51 AM Greg Dove  wrote:
>>>
>>>> Hi Takeshita,
>>>>
>>>> Great! Yes those warnings are not unexpected. One issue with public
>>>> vars in Royale is that they can be renamed in the minified javascript
>>>> output, and not accessible via dynamic access e.g this['dispatcher'] is not
>>>> reliable inside Login.mxml, for example. Most often this is not an issue,
>>>> but that warning is just to remind people about this.
>>>>
>>>> But Crux uses reflection to set those correctly for [Inject] processing
>>>> even when they are renamed/minified.
>>>>
>>>> You can avoid the warnings by using doc-comment directives.
>>>>
>>>> For an actionscript class, you can annotate individual public vars, or
>>>> (easier) the class itself with the following before :
>>>>  /**
>>>>  *  @royalesuppresspublicvarwarning
>>>>  */
>>>>
>>>> In mxml script blocks I expect this is only possible for each
>>>> individual member.
>>>>
>>>>
>>>> On Fri, Nov 1, 2019 at 1:39 PM Takeshita Shoichiro 
>>>> wrote:
>>>>
>>>>> Greg, the build worked after removing source-path, which I added.
>>>>> Thanks.  I've confirmed the same output as yours was generated.
>>>>>
>>>>> Well, some warning messages are shown as follows.  Would you please
>>>>> check?
>>>>>
>>>>>
>>>>> 
>>>>>
>>>>> > Executing task in folder Porting: C:\Program
>>>>> Files\Java\jdk-11.0.5\bin\java.exe -jar
>>>>> c:\Users\jl031\.vscode\extensions\bowlerhatllc.vscode-nextgenas-0.23.2\bin\asconfigc.jar
>>>>> --sdk c:\apache-royale-0.9.7-bin-js\royale-asjs --debug=true --project
>>>>> c:\Workspace\CairngormToCrux\Porting\asconfig.json <
>>>>>
>>>>>
>>>>>
>>>>> MXMLJSC
>>>>> +royalelib=c:\apache-royale-0.9.7-bin-js\royale-asjs\frameworks
>>>>> --debug=true
>>>>> +configname=royale
>>>>> --targets=JSRoyale
>>>>> --js-library-path+=${royalelib}/js/libs/BasicJS.swc
>>>>> --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
>>>>> --js-library-path+=${royalelib}/js/libs/SparkRoyaleJS.swc
>>>>> --js-library-path+=${royalelib}/js/libs/CoreJS.swc
>>>>> --js-library-path+=${royalelib}/js/libs/LanguageJS.swc
>>>>> --js-library-path+=${royalelib}/js/libs/CruxJS.swc
>>>>> 

Re: Cairngorm to Crux

2019-11-01 Thread Takeshita Shoichiro
Greg, thanks.

Warning messages have gone.

I will prepare a migration note to be shared with members.  Before that, I
will ask some questions shortly.

On Fri, Nov 1, 2019 at 9:51 AM Greg Dove  wrote:

> Hi Takeshita,
>
> Great! Yes those warnings are not unexpected. One issue with public vars
> in Royale is that they can be renamed in the minified javascript output,
> and not accessible via dynamic access e.g this['dispatcher'] is not
> reliable inside Login.mxml, for example. Most often this is not an issue,
> but that warning is just to remind people about this.
>
> But Crux uses reflection to set those correctly for [Inject] processing
> even when they are renamed/minified.
>
> You can avoid the warnings by using doc-comment directives.
>
> For an actionscript class, you can annotate individual public vars, or
> (easier) the class itself with the following before :
>  /**
>  *  @royalesuppresspublicvarwarning
>  */
>
> In mxml script blocks I expect this is only possible for each individual
> member.
>
>
> On Fri, Nov 1, 2019 at 1:39 PM Takeshita Shoichiro 
> wrote:
>
>> Greg, the build worked after removing source-path, which I added.
>> Thanks.  I've confirmed the same output as yours was generated.
>>
>> Well, some warning messages are shown as follows.  Would you please check?
>>
>>
>> 
>>
>> > Executing task in folder Porting: C:\Program
>> Files\Java\jdk-11.0.5\bin\java.exe -jar
>> c:\Users\jl031\.vscode\extensions\bowlerhatllc.vscode-nextgenas-0.23.2\bin\asconfigc.jar
>> --sdk c:\apache-royale-0.9.7-bin-js\royale-asjs --debug=true --project
>> c:\Workspace\CairngormToCrux\Porting\asconfig.json <
>>
>>
>>
>> MXMLJSC
>> +royalelib=c:\apache-royale-0.9.7-bin-js\royale-asjs\frameworks
>> --debug=true
>> +configname=royale
>> --targets=JSRoyale
>> --js-library-path+=${royalelib}/js/libs/BasicJS.swc
>> --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
>> --js-library-path+=${royalelib}/js/libs/SparkRoyaleJS.swc
>> --js-library-path+=${royalelib}/js/libs/CoreJS.swc
>> --js-library-path+=${royalelib}/js/libs/LanguageJS.swc
>> --js-library-path+=${royalelib}/js/libs/CruxJS.swc
>> --js-library-path+=${royalelib}/js/libs/HTMLJS.swc
>> --js-library-path+=${royalelib}/js/libs/CollectionsJS.swc
>> --js-library-path+=${royalelib}/js/libs/BindingJS.swc
>> --js-library-path+=${royalelib}/js/libs/GraphicsJS.swc
>> --js-library-path+=${royalelib}/js/libs/ReflectionJS.swc
>> --js-library-path+=${royalelib}/js/libs/TLFJS.swc
>> --js-library-path+=${royalelib}/js/libs/XMLJS.swc
>> --js-library-path+=${royalelib}/js/libs/TextJS.swc
>> --js-library-path+=${royalelib}/js/libs/NetworkJS.swc
>> --source-map=true
>>
>> -keep-as3-metadata+=Inject,Dispatcher,EventHandler,PostConstruct,PreDestroy,ViewAdded,ViewRemoved,Bindable,Transient
>> -keep-code-with-metadata=Inject
>> --
>> src/main/royale/Main.mxml
>> The project 'Main' has been successfully compiled.
>> c:\Workspace\CairngormToCrux\Porting\src\main\royale\Main.mxml(60): col:
>> 4 隴ヲ蜻・: public var may not work in minified JS output.  Use getter/setter
>> instead.
>>
>> public var userName:String;
>> ^
>>
>> c:\Workspace\CairngormToCrux\Porting\src\main\royale\Main.mxml(61): col:
>> 4 隴ヲ蜻・: public var may not work in minified JS output.  Use getter/setter
>> instead.
>>
>> public var userId:String;
>> ^
>>
>> c:\Workspace\CairngormToCrux\Porting\src\main\royale\Main.mxml(62): col:
>> 4 隴ヲ蜻・: public var may not work in minified JS output.  Use getter/setter
>> instead.
>>
>> public var roleName:String;
>> ^
>>
>> c:\Workspace\CairngormToCrux\Porting\src\main\royale\Main.mxml(63): col:
>> 4 隴ヲ蜻・: public var may not work in minified JS output.  Use getter/setter
>> instead.
>>
>> public var headerViewControl:ArrayCollection;
>> ^
>>
>> c:\Workspace\CairngormToCrux\Porting\src\main\royale\jp\co\tak\view\Login.mxml(44):
>> col: 4 隴ヲ蜻・: public var may not work in minified JS output.  Use
>> getter/setter instead.
>>
>> public var loginModel:LoginModel;
>> ^
>>
>> c:\Workspace\CairngormToCrux\Porting\src\main\royale\jp\co\tak\view\

Re: Cairngorm to Crux

2019-10-31 Thread Takeshita Shoichiro
Greg, the build worked after removing source-path, which I added.  Thanks.
I've confirmed the same output as yours was generated.

Well, some warning messages are shown as follows.  Would you please check?



> Executing task in folder Porting: C:\Program
Files\Java\jdk-11.0.5\bin\java.exe -jar
c:\Users\jl031\.vscode\extensions\bowlerhatllc.vscode-nextgenas-0.23.2\bin\asconfigc.jar
--sdk c:\apache-royale-0.9.7-bin-js\royale-asjs --debug=true --project
c:\Workspace\CairngormToCrux\Porting\asconfig.json <



MXMLJSC
+royalelib=c:\apache-royale-0.9.7-bin-js\royale-asjs\frameworks
--debug=true
+configname=royale
--targets=JSRoyale
--js-library-path+=${royalelib}/js/libs/BasicJS.swc
--js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
--js-library-path+=${royalelib}/js/libs/SparkRoyaleJS.swc
--js-library-path+=${royalelib}/js/libs/CoreJS.swc
--js-library-path+=${royalelib}/js/libs/LanguageJS.swc
--js-library-path+=${royalelib}/js/libs/CruxJS.swc
--js-library-path+=${royalelib}/js/libs/HTMLJS.swc
--js-library-path+=${royalelib}/js/libs/CollectionsJS.swc
--js-library-path+=${royalelib}/js/libs/BindingJS.swc
--js-library-path+=${royalelib}/js/libs/GraphicsJS.swc
--js-library-path+=${royalelib}/js/libs/ReflectionJS.swc
--js-library-path+=${royalelib}/js/libs/TLFJS.swc
--js-library-path+=${royalelib}/js/libs/XMLJS.swc
--js-library-path+=${royalelib}/js/libs/TextJS.swc
--js-library-path+=${royalelib}/js/libs/NetworkJS.swc
--source-map=true
-keep-as3-metadata+=Inject,Dispatcher,EventHandler,PostConstruct,PreDestroy,ViewAdded,ViewRemoved,Bindable,Transient
-keep-code-with-metadata=Inject
--
src/main/royale/Main.mxml
The project 'Main' has been successfully compiled.
c:\Workspace\CairngormToCrux\Porting\src\main\royale\Main.mxml(60): col: 4
隴ヲ蜻・: public var may not work in minified JS output.  Use getter/setter
instead.

public var userName:String;
^

c:\Workspace\CairngormToCrux\Porting\src\main\royale\Main.mxml(61): col: 4
隴ヲ蜻・: public var may not work in minified JS output.  Use getter/setter
instead.

public var userId:String;
^

c:\Workspace\CairngormToCrux\Porting\src\main\royale\Main.mxml(62): col: 4
隴ヲ蜻・: public var may not work in minified JS output.  Use getter/setter
instead.

public var roleName:String;
^

c:\Workspace\CairngormToCrux\Porting\src\main\royale\Main.mxml(63): col: 4
隴ヲ蜻・: public var may not work in minified JS output.  Use getter/setter
instead.

public var headerViewControl:ArrayCollection;
^

c:\Workspace\CairngormToCrux\Porting\src\main\royale\jp\co\tak\view\Login.mxml(44):
col: 4 隴ヲ蜻・: public var may not work in minified JS output.  Use
getter/setter instead.

public var loginModel:LoginModel;
^

c:\Workspace\CairngormToCrux\Porting\src\main\royale\jp\co\tak\view\Login.mxml(47):
col: 4 隴ヲ蜻・: public var may not work in minified JS output.  Use
getter/setter instead.

public var dispatcher:IEventDispatcher;
^

c:\Workspace\CairngormToCrux\Porting\src\main\royale\jp\co\tak\command\LoginSignInCommand.as(25):
col: 3 隴ヲ蜻・: public var may not work in minified JS output.  Use
getter/setter instead.

public var loginModel:LoginModel;
^

c:\Workspace\CairngormToCrux\Porting\src\main\royale\jp\co\tak\event\LoginLoadEvent.as(11):
col: 3 隴ヲ蜻・: public var may not work in minified JS output.  Use
getter/setter instead.

public var callBack:Function;
^

c:\Workspace\CairngormToCrux\Porting\src\main\royale\jp\co\tak\event\LoginSignInEvent.as(11):
col: 3 隴ヲ蜻・: public var may not work in minified JS output.  Use
getter/setter instead.

public var vo:UserLoginVO;
^

12.539034 seconds

Terminal will be reused by tasks, press any key to close it.

On Fri, Nov 1, 2019 at 7:54 AM Takeshita Shoichiro 
wrote:

> Greg, thanks for your advice.  I will try after change.
>
> 2019年11月1日(金) 7:51 Greg Dove :
>
>>
>> Hi Takeshita,
>>
>> The one thing that strikes me as wrong is this:
>>
>>   "source-path": [
>> "src"
>> ],
>>
>> I don't have that in mine, the 'files' reference to the application mxml
>> is sufficient I think.
>> But if you need to include, that it should probably be like:
>> "source-path": [
>> "src/main/royale"
>> ],
>>
>> That src/main/royale path is a convention used by maven.
>>
>>
>>
>> On Fri, Nov 1, 2019 at 2:47 AM Takeshita Shoichiro 
>> wrote:
>>
>>

Re: Cairngorm to Crux

2019-10-31 Thread Takeshita Shoichiro
Greg, thanks for your advice.  I will try after change.

2019年11月1日(金) 7:51 Greg Dove :

>
> Hi Takeshita,
>
> The one thing that strikes me as wrong is this:
>
>   "source-path": [
> "src"
> ],
>
> I don't have that in mine, the 'files' reference to the application mxml
> is sufficient I think.
> But if you need to include, that it should probably be like:
> "source-path": [
> "src/main/royale"
> ],
>
> That src/main/royale path is a convention used by maven.
>
>
>
> On Fri, Nov 1, 2019 at 2:47 AM Takeshita Shoichiro 
> wrote:
>
>> Greg,
>>
>> The build ends with error.  The problem is caused by Main.mxml and
>> LoginController.as.  I attached terminal log.  Sorry for the garbage
>> characters.  I could not fix.  I will try later.
>> I changed a bit your provided asconfig.json.  Check the attachment.
>> Appreciate your check.
>>
>>
>> ===
>>
>> > Executing task in folder Porting: C:\Program
>> Files\Java\jdk-11.0.5\bin\java.exe -jar
>> c:\Users\jl031\.vscode\extensions\bowlerhatllc.vscode-nextgenas-0.23.2\bin\asconfigc.jar
>> --sdk c:\apache-royale-0.9.7-bin-js\royale-asjs --debug=true --project
>> c:\Workspace\CairngormToCrux\Porting\asconfig.json <
>>
>>
>>
>> MXMLJSC
>> +royalelib=c:\apache-royale-0.9.7-bin-js\royale-asjs\frameworks
>> --debug=true
>> +configname=royale
>> --targets=JSRoyale
>> --source-path+=src
>> --js-library-path+=${royalelib}/js/libs/BasicJS.swc
>> --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
>> --js-library-path+=${royalelib}/js/libs/SparkRoyaleJS.swc
>> --js-library-path+=${royalelib}/js/libs/CoreJS.swc
>> --js-library-path+=${royalelib}/js/libs/LanguageJS.swc
>> --js-library-path+=${royalelib}/js/libs/CruxJS.swc
>> --js-library-path+=${royalelib}/js/libs/HTMLJS.swc
>> --js-library-path+=${royalelib}/js/libs/CollectionsJS.swc
>> --js-library-path+=${royalelib}/js/libs/BindingJS.swc
>> --js-library-path+=${royalelib}/js/libs/GraphicsJS.swc
>> --js-library-path+=${royalelib}/js/libs/ReflectionJS.swc
>> --js-library-path+=${royalelib}/js/libs/TLFJS.swc
>> --js-library-path+=${royalelib}/js/libs/XMLJS.swc
>> --js-library-path+=${royalelib}/js/libs/TextJS.swc
>> --js-library-path+=${royalelib}/js/libs/NetworkJS.swc
>> --source-map=true
>>
>> -keep-as3-metadata+=Inject,Dispatcher,EventHandler,PostConstruct,PreDestroy,ViewAdded,ViewRemoved,Bindable,Transient
>> -keep-code-with-metadata=Inject
>> --
>> src/main/royale/Main.mxml
>> c:\Workspace\CairngormToCrux\Porting\src\main\royale\Main.mxml(30): col:
>> 5 繧ィ繝ゥ繝シ : 縺薙・繧ソ繧ー繧・ActionScript class
>> 縺ォ隗」豎コ縺ァ縺阪∪縺帙s縺ァ縺励◆縲ゅ%縺ョ繧ソ繧ー縺ッ辟。隕悶&繧後∪縺吶・
>>
>> 
>> ^
>>
>> c:\Workspace\CairngormToCrux\Porting\src\main\royale\Main.mxml(32): col:
>> 5 繧ィ繝ゥ繝シ : 縺薙・繧ソ繧ー繧・ActionScript class
>> 縺ォ隗」豎コ縺ァ縺阪∪縺帙s縺ァ縺励◆縲ゅ%縺ョ繧ソ繧ー縺ッ辟。隕悶&繧後∪縺吶・
>>
>> 
>> ^
>>
>> c:\Workspace\CairngormToCrux\Porting\src\main\royale\Main.mxml(35): col:
>> 6 繧ィ繝ゥ繝シ : 縺薙・繧ソ繧ー縺ッ辟。蜉ケ縺ァ縺吶ゅ%縺ョ繧ソ繧ー縺ッ辟。隕悶&繧後∪縺吶・
>>
>> 
>> ^
>>
>> c:\Workspace\CairngormToCrux\Porting\src\main\royale\Main.mxml(78): col:
>> 5 繧ィ繝ゥ繝シ : 縺薙・繧ソ繧ー縺ッ辟。蜉ケ縺ァ縺吶ゅ%縺ョ繧ソ繧ー縺ッ辟。隕悶&繧後∪縺吶・
>>
>> 
>> ^
>>
>> c:\Workspace\CairngormToCrux\Porting\src\main\royale\jp\co\tak\control\LoginController.as
>> 繧ィ繝ゥ繝シ : 縲稽ain.royale.jp.co.tak.control.LoginController縲阪→縺・≧蜷榊
>> 燕繧呈戟縺、縲∝、夜Κ縺九i陦ィ遉コ蜿ッ閭ス縺ェ螳夂セゥ縺ッ隕九▽縺九j縺セ縺帙s縺ァ縺励◆縲・
>>
>>
>> c:\Workspace\CairngormToCrux\Porting\src\main\royale\jp\co\tak\control\LoginController.as(14):
>> col: 15 繧ィ繝ゥ繝シ : 縲桂p.co.tak.control.LoginController縲阪→縺・≧蜷榊
>> 燕繧呈戟縺、縲∝、夜Κ縺九i陦ィ遉コ蜿ッ閭ス縺ェ螳夂セゥ縺御コ域悄縺帙★隕九▽縺九j縺セ縺励◆縲・
>>
>> public class LoginController extends CommandMap
>>  ^
>>
>> 1.7805689 seconds
>> The terminal process terminated with exit code: 3
>>
>> Terminal will be reused by tasks, press any key to close it.
>>
>> On Thu, Oct 31, 2019 at 10:01 AM Greg Dove  wrote:
>>
>>>
>>> No problem... and yes Crux is an IOC approach, it is a close
>>> approximation of Swi

Re: Cairngorm to Crux

2019-10-31 Thread Takeshita Shoichiro
Greg,

The build ends with error.  The problem is caused by Main.mxml and
LoginController.as.  I attached terminal log.  Sorry for the garbage
characters.  I could not fix.  I will try later.
I changed a bit your provided asconfig.json.  Check the attachment.
Appreciate your check.

===

> Executing task in folder Porting: C:\Program
Files\Java\jdk-11.0.5\bin\java.exe -jar
c:\Users\jl031\.vscode\extensions\bowlerhatllc.vscode-nextgenas-0.23.2\bin\asconfigc.jar
--sdk c:\apache-royale-0.9.7-bin-js\royale-asjs --debug=true --project
c:\Workspace\CairngormToCrux\Porting\asconfig.json <



MXMLJSC
+royalelib=c:\apache-royale-0.9.7-bin-js\royale-asjs\frameworks
--debug=true
+configname=royale
--targets=JSRoyale
--source-path+=src
--js-library-path+=${royalelib}/js/libs/BasicJS.swc
--js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
--js-library-path+=${royalelib}/js/libs/SparkRoyaleJS.swc
--js-library-path+=${royalelib}/js/libs/CoreJS.swc
--js-library-path+=${royalelib}/js/libs/LanguageJS.swc
--js-library-path+=${royalelib}/js/libs/CruxJS.swc
--js-library-path+=${royalelib}/js/libs/HTMLJS.swc
--js-library-path+=${royalelib}/js/libs/CollectionsJS.swc
--js-library-path+=${royalelib}/js/libs/BindingJS.swc
--js-library-path+=${royalelib}/js/libs/GraphicsJS.swc
--js-library-path+=${royalelib}/js/libs/ReflectionJS.swc
--js-library-path+=${royalelib}/js/libs/TLFJS.swc
--js-library-path+=${royalelib}/js/libs/XMLJS.swc
--js-library-path+=${royalelib}/js/libs/TextJS.swc
--js-library-path+=${royalelib}/js/libs/NetworkJS.swc
--source-map=true
-keep-as3-metadata+=Inject,Dispatcher,EventHandler,PostConstruct,PreDestroy,ViewAdded,ViewRemoved,Bindable,Transient
-keep-code-with-metadata=Inject
--
src/main/royale/Main.mxml
c:\Workspace\CairngormToCrux\Porting\src\main\royale\Main.mxml(30): col: 5
繧ィ繝ゥ繝シ : 縺薙・繧ソ繧ー繧・ActionScript class
縺ォ隗」豎コ縺ァ縺阪∪縺帙s縺ァ縺励◆縲ゅ%縺ョ繧ソ繧ー縺ッ辟。隕悶&繧後∪縺吶・


^

c:\Workspace\CairngormToCrux\Porting\src\main\royale\Main.mxml(32): col: 5
繧ィ繝ゥ繝シ : 縺薙・繧ソ繧ー繧・ActionScript class
縺ォ隗」豎コ縺ァ縺阪∪縺帙s縺ァ縺励◆縲ゅ%縺ョ繧ソ繧ー縺ッ辟。隕悶&繧後∪縺吶・


^

c:\Workspace\CairngormToCrux\Porting\src\main\royale\Main.mxml(35): col: 6
繧ィ繝ゥ繝シ : 縺薙・繧ソ繧ー縺ッ辟。蜉ケ縺ァ縺吶ゅ%縺ョ繧ソ繧ー縺ッ辟。隕悶&繧後∪縺吶・


^

c:\Workspace\CairngormToCrux\Porting\src\main\royale\Main.mxml(78): col: 5
繧ィ繝ゥ繝シ : 縺薙・繧ソ繧ー縺ッ辟。蜉ケ縺ァ縺吶ゅ%縺ョ繧ソ繧ー縺ッ辟。隕悶&繧後∪縺吶・


^

c:\Workspace\CairngormToCrux\Porting\src\main\royale\jp\co\tak\control\LoginController.as
繧ィ繝ゥ繝シ : 縲稽ain.royale.jp.co.tak.control.LoginController縲阪→縺・≧蜷榊
燕繧呈戟縺、縲∝、夜Κ縺九i陦ィ遉コ蜿ッ閭ス縺ェ螳夂セゥ縺ッ隕九▽縺九j縺セ縺帙s縺ァ縺励◆縲・


c:\Workspace\CairngormToCrux\Porting\src\main\royale\jp\co\tak\control\LoginController.as(14):
col: 15 繧ィ繝ゥ繝シ : 縲桂p.co.tak.control.LoginController縲阪→縺・≧蜷榊
燕繧呈戟縺、縲∝、夜Κ縺九i陦ィ遉コ蜿ッ閭ス縺ェ螳夂セゥ縺御コ域悄縺帙★隕九▽縺九j縺セ縺励◆縲・

public class LoginController extends CommandMap
 ^

1.7805689 seconds
The terminal process terminated with exit code: 3

Terminal will be reused by tasks, press any key to close it.

On Thu, Oct 31, 2019 at 10:01 AM Greg Dove  wrote:

>
> No problem... and yes Crux is an IOC approach, it is a close approximation
> of Swiz, that works in Javascript (with a few tweaks, like emulation of
> stage events, for example)
> I think Cairngorm 3 is more a set of additional tools and libraries, some
> that work with various other IOC libraries (I assume Cairngorm 3 was a
> recognition of the growing popularity of those other options at the time it
> was developed). That set of options includes Swiz, which is what Crux is
> based on, but also Parsley and others. However I expect that other things
> in the Cairngorm 3 code will continue to work with the original Cairngorm 2
> that you are using. See [1] below ... I would assume that any of the
> 'libraries' that don't say 'requires' probably would still work with the
> original Cairngorm 2.
> So, as Alex said, I think the only thing to check is whether you are using
> any of Cairngorm 3 (those libraries). I did not see evidence of that in
> your minimized example.
>
>
> 1.
> https://sourceforge.net/adobe/cairngorm/wiki/CairngormLibraries/#Libraries
>
>
>
>
> On Thu, Oct 31, 2019 at 1:37 PM Takeshita Shoichiro 
> wrote:
>
>> Greg, thanks a lot.  The URL is very helpful. At a glance, the new thing
>> for Cairngorm 3 is an introduction of Inversion of Control. And your Crux’s
>> recommendation is the use of injection.  Right?  So, Crux is more
>> equivalent to Cairngorm 3. That’s my impression.
>>
>> As to the new Dropbox, the download at the customer’s office is
>

Re: Cairngorm to Crux

2019-10-30 Thread Takeshita Shoichiro
Greg, thanks a lot.  The URL is very helpful. At a glance, the new thing
for Cairngorm 3 is an introduction of Inversion of Control. And your Crux’s
recommendation is the use of injection.  Right?  So, Crux is more
equivalent to Cairngorm 3. That’s my impression.

As to the new Dropbox, the download at the customer’s office is
prohibited.  I will do the work at home tonight.

2019年10月31日(木) 8:41 Greg Dove :

>
> Just another quick update, Takeshita. Please re-download the same zip from
> dropbox, which has been updated
>
> ' Using Visual Studio Code with ActionScript & MXML and Chrome Debugger
> extension is desirable.'
> I am not a frequent user of VSCode (although I do think it's great!). I
> updated the zip file in dropbox with something that works for me using
> VSCode. Hopefully it works for you too. It probably will not represent
> 'best practice' for using VSCode, but others may be able to advise for that.
> I expect you need to check this:
> "settings": {
> "as3mxml.sdk.framework": "c:\\development\\asf\\royale-asjs"
> }
> inside 'cairngorm-port-example.code-workspace' to be whatever makes sense
> on your system.
>
> 'Mock service helper in the Crux library'
> I added a mock response in the LoginServiceDelegate - I am not sure what
> the various fields should be returning, so there are some random values in
> those, but I expect you can substitute those with more realistic contents.
>
>
>
>
> On Thu, Oct 31, 2019 at 11:39 AM Greg Dove  wrote:
>
>>
>> I was just investigating this also. The main MVC setup does not change,
>> and version 3 is more about enhancing general approaches: 'The original
>> Cairngorm library remains a part of Cairngorm 3, but has not been updated
>> for this release.' [1]
>>
>> I only saw the original Cairngorm 2 approach in your (minimal) code so
>> far, Takeshita.
>>
>> 1. Here is a good description for version 3 Cairngorm:
>> https://sourceforge.net/adobe/cairngorm/wiki/GettingStartedWithCairngorm/
>>
>> On Thu, Oct 31, 2019 at 11:12 AM Takeshita Shoichiro 
>> wrote:
>>
>>> Alex, I think version 2 by looking at the source. Version 3 seems to
>>> have a different application architecture, which is not our case.  If I can
>>> find the different information from the build materials, I will inform.
>>>
>>> 2019年10月31日(木) 1:01 Alex Harui :
>>>
>>>> Hi T-San,
>>>>
>>>>
>>>>
>>>> Just to make sure:  What version of Cairngorm did you use in your app?
>>>>
>>>>
>>>>
>>>> Thanks,
>>>>
>>>> -Alex
>>>>
>>>>
>>>>
>>>> *From: *Takeshita Shoichiro 
>>>> *Reply-To: *"users@royale.apache.org" 
>>>> *Date: *Wednesday, October 30, 2019 at 5:02 AM
>>>> *To: *"users@royale.apache.org" 
>>>> *Subject: *Re: Cairngorm to Crux
>>>>
>>>>
>>>>
>>>> Greg, thanks a lot for your great work.  It seems it's very possible to
>>>> migrate from Cairngorm to Crux.  I will check the changes you made in
>>>> details tomorrow at the office.
>>>>
>>>>
>>>>
>>>> I have your favors for the following matters.
>>>>
>>>>
>>>>
>>>> *- Mock service helper in the Crux library*
>>>>
>>>> I'm interested in this.  Would you provide the information?
>>>>
>>>> *- I used maven locally to build that, as a local variation inside the
>>>> royale crux examples.*
>>>>
>>>> Could you provide your maven build procedure for this application?  I
>>>> do not know how to build an application with product-like architecture (the
>>>> one I sent to you).  I'd like to build my application and see the result
>>>> quickly.  Using Visual Studio Code with ActionScript & MXML and Chrome
>>>> Debugger extension is desirable.  However, if it takes time, Maven is fine
>>>> but I want to build one application.
>>>>
>>>>
>>>>
>>>> Appreciate your help.
>>>>
>>>>
>>>>
>>>> S. Takeshita
>>>>
>>>>
>>>>
>>>> On Wed, Oct 30, 2019 at 3:52 PM Greg Dove  wrote:
>>>>
>>>>
>>>> @aharui
>>>>
>>>> Actually it looks like I already based the 'QuickStart' examples in
>>>> crux-examples on that, so maybe I did already 'test' the serviceHelper/Mo

Re: Cairngorm to Crux

2019-10-30 Thread Takeshita Shoichiro
Greg, thanks a lot for your great work.  It seems it's very possible to
migrate from Cairngorm to Crux.  I will check the changes you made in
details tomorrow at the office.

I have your favors for the following matters.

*- Mock service helper in the Crux library*
I'm interested in this.  Would you provide the information?

*- I used maven locally to build that, as a local variation inside the
royale crux examples.*
Could you provide your maven build procedure for this application?  I do
not know how to build an application with product-like architecture (the
one I sent to you).  I'd like to build my application and see the result
quickly.  Using Visual Studio Code with ActionScript & MXML and Chrome
Debugger extension is desirable.  However, if it takes time, Maven is fine
but I want to build one application.

Appreciate your help.

S. Takeshita

On Wed, Oct 30, 2019 at 3:52 PM Greg Dove  wrote:

>
> @aharui
> Actually it looks like I already based the 'QuickStart' examples in
> crux-examples on that, so maybe I did already 'test' the serviceHelper/Mock
> services stuff. I had forgotten these details. I need to attribute those 2
> specific examples with that Swiz source. I will add that tomorrow.
>
> For the Cairrngorm stuff I believe Cairngorm 3 became more generic and
> provided various enhancements to the other newer architectural frameworks
> (Swiz, Robotlegs, Parsley etc) instead of being an evolution of the
> original Cairngorm, but I might be wrong about that. The app I ported was
> using Cairngorm 2 which was the 'original' I think (I don't know about any
> Cairngorm 1, but presumably there was a Cairngorm 1 before 2) . I'll take a
> look at those version 3 examples as well, but in terms of 'porting' I think
> the main use will probably be Cairngorm 2 -> Crux. It still might be viable
> to port the Cairngorm 2 code itself to Royale, I think I only saw something
> that would need to be resolved with the view processing part,  but I don't
> know about the Adobe licence for that (it is permissive, but I don't know
> offhand whether it is compatible for Apache).
>
>
>
> On Wed, Oct 30, 2019 at 7:11 PM Alex Harui  wrote:
>
>>
>>
>>
>>
>> *From: *Greg Dove 
>> *Reply-To: *"users@royale.apache.org" 
>> *Date: *Tuesday, October 29, 2019 at 10:22 PM
>> *To: *"users@royale.apache.org" 
>> *Subject: *Re: Cairngorm to Crux
>>
>>
>>
>> Snip…
>>
>> I will try to make another example (maybe the github viewer again) in
>> royale examples using MXRoyale instead of Jewel/Basic in the coming days.
>>
>> regards,
>>
>> Greg
>>
>>
>>
>> It would be interesting to find out how many changes to this example are
>> needed to get it to run in Royale
>>
>> https://swizframework.jira.com/wiki/spaces/SWIZ/pages/1999155/Quick+Start
>>
>>
>>
>> Same for some of the Cairngorm examples:
>>
>>
>> https://sourceforge.net/adobe/cairngorm/code/HEAD/tree/cairngorm3/trunk/samples/
>>
>>
>>
>> Just an idea…
>>
>> -Alex
>>
>

-- 
Shoichiro Takeshita
武下 祥一郎


Cairngorm to Crux

2019-10-29 Thread Takeshita Shoichiro
 Royale.zip

Greg, I'm providing a simplified Flex application example that uses
Cairngorm framework.
I'd like to know changes required to migrate to Crux and any possible
problems for migration.

I take our Login function for this case study. Royale.zip contains the
following:
(I hope you have time to look at these files and give me advices on
migration)


- Login.mxml
Here, put focus only on LoginLoadEvent and LoginSignInEvent.

- LoginLoadEvent.as
LoginLoadEvent dispatcher

- LoginSignInEvent.as
LoginSignInEvent dispatcher

- LoginController.as
Associate events and commands.
Here, put focus only on LoginSignInCommand.

- LoginServiceDelegate.as
Find remote service from service locator (Services.mxml) and call
it.

- Services.mxml
Service locator

- LoginModelLocator.as
Update Login.mxml with returned value object.

- UserLoginVO.as: Sent to server

- UserMainVO.as: Returned from server




-- 
Shoichiro Takeshita
武下 祥一郎


Re: Build Failure: DataBindingExample_Flat: Unable to find artifact

2019-10-28 Thread Takeshita Shoichiro
Alex,

Build on MacBook has no problem without fix.  Just for your info.

On Mon, Oct 28, 2019 at 3:14 PM Alex Harui  wrote:

> Thanks for finding that.  I still haven’t figured out why it worked for me.
>
>
>
> -Alex
>
>
>
> *From: *Takeshita Shoichiro 
> *Reply-To: *"users@royale.apache.org" 
> *Date: *Sunday, October 27, 2019 at 6:40 PM
> *To: *"users@royale.apache.org" 
> *Subject: *Re: Build Failure: DataBindingExample_Flat: Unable to find
> artifact
>
>
>
> Alex, thanks.  The problem was fixed. I opened issue 530.
>
>
>
> 2019年10月27日(日) 23:45 Alex Harui :
>
> That looks like a bug to me.  Please open a github issue.
>
>
>
> I think you can just change the royale.framework.version in
> examples/pom.xml and remove the -SNAPSHOT
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Takeshita Shoichiro 
> *Reply-To: *"users@royale.apache.org" 
> *Date: *Saturday, October 26, 2019 at 11:15 PM
> *To: *"users@royale.apache.org" 
> *Subject: *Re: Build Failure: DataBindingExample_Flat: Unable to find
> artifact
>
>
>
> Alex, from the official Apache Royale download page.
>
>
>
> I run mvn clean install at Royale-asjs¥examples.
>
>
>
>
>
>
>
> 2019年10月27日(日) 15:01 Alex Harui :
>
> Hi T-San,
>
>
>
> Where did you get the source?  Did you run “mvn clean install” in the
> royale-asjs folder first?
>
>
>
> -Alex
>
>
>
> *From: *Takeshita Shoichiro 
> *Reply-To: *"users@royale.apache.org" 
> *Date: *Saturday, October 26, 2019 at 10:17 PM
> *To: *"users@royale.apache.org" 
> *Subject: *Build Failure: DataBindingExample_Flat: Unable to find artifact
>
>
>
> I run "mvn clean install"
> at C:\apache-royale-0.9.6-bin-js\royale-asjs\examples on Windows 10 with
> Japanese.  Build failed with the following console.
>
>
>
> This is the first time build of Apache Royale examples on this machine.  I
> cannot fine the subject WAR file in the designated link.  What's w
>
>
>
>
> *
>
>
> [INFO]
> 
> [INFO] BUILD FAILURE
> [INFO]
> 
> [INFO] Total time:  19:06 min
> [INFO] Finished at: 2019-10-27T14:01:01+09:00
> [INFO]
> 
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-dependency-plugin:2.10:unpack (unpack-fonts)
> on project DataBindingExample_Flat: Unable to find artifact.: Could not
> find artifact org.apache.royale.framework:Fonts:war:0.9.6-SNAPSHOT in
> apache-snapshots (
> https://repository.apache.org/content/repositories/snapshots
> <https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Frepository.apache.org%2Fcontent%2Frepositories%2Fsnapshots=02%7C01%7Caharui%40adobe.com%7C8b9bad6d11374d90fc3008d75b47c96b%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637078236209959617=nSnjT0hg9AJu%2FFi0fPsX3fNBT8LF%2Fsu8nU1jhDTGJ1w%3D=0>
> )
> [ERROR]
> [ERROR] Try downloading the file manually from the project website.
> [ERROR]
> [ERROR] Then, install it using the command:
> [ERROR] mvn install:install-file -DgroupId=org.apache.royale.framework
> -DartifactId=Fonts -Dversion=0.9.6-SNAPSHOT -Dpackaging=war
> -Dfile=/path/to/file
>
> --
>
> Shoichiro Takeshita
>
> --
>
> Shoichiro Takeshita
> 武下 祥一郎
>
> --
>
> Shoichiro Takeshita
> 武下 祥一郎
>


-- 
Shoichiro Takeshita
武下 祥一郎


Re: Application Structure

2019-10-28 Thread Takeshita Shoichiro
Hi,

I think the tutorial lacks the important information, which is the location
of project.json.  The tutorial says mxmlc command line compilation.

royale-asjs/js/bin/mxmlc -debug=true GutHubCommitLogViewer.mxml.

So, I run this command where mxml exists. Definitely, I have to pass the
location of project.json. Is there any default location for mcmlc to find
it?  Or We need to specify the location as a command option?


2019年10月28日(月) 17:03 Piotr Zarzycki :

> Hey Takeshita,
>
> It is totally up to you what structure of application will be. In
> Moonshine we have some default template where we propose app structure, but
> it is always depends on developer as it was in flex. Unless I don't
> understand your question.
>
> Thanks,
> Piotr
>
> pon., 28 paź 2019 o 08:56 Takeshita Shoichiro 
> napisał(a):
>
>> The question about Application Tutorial on the Royale homepage.
>>
>> I created MyFirstRoyaleApp folder. Underneath, created arc folder and put
>> GitHubCommitLogViewer.mxml.
>>
>> Where to put project.json?
>>
>> Additional question:
>>
>> If I use Visual Studio Code, how the application structure will be?
>> --
>> Shoichiro Takeshita
>> 武下 祥一郎
>>
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>
-- 
Shoichiro Takeshita
武下 祥一郎


Application Structure

2019-10-28 Thread Takeshita Shoichiro
The question about Application Tutorial on the Royale homepage.

I created MyFirstRoyaleApp folder. Underneath, created arc folder and put
GitHubCommitLogViewer.mxml.

Where to put project.json?

Additional question:

If I use Visual Studio Code, how the application structure will be?
-- 
Shoichiro Takeshita
武下 祥一郎


Re: Build Failure: DataBindingExample_Flat: Unable to find artifact

2019-10-28 Thread Takeshita Shoichiro
Alex, this time I used Windows 10. A week or so before, I run on Macbook.
At that time, I think I did not get a build failure. If I have time, will
build on the Mac at home tonight.

2019年10月28日(月) 15:14 Alex Harui :

> Thanks for finding that.  I still haven’t figured out why it worked for me.
>
>
>
> -Alex
>
>
>
> *From: *Takeshita Shoichiro 
> *Reply-To: *"users@royale.apache.org" 
> *Date: *Sunday, October 27, 2019 at 6:40 PM
> *To: *"users@royale.apache.org" 
> *Subject: *Re: Build Failure: DataBindingExample_Flat: Unable to find
> artifact
>
>
>
> Alex, thanks.  The problem was fixed. I opened issue 530.
>
>
>
> 2019年10月27日(日) 23:45 Alex Harui :
>
> That looks like a bug to me.  Please open a github issue.
>
>
>
> I think you can just change the royale.framework.version in
> examples/pom.xml and remove the -SNAPSHOT
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Takeshita Shoichiro 
> *Reply-To: *"users@royale.apache.org" 
> *Date: *Saturday, October 26, 2019 at 11:15 PM
> *To: *"users@royale.apache.org" 
> *Subject: *Re: Build Failure: DataBindingExample_Flat: Unable to find
> artifact
>
>
>
> Alex, from the official Apache Royale download page.
>
>
>
> I run mvn clean install at Royale-asjs¥examples.
>
>
>
>
>
>
>
> 2019年10月27日(日) 15:01 Alex Harui :
>
> Hi T-San,
>
>
>
> Where did you get the source?  Did you run “mvn clean install” in the
> royale-asjs folder first?
>
>
>
> -Alex
>
>
>
> *From: *Takeshita Shoichiro 
> *Reply-To: *"users@royale.apache.org" 
> *Date: *Saturday, October 26, 2019 at 10:17 PM
> *To: *"users@royale.apache.org" 
> *Subject: *Build Failure: DataBindingExample_Flat: Unable to find artifact
>
>
>
> I run "mvn clean install"
> at C:\apache-royale-0.9.6-bin-js\royale-asjs\examples on Windows 10 with
> Japanese.  Build failed with the following console.
>
>
>
> This is the first time build of Apache Royale examples on this machine.  I
> cannot fine the subject WAR file in the designated link.  What's w
>
>
>
>
> *
>
>
> [INFO]
> 
> [INFO] BUILD FAILURE
> [INFO]
> 
> [INFO] Total time:  19:06 min
> [INFO] Finished at: 2019-10-27T14:01:01+09:00
> [INFO]
> 
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-dependency-plugin:2.10:unpack (unpack-fonts)
> on project DataBindingExample_Flat: Unable to find artifact.: Could not
> find artifact org.apache.royale.framework:Fonts:war:0.9.6-SNAPSHOT in
> apache-snapshots (
> https://repository.apache.org/content/repositories/snapshots
> <https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Frepository.apache.org%2Fcontent%2Frepositories%2Fsnapshots=02%7C01%7Caharui%40adobe.com%7C8b9bad6d11374d90fc3008d75b47c96b%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637078236209959617=nSnjT0hg9AJu%2FFi0fPsX3fNBT8LF%2Fsu8nU1jhDTGJ1w%3D=0>
> )
> [ERROR]
> [ERROR] Try downloading the file manually from the project website.
> [ERROR]
> [ERROR] Then, install it using the command:
> [ERROR] mvn install:install-file -DgroupId=org.apache.royale.framework
> -DartifactId=Fonts -Dversion=0.9.6-SNAPSHOT -Dpackaging=war
> -Dfile=/path/to/file
>
> --
>
> Shoichiro Takeshita
>
> --
>
> Shoichiro Takeshita
> 武下 祥一郎
>
> --
>
> Shoichiro Takeshita
> 武下 祥一郎
>
-- 
Shoichiro Takeshita
武下 祥一郎


Re: Build Failure: DataBindingExample_Flat: Unable to find artifact

2019-10-27 Thread Takeshita Shoichiro
Alex, from the official Apache Royale download page.

I run mvn clean install at Royale-asjs¥examples.



2019年10月27日(日) 15:01 Alex Harui :

> Hi T-San,
>
>
>
> Where did you get the source?  Did you run “mvn clean install” in the
> royale-asjs folder first?
>
>
>
> -Alex
>
>
>
> *From: *Takeshita Shoichiro 
> *Reply-To: *"users@royale.apache.org" 
> *Date: *Saturday, October 26, 2019 at 10:17 PM
> *To: *"users@royale.apache.org" 
> *Subject: *Build Failure: DataBindingExample_Flat: Unable to find artifact
>
>
>
> I run "mvn clean install"
> at C:\apache-royale-0.9.6-bin-js\royale-asjs\examples on Windows 10 with
> Japanese.  Build failed with the following console.
>
>
>
> This is the first time build of Apache Royale examples on this machine.  I
> cannot fine the subject WAR file in the designated link.  What's w
>
>
>
>
> *
>
>
> [INFO]
> 
> [INFO] BUILD FAILURE
> [INFO]
> 
> [INFO] Total time:  19:06 min
> [INFO] Finished at: 2019-10-27T14:01:01+09:00
> [INFO]
> 
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-dependency-plugin:2.10:unpack (unpack-fonts)
> on project DataBindingExample_Flat: Unable to find artifact.: Could not
> find artifact org.apache.royale.framework:Fonts:war:0.9.6-SNAPSHOT in
> apache-snapshots (
> https://repository.apache.org/content/repositories/snapshots
> <https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Frepository.apache.org%2Fcontent%2Frepositories%2Fsnapshots=02%7C01%7Caharui%40adobe.com%7C02f05aa28b9d4dbf0dd208d75a9cf006%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637077502408676514=9yy%2BdelFp1kRJv4Pi%2BLvYDc81a0bi5eAlFDgPp9ajBs%3D=0>
> )
> [ERROR]
> [ERROR] Try downloading the file manually from the project website.
> [ERROR]
> [ERROR] Then, install it using the command:
> [ERROR] mvn install:install-file -DgroupId=org.apache.royale.framework
> -DartifactId=Fonts -Dversion=0.9.6-SNAPSHOT -Dpackaging=war
> -Dfile=/path/to/file
>
> --
>
> Shoichiro Takeshita
>
-- 
Shoichiro Takeshita
武下 祥一郎


Build Failure: DataBindingExample_Flat: Unable to find artifact

2019-10-26 Thread Takeshita Shoichiro
I run "mvn clean install"
at C:\apache-royale-0.9.6-bin-js\royale-asjs\examples on Windows 10 with
Japanese.  Build failed with the following console.

This is the first time build of Apache Royale examples on this machine.  I
cannot fine the subject WAR file in the designated link.  What's w

*

[INFO]

[INFO] BUILD FAILURE
[INFO]

[INFO] Total time:  19:06 min
[INFO] Finished at: 2019-10-27T14:01:01+09:00
[INFO]

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-dependency-plugin:2.10:unpack (unpack-fonts)
on project DataBindingExample_Flat: Unable to find artifact.: Could not
find artifact org.apache.royale.framework:Fonts:war:0.9.6-SNAPSHOT in
apache-snapshots (
https://repository.apache.org/content/repositories/snapshots)
[ERROR]
[ERROR] Try downloading the file manually from the project website.
[ERROR]
[ERROR] Then, install it using the command:
[ERROR] mvn install:install-file -DgroupId=org.apache.royale.framework
-DartifactId=Fonts -Dversion=0.9.6-SNAPSHOT -Dpackaging=war
-Dfile=/path/to/file
-- 
Shoichiro Takeshita


Re: Moonshine IDE

2019-10-25 Thread Takeshita Shoichiro
Thanks


2019年10月25日(金) 18:02 Piotr Zarzycki :

> Yes it is possible. Try just point folder with Flash Builder and it should
> import project. There maybe check if paths are correct etc.
>
> Thanks,
> Piotr
>
> On Fri, Oct 25, 2019, 10:13 AM Takeshita Shoichiro 
> wrote:
>
>> Piotr, thanks.  Will try.
>>
>> I think it is possible to import an existing Flex desktop project, right?
>>
>> 2019年10月25日(金) 17:00 Piotr Zarzycki :
>>
>>> Hi Takeshita,
>>>
>>> I'm happy to give you short answer as one of the developer who is
>>> working on Moonshine.
>>>
>>> We do want to give user same capabilities as FB and even better. However
>>> there is probably lot's of to improve and the only way to have that
>>> improvement is feedback from such users like you.
>>>
>>> We support Flex desktop application, so go ahead and try - tell us what
>>> we missing and we are happy to improve.
>>>
>>> Raise an issue in our GitHub.
>>>
>>> Currently our Team is occupied with porting huge Flex application to
>>> Apache Royale and we are using Moonshine to do that every day. During that
>>> process we have found many places for improvement, which going to happen
>>> once we get back to normal development and evolution of that IDE.
>>>
>>> Go ahead and try - we are happy to help.
>>>
>>> Thanks,
>>> Piotr
>>>
>>>
>>> On Fri, Oct 25, 2019, 6:11 AM Takeshita Shoichiro 
>>> wrote:
>>>
>>>> This is not a question to Apache Royale.  But, since I do not know the
>>>> tight place, I’d like to ask it here.
>>>>
>>>> My questions are:
>>>>
>>>> Can Moonshine IDE provide the similar capabilities as Flash Builder 4.7?
>>>>
>>>> And are there any unsupported major functions?
>>>>
>>>> I’d like to know whether we can use Moonshine IDE replacing Flash
>>>> Builder when developing/maintaining Flex desktop application (AIR)?
>>>>
>>>> Thanks for your advice.
>>>> --
>>>> Shoichiro Takeshita
>>>> 武下 祥一郎
>>>>
>>> --
>> Shoichiro Takeshita
>> 武下 祥一郎
>>
>
> On Fri, Oct 25, 2019, 10:13 AM Takeshita Shoichiro 
> wrote:
>
>> Piotr, thanks.  Will try.
>>
>> I think it is possible to import an existing Flex desktop project, right?
>>
>> 2019年10月25日(金) 17:00 Piotr Zarzycki :
>>
>>> Hi Takeshita,
>>>
>>> I'm happy to give you short answer as one of the developer who is
>>> working on Moonshine.
>>>
>>> We do want to give user same capabilities as FB and even better. However
>>> there is probably lot's of to improve and the only way to have that
>>> improvement is feedback from such users like you.
>>>
>>> We support Flex desktop application, so go ahead and try - tell us what
>>> we missing and we are happy to improve.
>>>
>>> Raise an issue in our GitHub.
>>>
>>> Currently our Team is occupied with porting huge Flex application to
>>> Apache Royale and we are using Moonshine to do that every day. During that
>>> process we have found many places for improvement, which going to happen
>>> once we get back to normal development and evolution of that IDE.
>>>
>>> Go ahead and try - we are happy to help.
>>>
>>> Thanks,
>>> Piotr
>>>
>>>
>>> On Fri, Oct 25, 2019, 6:11 AM Takeshita Shoichiro 
>>> wrote:
>>>
>>>> This is not a question to Apache Royale.  But, since I do not know the
>>>> tight place, I’d like to ask it here.
>>>>
>>>> My questions are:
>>>>
>>>> Can Moonshine IDE provide the similar capabilities as Flash Builder 4.7?
>>>>
>>>> And are there any unsupported major functions?
>>>>
>>>> I’d like to know whether we can use Moonshine IDE replacing Flash
>>>> Builder when developing/maintaining Flex desktop application (AIR)?
>>>>
>>>> Thanks for your advice.
>>>> --
>>>> Shoichiro Takeshita
>>>> 武下 祥一郎
>>>>
>>> --
>> Shoichiro Takeshita
>> 武下 祥一郎
>>
> --
Shoichiro Takeshita
武下 祥一郎


Re: Moonshine IDE

2019-10-25 Thread Takeshita Shoichiro
Piotr, thanks.  Will try.

I think it is possible to import an existing Flex desktop project, right?

2019年10月25日(金) 17:00 Piotr Zarzycki :

> Hi Takeshita,
>
> I'm happy to give you short answer as one of the developer who is working
> on Moonshine.
>
> We do want to give user same capabilities as FB and even better. However
> there is probably lot's of to improve and the only way to have that
> improvement is feedback from such users like you.
>
> We support Flex desktop application, so go ahead and try - tell us what we
> missing and we are happy to improve.
>
> Raise an issue in our GitHub.
>
> Currently our Team is occupied with porting huge Flex application to
> Apache Royale and we are using Moonshine to do that every day. During that
> process we have found many places for improvement, which going to happen
> once we get back to normal development and evolution of that IDE.
>
> Go ahead and try - we are happy to help.
>
> Thanks,
> Piotr
>
>
> On Fri, Oct 25, 2019, 6:11 AM Takeshita Shoichiro 
> wrote:
>
>> This is not a question to Apache Royale.  But, since I do not know the
>> tight place, I’d like to ask it here.
>>
>> My questions are:
>>
>> Can Moonshine IDE provide the similar capabilities as Flash Builder 4.7?
>>
>> And are there any unsupported major functions?
>>
>> I’d like to know whether we can use Moonshine IDE replacing Flash Builder
>> when developing/maintaining Flex desktop application (AIR)?
>>
>> Thanks for your advice.
>> --
>> Shoichiro Takeshita
>> 武下 祥一郎
>>
> --
Shoichiro Takeshita
武下 祥一郎


Moonshine IDE

2019-10-24 Thread Takeshita Shoichiro
This is not a question to Apache Royale.  But, since I do not know the
tight place, I’d like to ask it here.

My questions are:

Can Moonshine IDE provide the similar capabilities as Flash Builder 4.7?

And are there any unsupported major functions?

I’d like to know whether we can use Moonshine IDE replacing Flash Builder
when developing/maintaining Flex desktop application (AIR)?

Thanks for your advice.
-- 
Shoichiro Takeshita
武下 祥一郎


Re: Cairngorm framework

2019-10-17 Thread Takeshita Shoichiro
Carlos, I do not know at moment how difficult it is.  So, firstly, I will
investigate the use of Crux with help of Greg.

2019年10月17日(木) 17:07 Carlos Rovira :

> Takehista,
>
> if you go for the emulation of Cairngorm, please, consider to donate it to
> the Royale. I'm sure others would want to use to migrate to.
> Thanks
>
> El jue., 17 oct. 2019 a las 8:36, Takeshita Shoichiro ()
> escribió:
>
>> Alex and Greg, thanks.
>>
>> 2019年10月17日(木) 14:33 Greg Dove :
>>
>>>
>>> Fwiw I did also look at Cairngorm before I ended up using Crux. iirc I
>>> think there might be some ADDED and REMOVED events for the views support
>>> that probably need to be addressed if you are using the views support.
>>> Crux has a stage events emulator that does that for
>>> addedToStage/removedFromStage, but ADDED and REMOVED are more about
>>> child/parent changes than about 'stage' I think.
>>>
>>> I used Crux mainly because I knew I could get it to work without any
>>> problems, and because I had other more critical issues to address (getting
>>> the Adobe rss syndication lib working, and in particular, the way it was
>>> being used in the app )
>>>
>>>
>>> On Thu, Oct 17, 2019 at 6:09 PM Alex Harui  wrote:
>>>
>>>> Yes, if you want to emulate Cairngorm, get the source and build it with
>>>> Flex so you know you have all of the pieces.
>>>>
>>>>
>>>>
>>>> Then, back up the source in case you need to go back and start
>>>> replacing the import flash.*.* with Royale imports.  For example:
>>>>
>>>>
>>>>
>>>>   Import flash.events.EventDispatcher;
>>>>
>>>>
>>>>
>>>> Would be replaced by
>>>>
>>>>
>>>>
>>>>   Import org.apache.royale.events.EventDispatcher;
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> If you have a question about what class to use as a replacement, ask on
>>>> d...@royale.apache.org.  Then try to compile with Royale and see what
>>>> kinds of errors you get.  If you don’t need the functionality in the code
>>>> that has a compile error, one option is to comment it out.  For example, I
>>>> just emulated WebService and commented out all of the flash.xml.XMLDocument
>>>> support because I don’t think many people used it.
>>>>
>>>>
>>>>
>>>> Good luck,
>>>>
>>>> -Alex
>>>>
>>>>
>>>>
>>>> *From: *Takeshita Shoichiro 
>>>> *Reply-To: *"users@royale.apache.org" 
>>>> *Date: *Wednesday, October 16, 2019 at 8:37 PM
>>>> *To: *"users@royale.apache.org" 
>>>> *Subject: *Re: Cairngorm framework
>>>>
>>>>
>>>>
>>>> Alex, I have a question re Cairngorm emulation?
>>>>
>>>>
>>>>
>>>> I think  I need to put the Cairngorm source in the Royale project src
>>>> folder.  Then, what should I do?
>>>>
>>>>
>>>>
>>>> Thanks for your advice.
>>>>
>>>>
>>>>
>>>> 2019年10月14日(月) 16:47 Takeshita Shoichiro :
>>>>
>>>> Carlos, thanks.
>>>>
>>>>
>>>>
>>>> I am very glad to hear that.
>>>>
>>>>
>>>>
>>>> Then, no hesitation to use Crux.
>>>>
>>>>
>>>>
>>>> 2019年10月14日(月) 16:43 Carlos Rovira :
>>>>
>>>> Hi Takeshita,
>>>>
>>>>
>>>>
>>>> I'll try to answer your questions
>>>>
>>>>
>>>>
>>>> El lun., 14 oct. 2019 a las 8:08, Takeshita Shoichiro (<
>>>> jl03...@gmail.com>) escribió:
>>>>
>>>>
>>>>
>>>> 1. Does Apache Royale contain almost the ready-to-use emulation code
>>>> for Swiz?  Or do we need more work for Apache Royale SDK?
>>>>
>>>>
>>>>
>>>> Yes. Swiz is ported to Royale (not emulated) and called Crux. So Crux
>>>> is ready to use for you right now. No more work are needed for Royale in
>>>> that line unless you report some bug around it.
>>>>
>>>>
>>>>
>>>> 2. Is the use of Jewel required?  Or is it possible also with existing
>>>> MXML code?
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Jewel is not required. In Royale you are not tied to only one UI Set
>>>> like in Flex. You have several ones to choose. You can use emulation
>>>> components for MX/Spark, Basic, Jewel, MDL
>>>>
>>>>
>>>>
>>>> If you use MXRoyale, you'll get a near 0% code changes, but your
>>>> application will look black/white unless you try to improve the look and
>>>> feel.
>>>>
>>>> In exchange, Jewel will requiere you to recode you visual code, what
>>>> means in most cases very easy changes, but is not as direct as MXRoyale, in
>>>> exchange you get a more good looking interface since Jewel is crafted with
>>>> look and feel and themes in mind.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> Carlos Rovira
>>>>
>>>> http://about.me/carlosrovira
>>>> <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira=02%7C01%7Caharui%40adobe.com%7C1858a2db58ac4f0aec6108d752b358af%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637068802551056250=IEzDj%2F6qvbZShnRtRGg%2FG9ZPrAbDLkNBRDk5cOnL1pw%3D=0>
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> Shoichiro Takeshita
>>>> 武下 祥一郎
>>>>
>>>> --
>>>>
>>>> Shoichiro Takeshita
>>>> 武下 祥一郎
>>>>
>>> --
>> Shoichiro Takeshita
>> 武下 祥一郎
>>
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
> --
Shoichiro Takeshita
武下 祥一郎


Re: Cairngorm framework

2019-10-17 Thread Takeshita Shoichiro
Alex and Greg, thanks.

2019年10月17日(木) 14:33 Greg Dove :

>
> Fwiw I did also look at Cairngorm before I ended up using Crux. iirc I
> think there might be some ADDED and REMOVED events for the views support
> that probably need to be addressed if you are using the views support.
> Crux has a stage events emulator that does that for
> addedToStage/removedFromStage, but ADDED and REMOVED are more about
> child/parent changes than about 'stage' I think.
>
> I used Crux mainly because I knew I could get it to work without any
> problems, and because I had other more critical issues to address (getting
> the Adobe rss syndication lib working, and in particular, the way it was
> being used in the app )
>
>
> On Thu, Oct 17, 2019 at 6:09 PM Alex Harui  wrote:
>
>> Yes, if you want to emulate Cairngorm, get the source and build it with
>> Flex so you know you have all of the pieces.
>>
>>
>>
>> Then, back up the source in case you need to go back and start replacing
>> the import flash.*.* with Royale imports.  For example:
>>
>>
>>
>>   Import flash.events.EventDispatcher;
>>
>>
>>
>> Would be replaced by
>>
>>
>>
>>   Import org.apache.royale.events.EventDispatcher;
>>
>>
>>
>>
>>
>> If you have a question about what class to use as a replacement, ask on
>> d...@royale.apache.org.  Then try to compile with Royale and see what
>> kinds of errors you get.  If you don’t need the functionality in the code
>> that has a compile error, one option is to comment it out.  For example, I
>> just emulated WebService and commented out all of the flash.xml.XMLDocument
>> support because I don’t think many people used it.
>>
>>
>>
>> Good luck,
>>
>> -Alex
>>
>>
>>
>> *From: *Takeshita Shoichiro 
>> *Reply-To: *"users@royale.apache.org" 
>> *Date: *Wednesday, October 16, 2019 at 8:37 PM
>> *To: *"users@royale.apache.org" 
>> *Subject: *Re: Cairngorm framework
>>
>>
>>
>> Alex, I have a question re Cairngorm emulation?
>>
>>
>>
>> I think  I need to put the Cairngorm source in the Royale project src
>> folder.  Then, what should I do?
>>
>>
>>
>> Thanks for your advice.
>>
>>
>>
>> 2019年10月14日(月) 16:47 Takeshita Shoichiro :
>>
>> Carlos, thanks.
>>
>>
>>
>> I am very glad to hear that.
>>
>>
>>
>> Then, no hesitation to use Crux.
>>
>>
>>
>> 2019年10月14日(月) 16:43 Carlos Rovira :
>>
>> Hi Takeshita,
>>
>>
>>
>> I'll try to answer your questions
>>
>>
>>
>> El lun., 14 oct. 2019 a las 8:08, Takeshita Shoichiro ()
>> escribió:
>>
>>
>>
>> 1. Does Apache Royale contain almost the ready-to-use emulation code for
>> Swiz?  Or do we need more work for Apache Royale SDK?
>>
>>
>>
>> Yes. Swiz is ported to Royale (not emulated) and called Crux. So Crux is
>> ready to use for you right now. No more work are needed for Royale in that
>> line unless you report some bug around it.
>>
>>
>>
>> 2. Is the use of Jewel required?  Or is it possible also with existing
>> MXML code?
>>
>>
>>
>>
>>
>> Jewel is not required. In Royale you are not tied to only one UI Set like
>> in Flex. You have several ones to choose. You can use emulation components
>> for MX/Spark, Basic, Jewel, MDL
>>
>>
>>
>> If you use MXRoyale, you'll get a near 0% code changes, but your
>> application will look black/white unless you try to improve the look and
>> feel.
>>
>> In exchange, Jewel will requiere you to recode you visual code, what
>> means in most cases very easy changes, but is not as direct as MXRoyale, in
>> exchange you get a more good looking interface since Jewel is crafted with
>> look and feel and themes in mind.
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> --
>>
>> Carlos Rovira
>>
>> http://about.me/carlosrovira
>> <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira=02%7C01%7Caharui%40adobe.com%7C1858a2db58ac4f0aec6108d752b358af%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637068802551056250=IEzDj%2F6qvbZShnRtRGg%2FG9ZPrAbDLkNBRDk5cOnL1pw%3D=0>
>>
>>
>>
>> --
>>
>> Shoichiro Takeshita
>> 武下 祥一郎
>>
>> --
>>
>> Shoichiro Takeshita
>> 武下 祥一郎
>>
> --
Shoichiro Takeshita
武下 祥一郎


Re: Cairngorm framework

2019-10-16 Thread Takeshita Shoichiro
Alex, I have a question re Cairngorm emulation?

I think  I need to put the Cairngorm source in the Royale project src
folder.  Then, what should I do?

Thanks for your advice.

2019年10月14日(月) 16:47 Takeshita Shoichiro :

> Carlos, thanks.
>
> I am very glad to hear that.
>
> Then, no hesitation to use Crux.
>
> 2019年10月14日(月) 16:43 Carlos Rovira :
>
>> Hi Takeshita,
>>
>> I'll try to answer your questions
>>
>> El lun., 14 oct. 2019 a las 8:08, Takeshita Shoichiro ()
>> escribió:
>>
>>>
>>> 1. Does Apache Royale contain almost the ready-to-use emulation code for
>>> Swiz?  Or do we need more work for Apache Royale SDK?
>>>
>>
>> Yes. Swiz is ported to Royale (not emulated) and called Crux. So Crux is
>> ready to use for you right now. No more work are needed for Royale in that
>> line unless you report some bug around it.
>>
>>
>>> 2. Is the use of Jewel required?  Or is it possible also with existing
>>> MXML code?
>>>
>>>
>> Jewel is not required. In Royale you are not tied to only one UI Set like
>> in Flex. You have several ones to choose. You can use emulation components
>> for MX/Spark, Basic, Jewel, MDL
>>
>> If you use MXRoyale, you'll get a near 0% code changes, but your
>> application will look black/white unless you try to improve the look and
>> feel.
>> In exchange, Jewel will requiere you to recode you visual code, what
>> means in most cases very easy changes, but is not as direct as MXRoyale, in
>> exchange you get a more good looking interface since Jewel is crafted with
>> look and feel and themes in mind.
>>
>>
>>
>>
>>
>> --
>> Carlos Rovira
>> http://about.me/carlosrovira
>>
>> --
> Shoichiro Takeshita
> 武下 祥一郎
>
-- 
Shoichiro Takeshita
武下 祥一郎


Re: Import royale-asis/examples folder to Eclipse

2019-10-16 Thread Takeshita Shoichiro
Carlos, thanks.  Got it.

2019年10月17日(木) 0:57 Carlos Rovira :

> That's exactly what we did :)
>
> We use IntelliJ for both Java and Flex, but now we use IntelliJ for Java
> and VSCode/Moonshine for Royale. The main point was not change a single
> line or config in the java server side and focus just on Royale using the
> exact same API for server communication through AMF/RemoteObject. And we
> did it :)
>
> El mié., 16 oct. 2019 a las 16:16, Takeshita Shoichiro ()
> escribió:
>
>> Carlos, thanks.  Our Flex application uses BlazeDS.  You mean, there will
>> be no changes at the server side with Royale?  If so, we can only focus on
>> presentation layer.  Will use VS code.
>>
>> 2019年10月16日(水) 23:01 Carlos Rovira :
>>
>>> Hi,
>>>
>>> notice that I give you the most easy way, but that take more time that
>>> just compile the few projects you want doing the same in its own folders,
>>> that should be just few seconds.
>>>
>>> About creating a project in Eclipse for BlazeDS. That's just a standard
>>> java web app (a WAR) and you can do it in the same way you'll do any other
>>> java web app project. That's beyond royale and there's many tutorials,
>>> articles and courses on the web. Once you have that standard web app, you
>>> can add the blazeds jars and config. For that you can check how
>>> SampleAmfWebApp do it, or again search the web for some BlazeDS article
>>> about it.
>>>
>>> About Royale project basic project for Eclipse there's Flash Builder,
>>> although I must warn you that is a very old Adobe app without support or
>>> updates for almost 10 years. Some people are using it. Other are using
>>> VSCode or Moonshine IDEs that are far new and updated each month with new
>>> bug fixes and features.
>>>
>>> https://royale.apache.org/ides/
>>> https://apache.github.io/royale-docs/get-started/development-tools
>>>
>>>
>>>
>>>
>>> El mié., 16 oct. 2019 a las 15:34, Takeshita Shoichiro (<
>>> jl03...@gmail.com>) escribió:
>>>
>>>> Carlos, thanks.
>>>>
>>>> I could compile by executing maven clean install at
>>>> /royale-asis/example.  Took 4 min. on my MacBook Pro.  It seems the
>>>> compilation requires released zip structure.  It seems these examples
>>>> cannot be imported into Eclipse as these are.
>>>>
>>>> I want to create a basic Royale project in Eclipse, which only contain
>>>> server side Java code with BlazeDS library.  As to the Flex portion, in the
>>>> meantime, I 'd like to create a project using Visual Studio Code. Any
>>>> reference that makes this happen?
>>>>
>>>>
>>>> On Wed, Oct 16, 2019 at 9:36 PM Carlos Rovira 
>>>> wrote:
>>>>
>>>>> Hi Takeshita,
>>>>>
>>>>> most easy way is just position on examples folder and run "mvn clean
>>>>> install" (optional add -DskipTests to avoid building with tests).
>>>>> This will build all examples in that subtree folder with maven.
>>>>> You'll get RemoteObjectAMFTest and SampleAmfWebApp build with maven
>>>>> and ready to be deployed.
>>>>>
>>>>> El mié., 16 oct. 2019 a las 3:35, Takeshita Shoichiro (<
>>>>> jl03...@gmail.com>) escribió:
>>>>>
>>>>>> Firstly, I copy this folder to a new folder; then import the folder
>>>>>> to Eclipse.
>>>>>>
>>>>>> It took rather long time.
>>>>>> During importing, Eclipse claims maven build errors.
>>>>>>
>>>>>>
>>>>>> royale-maven-plugin:0.9.6:compile-app (70 errors)
>>>>>>
>>>>>> royale-maven-plugin:0.9.6:compile-trust (70 errors)
>>>>>>
>>>>>>
>>>>>> My primary purpose is to build SampleAmfWebApp and run it.
>>>>>>
>>>>>> In its pom.xml, errors are marked for combine.self.  I need to fix
>>>>>> these before build.
>>>>>>
>>>>>>
>>>>>> README seems to say, to run SampleAmfWebApp, RemoteObjectAMFTest is
>>>>>> required.  In its pom.xml, there is a plugin error.
>>>>>>
>>>>>>
>>>>>> Multiple annotations found at this line.
>>>>>>
>>>>>> It is related to the above mentioned maven errors.
>>>>>>
>>>>>>
>>>>>> Are there any problems to import examples to Eclipse?
>>>>>>
>>>>>> If so, what is a recommended way to build and run SampleAmfWebApp.
>>>>>> --
>>>>>> Shoichiro Takeshita
>>>>>> 武下 祥一郎
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Carlos Rovira
>>>>> http://about.me/carlosrovira
>>>>>
>>>>>
>>>>
>>>> --
>>>> Shoichiro Takeshita
>>>> 武下 祥一郎
>>>>
>>>
>>>
>>> --
>>> Carlos Rovira
>>> http://about.me/carlosrovira
>>>
>>> --
>> Shoichiro Takeshita
>> 武下 祥一郎
>>
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
> --
Shoichiro Takeshita
武下 祥一郎


Re: Import royale-asis/examples folder to Eclipse

2019-10-16 Thread Takeshita Shoichiro
Carlos, thanks.  Our Flex application uses BlazeDS.  You mean, there will
be no changes at the server side with Royale?  If so, we can only focus on
presentation layer.  Will use VS code.

2019年10月16日(水) 23:01 Carlos Rovira :

> Hi,
>
> notice that I give you the most easy way, but that take more time that
> just compile the few projects you want doing the same in its own folders,
> that should be just few seconds.
>
> About creating a project in Eclipse for BlazeDS. That's just a standard
> java web app (a WAR) and you can do it in the same way you'll do any other
> java web app project. That's beyond royale and there's many tutorials,
> articles and courses on the web. Once you have that standard web app, you
> can add the blazeds jars and config. For that you can check how
> SampleAmfWebApp do it, or again search the web for some BlazeDS article
> about it.
>
> About Royale project basic project for Eclipse there's Flash Builder,
> although I must warn you that is a very old Adobe app without support or
> updates for almost 10 years. Some people are using it. Other are using
> VSCode or Moonshine IDEs that are far new and updated each month with new
> bug fixes and features.
>
> https://royale.apache.org/ides/
> https://apache.github.io/royale-docs/get-started/development-tools
>
>
>
>
> El mié., 16 oct. 2019 a las 15:34, Takeshita Shoichiro ()
> escribió:
>
>> Carlos, thanks.
>>
>> I could compile by executing maven clean install at
>> /royale-asis/example.  Took 4 min. on my MacBook Pro.  It seems the
>> compilation requires released zip structure.  It seems these examples
>> cannot be imported into Eclipse as these are.
>>
>> I want to create a basic Royale project in Eclipse, which only contain
>> server side Java code with BlazeDS library.  As to the Flex portion, in the
>> meantime, I 'd like to create a project using Visual Studio Code. Any
>> reference that makes this happen?
>>
>>
>> On Wed, Oct 16, 2019 at 9:36 PM Carlos Rovira 
>> wrote:
>>
>>> Hi Takeshita,
>>>
>>> most easy way is just position on examples folder and run "mvn clean
>>> install" (optional add -DskipTests to avoid building with tests).
>>> This will build all examples in that subtree folder with maven.
>>> You'll get RemoteObjectAMFTest and SampleAmfWebApp build with maven and
>>> ready to be deployed.
>>>
>>> El mié., 16 oct. 2019 a las 3:35, Takeshita Shoichiro (<
>>> jl03...@gmail.com>) escribió:
>>>
>>>> Firstly, I copy this folder to a new folder; then import the folder to
>>>> Eclipse.
>>>>
>>>> It took rather long time.
>>>> During importing, Eclipse claims maven build errors.
>>>>
>>>>
>>>> royale-maven-plugin:0.9.6:compile-app (70 errors)
>>>>
>>>> royale-maven-plugin:0.9.6:compile-trust (70 errors)
>>>>
>>>>
>>>> My primary purpose is to build SampleAmfWebApp and run it.
>>>>
>>>> In its pom.xml, errors are marked for combine.self.  I need to fix
>>>> these before build.
>>>>
>>>>
>>>> README seems to say, to run SampleAmfWebApp, RemoteObjectAMFTest is
>>>> required.  In its pom.xml, there is a plugin error.
>>>>
>>>>
>>>> Multiple annotations found at this line.
>>>>
>>>> It is related to the above mentioned maven errors.
>>>>
>>>>
>>>> Are there any problems to import examples to Eclipse?
>>>>
>>>> If so, what is a recommended way to build and run SampleAmfWebApp.
>>>> --
>>>> Shoichiro Takeshita
>>>> 武下 祥一郎
>>>>
>>>
>>>
>>> --
>>> Carlos Rovira
>>> http://about.me/carlosrovira
>>>
>>>
>>
>> --
>> Shoichiro Takeshita
>> 武下 祥一郎
>>
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
> --
Shoichiro Takeshita
武下 祥一郎


Re: Import royale-asis/examples folder to Eclipse

2019-10-16 Thread Takeshita Shoichiro
Carlos, thanks.

I could compile by executing maven clean install at /royale-asis/example.
Took 4 min. on my MacBook Pro.  It seems the compilation requires released
zip structure.  It seems these examples cannot be imported into Eclipse as
these are.

I want to create a basic Royale project in Eclipse, which only contain
server side Java code with BlazeDS library.  As to the Flex portion, in the
meantime, I 'd like to create a project using Visual Studio Code. Any
reference that makes this happen?


On Wed, Oct 16, 2019 at 9:36 PM Carlos Rovira 
wrote:

> Hi Takeshita,
>
> most easy way is just position on examples folder and run "mvn clean
> install" (optional add -DskipTests to avoid building with tests).
> This will build all examples in that subtree folder with maven.
> You'll get RemoteObjectAMFTest and SampleAmfWebApp build with maven and
> ready to be deployed.
>
> El mié., 16 oct. 2019 a las 3:35, Takeshita Shoichiro ()
> escribió:
>
>> Firstly, I copy this folder to a new folder; then import the folder to
>> Eclipse.
>>
>> It took rather long time.
>> During importing, Eclipse claims maven build errors.
>>
>>
>> royale-maven-plugin:0.9.6:compile-app (70 errors)
>>
>> royale-maven-plugin:0.9.6:compile-trust (70 errors)
>>
>>
>> My primary purpose is to build SampleAmfWebApp and run it.
>>
>> In its pom.xml, errors are marked for combine.self.  I need to fix these
>> before build.
>>
>>
>> README seems to say, to run SampleAmfWebApp, RemoteObjectAMFTest is
>> required.  In its pom.xml, there is a plugin error.
>>
>>
>> Multiple annotations found at this line.
>>
>> It is related to the above mentioned maven errors.
>>
>>
>> Are there any problems to import examples to Eclipse?
>>
>> If so, what is a recommended way to build and run SampleAmfWebApp.
>> --
>> Shoichiro Takeshita
>> 武下 祥一郎
>>
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
>

-- 
Shoichiro Takeshita
武下 祥一郎


Import royale-asis/examples folder to Eclipse

2019-10-15 Thread Takeshita Shoichiro
Firstly, I copy this folder to a new folder; then import the folder to
Eclipse.

It took rather long time.
During importing, Eclipse claims maven build errors.


royale-maven-plugin:0.9.6:compile-app (70 errors)

royale-maven-plugin:0.9.6:compile-trust (70 errors)


My primary purpose is to build SampleAmfWebApp and run it.

In its pom.xml, errors are marked for combine.self.  I need to fix these
before build.


README seems to say, to run SampleAmfWebApp, RemoteObjectAMFTest is
required.  In its pom.xml, there is a plugin error.


Multiple annotations found at this line.

It is related to the above mentioned maven errors.


Are there any problems to import examples to Eclipse?

If so, what is a recommended way to build and run SampleAmfWebApp.
-- 
Shoichiro Takeshita
武下 祥一郎


Re: Cairngorm framework

2019-10-14 Thread Takeshita Shoichiro
Carlos, thanks.

I am very glad to hear that.

Then, no hesitation to use Crux.

2019年10月14日(月) 16:43 Carlos Rovira :

> Hi Takeshita,
>
> I'll try to answer your questions
>
> El lun., 14 oct. 2019 a las 8:08, Takeshita Shoichiro ()
> escribió:
>
>>
>> 1. Does Apache Royale contain almost the ready-to-use emulation code for
>> Swiz?  Or do we need more work for Apache Royale SDK?
>>
>
> Yes. Swiz is ported to Royale (not emulated) and called Crux. So Crux is
> ready to use for you right now. No more work are needed for Royale in that
> line unless you report some bug around it.
>
>
>> 2. Is the use of Jewel required?  Or is it possible also with existing
>> MXML code?
>>
>>
> Jewel is not required. In Royale you are not tied to only one UI Set like
> in Flex. You have several ones to choose. You can use emulation components
> for MX/Spark, Basic, Jewel, MDL
>
> If you use MXRoyale, you'll get a near 0% code changes, but your
> application will look black/white unless you try to improve the look and
> feel.
> In exchange, Jewel will requiere you to recode you visual code, what means
> in most cases very easy changes, but is not as direct as MXRoyale, in
> exchange you get a more good looking interface since Jewel is crafted with
> look and feel and themes in mind.
>
>
>
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
> --
Shoichiro Takeshita
武下 祥一郎


Re: [ANNOUNCE] Apache Royale 0.9.6 released!

2019-10-14 Thread Takeshita Shoichiro
Piotr, thanks.  It worked.

By the way, this problem was reported by me long before.

On Mon, Oct 14, 2019 at 2:47 PM Piotr Zarzycki 
wrote:

> Hi Takeshita,
>
> Yes we know about that issue. You can do workaround for now provided here
> [1]
>
> [1]
> http://apache-royale-development.20373.n8.nabble.com/Broken-royale-config-in-JS-only-build-of-released-Apache-Royale-SDK-0-9-6-td12515.html#a12543
>
> Thanks,
> Piotr
>
> On Mon, Oct 14, 2019, 7:23 AM Takeshita Shoichiro 
> wrote:
>
>> Hi,
>>
>> The build error occurs claiming that no xxx.swc files exist in
>> royale-asjs/frameworks/libs/.
>>
>> In case of royale-js-swf, the corresponding directory contains required
>> swc files.
>>
>> Would you please check whether this is a feature or a packing problem?
>>
>> Thanks.
>>
>>
>> -
>>
>> > Executing task in folder Test Royale:
>> /Library/Java/JavaVirtualMachines/jdk1.8.0_151.jdk/Contents/Home/bin/java
>> -jar
>> /Users/taksho/.vscode/extensions/bowlerhatllc.vscode-nextgenas-0.23.0/bin/asconfigc.jar
>> --sdk /Users/taksho/royale/royale-asjs --debug=true --project
>> /Users/taksho/Test Royale/asconfig.json <
>>
>> MXMLJSC
>> +royalelib=/Users/taksho/royale/royale-asjs/frameworks
>> --debug=true
>> --source-map=true
>> --targets=JSRoyale
>> --theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults.css
>> --source-path+=src
>> --
>> src/Main.mxml
>> /Users/taksho/royale/royale-asjs/frameworks/royale-config.xml(129): col:
>> 0 エラー : '/Users/taksho/royale/royale-asjs/frameworks/libs/Basic.swc'
>> を開くことができません。
>> /Users/taksho/royale/royale-asjs/frameworks/royale-config.xml (line: 129)
>>
>>   
>>
>> On Wed, Oct 9, 2019 at 5:51 PM Carlos Rovira 
>> wrote:
>>
>>> Hi Radu,
>>>
>>> 0.9.6 is almost 1.0 quality, but we still need to continue working on
>>> things like docs.
>>> With the new improved release process we should be more agile so it's
>>> possible that we can reach 1.0 before end of this year (just talking from
>>> my own).
>>> At this point you or any other user shouldn't be slowed down by the
>>> number of the version. Instead I encourage you to start using it for
>>> production (if you are not doing it yet), and collaborating and
>>> contributing in this list and in the project as much as possible.
>>>
>>> This project is for all of us, so don't miss the opportunity to
>>> contribute what you can.
>>>
>>> Thanks! :)
>>>
>>>
>>>
>>> El mié., 9 oct. 2019 a las 10:21, radu birsan ()
>>> escribió:
>>>
>>>> Congrats,
>>>>
>>>>Push out the 1.0 as soon as possible please.
>>>>
>>>> Thank you,
>>>> Radu
>>>>
>>>> On Wed, Oct 9, 2019 at 11:06 AM Carlos Rovira 
>>>> wrote:
>>>>
>>>>> Congratulations to all people involved in this release. It was huge
>>>>> and very challenging one!
>>>>>
>>>>> We are more close to an official 1.0! :D
>>>>>
>>>>> El mié., 9 oct. 2019 a las 9:38, Piotr Zarzycki (<
>>>>> piotrzarzyck...@gmail.com>) escribió:
>>>>>
>>>>>> The Apache Royale community is pleased to announce the release of
>>>>>> Apache Royale 0.9.6.
>>>>>>
>>>>>> The Apache Royale project is the next generation of the Apache Flex
>>>>>> SDK. It lets developers use MXML and ActionScript 3 to generate 
>>>>>> HTML/JS/CSS
>>>>>> applications which can run natively in browsers. The cross-compiled code
>>>>>> can also run on platforms like Electron or Apache Cordova (Adobe 
>>>>>> PhoneGap)
>>>>>> to build mobile applications.
>>>>>>
>>>>>> This release should be considered ‘beta’ quality, although we’re very
>>>>>> close to a 1.0 release and we have many applications in production at 
>>>>>> this
>>>>>> point. The purpose of this release is to continue to gather feedback 
>>>>>> about
>>>>>> Royale’s features and the project’s implementation strategies, and to
>>>>>> recruit new contributors. We hope to grow the code base into an SDK and
>>>

Re: Cairngorm framework

2019-10-14 Thread Takeshita Shoichiro
t will help others to get it working. I think guides are much
>> better when they directly incorporate the perspective of someone who is
>> approaching this for the first time. (I'm not making this a condition for
>> my help, just suggesting it as an option, because we're keen to make it
>> easy for more people to contribute to Royale).
>>
>> A couple of things I can remember without going back to look at any
>> specifics:
>> For Crux commands:
>>
>> The execute method has no argument in Crux. In Cairngorm it has the event
>> as the argument, iirc.
>> ICommand does not provide access to the event.
>> implement IEventAwareCommand if you want access to the event in the
>> command.
>>
>> Global Dispatcher access:
>> Because the Cairngorm code used a lot of singleton access, I cheated a
>> bit and matched that for some of the code I was porting.
>> I created a DispatcherAccessor with singleton access which I can probably
>> add to the Crux lib as a util class for this type of thing.
>> It is just used to inject the main dispatcher in during configuration,
>> then it can be used elsewhere in a similar way to how the original
>> Cairngorm code was accessing its global dispatcher. Or you can go full
>> conversion and switch everything to use injection for dispatcher access,
>> for example.
>>
>> Note also that the support for processing of View components (the ability
>> to inject into view components, run PostConstruct methods etc, requires the
>> 'JSStageEvents' bead to simulate stage events. You can see that in the
>> examples in the main app.
>>
>>
>>
>> On Sat, Oct 12, 2019 at 8:54 PM Takeshita Shoichiro 
>> wrote:
>>
>>> Alex and Greg, thanks.
>>>
>>> I'd like to try Crux first.
>>>
>>> Greg, several questions for CruxGitHubCommitLogViewer.
>>>
>>> 1. "model" is the same as Cairngorm's vo (value object)?
>>> 2. Is like ServiceLocator mxml required for Crux also?
>>> 3. When sending/receiving to/from application server using RemoteObject,
>>> how it is coded in Crux?
>>> 4. Is there any short introduction to migrate from Cairngorm to Crux?
>>>
>>> Thanks.
>>>
>>>
>>>
>>>
>>>
>>> On Sat, Oct 12, 2019 at 3:51 PM Greg Dove  wrote:
>>>
>>>> Fyi I recently ported a Cairngorm app to Royale replacing cairngorm
>>>> with Apache Royale Crux (based on Swiz). That part was quite easy. That's
>>>> another option to consider.
>>>>
>>>> On Sat, 12 Oct 2019, 19:38 Alex Harui,  wrote:
>>>>
>>>>> It should be possible to emulate Cairngorm similar to how the MXRoyale
>>>>> and SparkRoyale components emulate the Flex MX and Spark components.  The
>>>>> source code appears to still be on SourceForge
>>>>> https://sourceforge.net/projects/cairngorm.adobe/
>>>>>
>>>>>
>>>>>
>>>>> I don’t have time to work on emulating Cairngorm right now.  You could
>>>>> do it, or hire someone to do it.
>>>>>
>>>>>
>>>>>
>>>>> HTH,
>>>>>
>>>>> -Alex
>>>>>
>>>>>
>>>>>
>>>>> *From: *Takeshita Shoichiro 
>>>>> *Reply-To: *"users@royale.apache.org" 
>>>>> *Date: *Friday, October 11, 2019 at 10:39 PM
>>>>> *To: *"users@royale.apache.org" 
>>>>> *Subject: *Cairngorm framework
>>>>>
>>>>>
>>>>>
>>>>> Alex, thanks.
>>>>>
>>>>>
>>>>>
>>>>> Appreciate to every one to respond to my question in this thread.
>>>>>
>>>>>
>>>>> --
>>>>>
>>>>> Our Flex application uses Cairngorm framework, which means
>>>>> Cairngorm.swc is included in lib.
>>>>>
>>>>> I think it will not work without Flash.  Is there any solution to work
>>>>> Flex code that uses Cairngorm with Apache Royale?
>>>>>
>>>>> Appreciate any advice in advance.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>> --
>>> Shoichiro Takeshita
>>> 武下 祥一郎
>>>
>>>
>>> <https://www.avast.com/sig-email?utm_medium=email_source=link_campaign=sig-email_content=webmail>
>>>  ウイルス
>>> フリー。 www.avast.com
>>> <https://www.avast.com/sig-email?utm_medium=email_source=link_campaign=sig-email_content=webmail>
>>> <#m_4858537575711043351_m_-648658528344627431_m_1038977350632280350_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>>
>>

-- 
Shoichiro Takeshita
武下 祥一郎


Re: [ANNOUNCE] Apache Royale 0.9.6 released!

2019-10-13 Thread Takeshita Shoichiro
Hi,

The build error occurs claiming that no xxx.swc files exist in
royale-asjs/frameworks/libs/.

In case of royale-js-swf, the corresponding directory contains required swc
files.

Would you please check whether this is a feature or a packing problem?

Thanks.

-

> Executing task in folder Test Royale:
/Library/Java/JavaVirtualMachines/jdk1.8.0_151.jdk/Contents/Home/bin/java
-jar
/Users/taksho/.vscode/extensions/bowlerhatllc.vscode-nextgenas-0.23.0/bin/asconfigc.jar
--sdk /Users/taksho/royale/royale-asjs --debug=true --project
/Users/taksho/Test Royale/asconfig.json <

MXMLJSC
+royalelib=/Users/taksho/royale/royale-asjs/frameworks
--debug=true
--source-map=true
--targets=JSRoyale
--theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults.css
--source-path+=src
--
src/Main.mxml
/Users/taksho/royale/royale-asjs/frameworks/royale-config.xml(129): col: 0
エラー : '/Users/taksho/royale/royale-asjs/frameworks/libs/Basic.swc'
を開くことができません。
/Users/taksho/royale/royale-asjs/frameworks/royale-config.xml (line: 129)

  

On Wed, Oct 9, 2019 at 5:51 PM Carlos Rovira 
wrote:

> Hi Radu,
>
> 0.9.6 is almost 1.0 quality, but we still need to continue working on
> things like docs.
> With the new improved release process we should be more agile so it's
> possible that we can reach 1.0 before end of this year (just talking from
> my own).
> At this point you or any other user shouldn't be slowed down by the number
> of the version. Instead I encourage you to start using it for production
> (if you are not doing it yet), and collaborating and contributing in this
> list and in the project as much as possible.
>
> This project is for all of us, so don't miss the opportunity to contribute
> what you can.
>
> Thanks! :)
>
>
>
> El mié., 9 oct. 2019 a las 10:21, radu birsan ()
> escribió:
>
>> Congrats,
>>
>>Push out the 1.0 as soon as possible please.
>>
>> Thank you,
>> Radu
>>
>> On Wed, Oct 9, 2019 at 11:06 AM Carlos Rovira 
>> wrote:
>>
>>> Congratulations to all people involved in this release. It was huge and
>>> very challenging one!
>>>
>>> We are more close to an official 1.0! :D
>>>
>>> El mié., 9 oct. 2019 a las 9:38, Piotr Zarzycki (<
>>> piotrzarzyck...@gmail.com>) escribió:
>>>
 The Apache Royale community is pleased to announce the release of
 Apache Royale 0.9.6.

 The Apache Royale project is the next generation of the Apache Flex
 SDK. It lets developers use MXML and ActionScript 3 to generate HTML/JS/CSS
 applications which can run natively in browsers. The cross-compiled code
 can also run on platforms like Electron or Apache Cordova (Adobe PhoneGap)
 to build mobile applications.

 This release should be considered ‘beta’ quality, although we’re very
 close to a 1.0 release and we have many applications in production at this
 point. The purpose of this release is to continue to gather feedback about
 Royale’s features and the project’s implementation strategies, and to
 recruit new contributors. We hope to grow the code base into an SDK and
 tool chain that delivers the highest productivity when developing
 applications that can run on many platforms. Beta releases, however, may
 not handle all production needs.

 Changes in 0.9.6:

 Apache Royale Framework 0.9.6:
 https://github.com/apache/royale-asjs/blob/apache-royale-0.9.6/RELEASE_NOTES.md
 Apache Royale Compiler 0.9.6:
 https://github.com/apache/royale-compiler/blob/apache-royale-0.9.6/RELEASE_NOTES.md

 Please file bugs at:

 https://github.com/apache/royale-asjs/issues

 If you happen to know it is a compiler issue, please use:

 https://github.com/apache/royale-compiler/issues

 For questions about how to use Royale, send email to
 users@royale.apache.org. For questions and feedback on the development
 of the source code in the release, send email to d...@royale.apache.org.

 Apache Royale is available in source and binary form from the Apache
 mirrors:

 Source:

 http://www.apache.org/dyn/closer.lua/royale/0.9.6/apache-royale-0.9.6-src.tar.gz


 http://www.apache.org/dyn/closer.lua/royale/0.9.6/apache-royale-0.9.6-src.zip

 Binary:

 http://www.apache.org/dyn/closer.lua/royale/0.9.6/binaries/apache-royale-0.9.6-bin-js.tar.gz

 http://www.apache.org/dyn/closer.lua/royale/0.9.6/binaries/apache-royale-0.9.6-bin-js.zip

 Binary with SWF support:

 http://www.apache.org/dyn/closer.lua/royale/0.9.6/binaries/apache-royale-0.9.6-bin-js-swf.tar.gz

 http://www.apache.org/dyn/closer.lua/royale/0.9.6/binaries/apache-royale-0.9.6-bin-js-swf.zip

 When downloading from a mirror site, please remember to verify the
 downloads using signatures or MD5 hashes.

 The binary packages 

Re: Cairngorm framework

2019-10-12 Thread Takeshita Shoichiro
Alex and Greg, thanks.

I'd like to try Crux first.

Greg, several questions for CruxGitHubCommitLogViewer.

1. "model" is the same as Cairngorm's vo (value object)?
2. Is like ServiceLocator mxml required for Crux also?
3. When sending/receiving to/from application server using RemoteObject,
how it is coded in Crux?
4. Is there any short introduction to migrate from Cairngorm to Crux?

Thanks.





On Sat, Oct 12, 2019 at 3:51 PM Greg Dove  wrote:

> Fyi I recently ported a Cairngorm app to Royale replacing cairngorm with
> Apache Royale Crux (based on Swiz). That part was quite easy. That's
> another option to consider.
>
> On Sat, 12 Oct 2019, 19:38 Alex Harui,  wrote:
>
>> It should be possible to emulate Cairngorm similar to how the MXRoyale
>> and SparkRoyale components emulate the Flex MX and Spark components.  The
>> source code appears to still be on SourceForge
>> https://sourceforge.net/projects/cairngorm.adobe/
>>
>>
>>
>> I don’t have time to work on emulating Cairngorm right now.  You could do
>> it, or hire someone to do it.
>>
>>
>>
>> HTH,
>>
>> -Alex
>>
>>
>>
>> *From: *Takeshita Shoichiro 
>> *Reply-To: *"users@royale.apache.org" 
>> *Date: *Friday, October 11, 2019 at 10:39 PM
>> *To: *"users@royale.apache.org" 
>> *Subject: *Cairngorm framework
>>
>>
>>
>> Alex, thanks.
>>
>>
>>
>> Appreciate to every one to respond to my question in this thread.
>>
>>
>> --
>>
>> Our Flex application uses Cairngorm framework, which means Cairngorm.swc
>> is included in lib.
>>
>> I think it will not work without Flash.  Is there any solution to work
>> Flex code that uses Cairngorm with Apache Royale?
>>
>> Appreciate any advice in advance.
>>
>>
>>
>>
>>
>

-- 
Shoichiro Takeshita
武下 祥一郎

<https://www.avast.com/sig-email?utm_medium=email_source=link_campaign=sig-email_content=webmail>
ウイルス
フリー。 www.avast.com
<https://www.avast.com/sig-email?utm_medium=email_source=link_campaign=sig-email_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>


Cairngorm framework

2019-10-11 Thread Takeshita Shoichiro
Alex, thanks.

Appreciate to every one to respond to my question in this thread.
--
Our Flex application uses Cairngorm framework, which means Cairngorm.swc is
included in lib.

I think it will not work without Flash.  Is there any solution to work Flex
code that uses Cairngorm with Apache Royale?

Appreciate any advice in advance.


  1   2   >