Build failed in Jenkins: royale-asjs #1331

2018-09-14 Thread apacheroyaleci
See 


Changes:

[aharui] Revert "try setting scm version this way.  Maven's release plugin seems

[aharui] try using the most recent snapshot of the release plugin.  I think its

[aharui] add target to build maven release plugin from sources.  This is needed

[aharui] update version to 0.9.4

--
[...truncated 91.93 KB...]
   [delete] Deleting: 


mxtests-clean:

clean:
   [delete] Deleting: 

   [delete] Deleting directory 

   [delete] Deleting directory 

 [echo] ROYALE_HOME = 

 [echo] royalelib = 

 [echo] doc_output = 

 [echo] compiler.source-path = 


clean:

super-clean:
   [delete] Deleting directory 

   [delete] Deleting directory 

   [delete] Deleting directory 

   [delete] Deleting directory 

   [delete] Deleting directory 

   [delete] Deleting directory 

   [delete] Deleting: 

   [delete] Deleting: 

   [delete] Deleting: 

   [delete] Deleting: 

   [delete] Deleting: 

   [delete] Deleting: 

   [delete] Deleting: 


create-description:
 [echo] build.number is 20180915

js-output-royale-description:

swf-js-output-royale-description:

create-config:

playerglobal-setswfversion:

create-config:
 [copy] Copying 1 file to 


tweak-for-jsonly:

playerglobal-setswfversion:

create-config:
 [copy] Copying 1 file to 


tweak-for-jsonly:

playerglobal-setswfversion:

create-config:
 [copy] Copying 1 file to 


tweak-for-jsonly:

playerglobal-setswfversion:

create-config:
 [copy] Copying 1 file to 


tweak-for-jsonly:

playerglobal-setswfversion:

create-config:
 [copy] Copying 1 file to 


tweak-for-jsonly:

playerglobal-setswfversion:

create-config:
 [copy] Copying 1 file to 


tweak-for-jsonly:

playerglobal-setswfversion:

create-config:
 [copy] Copying 1 file to 


tweak-for-jsonly:

playerglobal-setswfversion:

create-config:
 [copy] Copying 1 file to 


tweak-for-jsonly:
[mkdir] Created dir: 


stage-source:

clean-temp:
[mkdir] Created dir: 


Build failed in Jenkins: royale-compiler #444

2018-09-14 Thread apacheroyaleci
See 


Changes:

[aharui] update version to 0.9.4

--
[...truncated 399.58 KB...]
[javac] 
:407:
 warning: [rawtypes] found raw type: Map
[javac] public boolean execute( StringBuilder buffer, String 
locale, Map parameters )
[javac] 
 ^
[javac]   missing type arguments for generic class Map
[javac]   where K,V are type-variables:
[javac] K extends Object declared in interface Map
[javac] V extends Object declared in interface Map
[javac] 
:30:
 warning: [overrides] Class ActionList overrides equals, but neither it nor any 
superclass overrides hashCode method
[javac] public class ActionList extends ActionHandler
[javac]^
[javac] 
:37:
 warning: [rawtypes] found raw type: List
[javac] public List clipActionRecords;
[javac]^
[javac]   missing type arguments for generic class List
[javac]   where E is a type-variable:
[javac] E extends Object declared in interface List
[javac] 
:27:
 warning: [overrides] Class ClipActions overrides equals, but neither it nor 
any superclass overrides hashCode method
[javac] public class ClipActions
[javac]^
[javac] 
:25:
 warning: [overrides] Class ClipActionRecord overrides equals, but neither it 
nor any superclass overrides hashCode method
[javac] public class ClipActionRecord
[javac]^
[javac] 
:161:
 warning: [rawtypes] found raw type: Iterator
[javac] public Iterator iterator()
[javac]^
[javac]   missing type arguments for generic class Iterator
[javac]   where E is a type-variable:
[javac] E extends Object declared in interface Iterator
[javac] 
:163:
 warning: [rawtypes] found raw type: Iterator
[javac] return new Iterator()
[javac]^
[javac]   missing type arguments for generic class Iterator
[javac]   where E is a type-variable:
[javac] E extends Object declared in interface Iterator
[javac] 
:178:
 warning: [rawtypes] found raw type: Entry
[javac] return new Map.Entry()
[javac]   ^
[javac]   missing type arguments for generic class Entry
[javac]   where K,V are type-variables:
[javac] K extends Object declared in interface Entry
[javac] V extends Object declared in interface Entry
[javac] 
:68:
 warning: [rawtypes] found raw type: Iterator
[javac] Iterator iterator = ids.entrySet().iterator();
[javac] ^
[javac]   missing type arguments for generic class Iterator
[javac]   where E is a type-variable:
[javac] E extends Object declared in interface Iterator
[javac] 
:71:
 warning: [rawtypes] found raw type: Entry
[javac] Entry entry = (Entry) iterator.next();
[javac] ^
[javac]   missing type arguments for generic class Entry
[javac]   where K,V are type-variables:
[javac] K extends Object declared in interface Entry
[javac] V extends Object declared in interface Entry
[javac] 
:74:
 warning: [rawtypes] found raw type: Iterator
[javac] for (Iterator i = tagList.tags.iterator(); i.hasNext();)
[javac]  ^
[javac]   missing type arguments for generic cla

Build failed in Jenkins: royale-typedefs #710

2018-09-14 Thread apacheroyaleci
See 


Changes:

[aharui] update version to 0.9.4

--
Started by an SCM change
Building on master in workspace 

 > git.exe rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git.exe config remote.origin.url 
 > https://github.com/apache/royale-typedefs.git # timeout=10
Fetching upstream changes from https://github.com/apache/royale-typedefs.git
 > git.exe --version # timeout=10
 > git.exe fetch --tags --progress 
 > https://github.com/apache/royale-typedefs.git 
 > +refs/heads/*:refs/remotes/origin/*
 > git.exe rev-parse "refs/remotes/origin/develop^{commit}" # timeout=10
 > git.exe rev-parse "refs/remotes/origin/origin/develop^{commit}" # timeout=10
Checking out Revision 69ded5dc296740f77ea560097066c537b6a41979 
(refs/remotes/origin/develop)
 > git.exe config core.sparsecheckout # timeout=10
 > git.exe checkout -f 69ded5dc296740f77ea560097066c537b6a41979
Commit message: "update version to 0.9.4"
 > git.exe rev-list --no-walk 6984a65cb4adde61bf753d5f118754fc656050ac # 
 > timeout=10
[royale-typedefs] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat main && 
exit %%ERRORLEVEL%%"
Buildfile: 


main:

download:
 [echo] 

[mkdir] Created dir: 


BUILD FAILED
:54:
 The following error occurred while executing this line:
:86:
 src 
'
 doesn't exist.

Total time: 0 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xmx512m
Build step 'Invoke Ant' marked build as failure


Re: [Discuss] Start release process 0.9.3

2018-09-14 Thread Alex Harui
Hi Piotr,

I think I've figured out how to use maven-scm 1.10.0.  I have switched the 
version of the release plugin to 3.0.0-SNAPSHOT.  You will have to build your 
own release plugin from sources.  The latest published snapshot is not based on 
the latest sources so we have to build it ourselves.  I have added an Ant task 
to releasecandidate.xml called maven-release-plugin.  So, I would recommend 
starting with an empty folder with just local.properties and the latest 
releasecandidate.xml and running:

Ant -f releasecandidate.xml -Drelease.version=0.9.4 -Drc=1 
maven-release-plugin

When that succeeds (it worked first try for me), then run:

Ant -f releasecandidate.xml -Drelease.version=0.9.4 -Drc=1 make_branches

I tried it with a dry run (by uncommenting the pushChanges=false) and it worked 
for me on Windows from PowerShell.

I also ran the update.versions target.  It turns out I needed to run several 
targets first from the empty folder:   use_develop_branch clone-compiler 
clone-typedefs clone-asjs update.versions

And then manually go to each repo and push the changes.

Hopefully you will be able to use the make_branches to update the maven poms to 
0.9 4-SNAPSHOT and then proceed with the releasecandidate.

Good luck!
-Alex

On 9/14/18, 9:25 AM, "Alex Harui"  wrote:

OK.  But by specifying setting-template you are giving it different startup 
property values.  IMO, best test is to run the same thing on your command line 
that Ant is trying to run.

-Alex

On 9/14/18, 9:13 AM, "Piotr Zarzycki"  wrote:

Alex,

You understand it me wrong. I don't skip tests when I'm trying to create
release candidate. This command is test command - I run it just to check
what pure Maven build download for me - not connected with ant at all.

Thanks,
Piotr

pt., 14 wrz 2018 o 18:09 Alex Harui  
napisał(a):

> Ant does not specify to use settings-template.  I never specify that
> anymore when running Maven from the command-line.
>
> FWIW, I think you should not skip tests or rat when trying to create a
> release candidate.
>
> Ant uses a "mvn" variable when trying to launch Maven so you can
> -Dmvn= although I don't think you can add other 
options to
> that variable.
>
> I guess I will try this out myself on Windows.
>
> HTH
> -Alex
>
> On 9/14/18, 9:02 AM, "Piotr Zarzycki"  
wrote:
>
> For the tests I run in command line following: mvn -s
> settings-template.xml
> -DskipTests -Drat.skip=true clean install - It uses my Apache 
Maven
> 3.5.4.
> I would be surprised that Ant run some other Maven - I don't have 
any
> other
> installed in my system. I will check as you propose from Ant.
>
>
> pt., 14 wrz 2018 o 17:54 Alex Harui 
> napisał(a):
>
> > The Ant script runs (on Windows) whatever mvn.cmd maps to in the
> PATH.
> > What are you typing on the command-line to run Maven?
> >
> > There are some options for Ant that print out more info or you 
might
> add
> > some other commands to the Ant script to help figure out what
> mvn.cmd it is
> > running.  On Windows, I think you can run "where mvn.cmd" to see
> what it is
> > picking up.
> >
> > HTH,
> > -Alex
> >
> >
> > On 9/14/18, 8:05 AM, "Piotr Zarzycki" 

> wrote:
> >
> > I have spent on that again a bunch of time and something is
> really
> > weird
> > happen. I've figure out that if Maven is using scm and we 
won't
> specify
> > inside pluginManagement tag what version of scm is used - 
It will
> > download
> > some older one.
> >
> > However there is something wrong on the line between
> > releasecandidate.xml
> > and Maven.
> >
> > 1) If I run build of royale-compiler using cmd or even from
> Intellij -
> > scm
> > 1.10.0 is being downloaded - correct one.
> > 2) If I run release process using releasecandidate.xml 
there is
> being
> > downloaded 1.9.4
> >
> > Any idea why it could happen like that ? This file
> > releasecandidate.xml is
> > used to just launch Maven build, why old scm is being
> downloaded?!
> >
> > Thanks,
> > Piotr
> >
> > czw., 13 wrz 2018 o 21:43 Alex Harui 

> > na

Build failed in Jenkins: royale-typedefs #709

2018-09-14 Thread apacheroyaleci
See 


--
Started by timer
Building on master in workspace 

 > git.exe rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git.exe config remote.origin.url 
 > https://github.com/apache/royale-typedefs.git # timeout=10
Fetching upstream changes from https://github.com/apache/royale-typedefs.git
 > git.exe --version # timeout=10
 > git.exe fetch --tags --progress 
 > https://github.com/apache/royale-typedefs.git 
 > +refs/heads/*:refs/remotes/origin/*
 > git.exe rev-parse "refs/remotes/origin/develop^{commit}" # timeout=10
 > git.exe rev-parse "refs/remotes/origin/origin/develop^{commit}" # timeout=10
Checking out Revision 6984a65cb4adde61bf753d5f118754fc656050ac 
(refs/remotes/origin/develop)
 > git.exe config core.sparsecheckout # timeout=10
 > git.exe checkout -f 6984a65cb4adde61bf753d5f118754fc656050ac
Commit message: "[maven-release-plugin] prepare for next development iteration"
 > git.exe rev-list --no-walk 6984a65cb4adde61bf753d5f118754fc656050ac # 
 > timeout=10
[royale-typedefs] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat main && 
exit %%ERRORLEVEL%%"
Buildfile: 


main:

download:
 [echo] 


BUILD FAILED
:54:
 The following error occurred while executing this line:
:86:
 src 
'
 doesn't exist.

Total time: 1 second
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xmx512m
Build step 'Invoke Ant' marked build as failure


Jenkins build is back to normal : royale-asjs #1329

2018-09-14 Thread apacheroyaleci
See 




Jenkins build is back to normal : royale-asjs_jsonly #1537

2018-09-14 Thread apacheroyaleci
See 




Build failed in Jenkins: royale-asjs #1328

2018-09-14 Thread apacheroyaleci
See 


--
[...truncated 423.52 KB...]

set.compiler.jar.uptodate:

compiler.jar:
  [jar] Building jar: C:\Program Files 
(x86)\Jenkins\workspace\royale-compiler\compiler\lib\compiler.jar

set.royale.asc.jar.uptodate:

royale.asc.jar:

set.royale.mxmlc.jar.uptodate:

royale.mxmlc.jar:

set.royale.compc.jar.uptodate:

royale.compc.jar:

set.royale.optimizer.jar.uptodate:

royale.optimizer.jar:

set.royale.swfdump.jar.uptodate:

royale.swfdump.jar:

jar:

sdk:

test:

jar.tests:
 [java] Apache Royale MXML and ActionScript Compiler (mxmlc)
 [java] Version 0.9.3 build 0
 [java] 
 [java] mxmlc [options] [defaultVar]
 [java] Use 'mxmlc -help' for more information.
 [java] 
 [java] 
 [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xmx512m
 [java] Java Result: 1
 [java] Apache Royale SWC Component Compiler (compc)
 [java] Version 0.9.3 build 0
 [java] 
 [java] compc [options] [defaultVar]
 [java] Use 'compc -help' for more information.
 [java] 
 [java] 
 [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xmx512m
 [java] Java Result: 1
 [java] ActionScript 3.0 Compiler for AVM+
 [java] Version 0.9.3 build 0
 [java] 
 [java] usage: asc [-abcfuture] [-api ] [-AS3] [-avmtarget ] [-b] [-coach] [-config ] [-d] [-doc]
 [java][-ES] [-ES4] [-exe ] [-f] [-h] [-i] [-import
 [java]] [-in ] [-inline] [-l] [-language 
]
 [java][-le ] [-li ] [-log] [-m] [-md] [-merge]
 [java][-movieclip] [-o] [-o2 ] [-optimize] [-out
 [java]] [-outdir ] [-p] 
[-parallel]
 [java][-removedeadcode] [-sanity] [-static] [-strict] [-swf
 [java]] [-use ] 
[-warnings]
 [java]FILENAME...
 [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xmx512m
 [java] Java Result: 1
 [java] Apache ActionScript Compiler (optimizer)
 [java] Version 0.9.3 build 0
 [java] 
 [java] optimizer [options] [defaultVar]
 [java] Use 'optimizer -help' for more information.
 [java] 
 [java] 
 [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xmx512m
 [java] Java Result: 1
 [java] Apache Royale SWF Dump Utility
 [java] Version 0.9.3 build 0
 [java] 
 [java] Usage: swfdump [-abc] file1.swf
 [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xmx512m
 [java] Java Result: 1

js.swc:
 [copy] Copying 1 file to C:\Program Files 
(x86)\Jenkins\workspace\royale-compiler\compiler-externc\target
 [java] Loading configuration: C:\Program Files 
(x86)\Jenkins\workspace\royale-compiler\compiler-externc\target\compile-as-config.xml
 [java] 
 [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xmx512m
 [java] 291859 bytes written to C:\Program Files 
(x86)\Jenkins\workspace\royale-compiler\compiler-externc\target\js.swc in 6.536 
seconds

custom.swc:
 [copy] Copying 1 file to C:\Program Files 
(x86)\Jenkins\workspace\royale-compiler\compiler\target
 [java] Loading configuration: C:\Program Files 
(x86)\Jenkins\workspace\royale-compiler\compiler\target\compile-as-config.xml
 [java] 
 [java] 4902 bytes written to C:\Program Files 
(x86)\Jenkins\workspace\royale-compiler\compiler\target\custom.swc in 1.362 
seconds
 [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xmx512m

download:

prepare:

junit-jar-check:

junit-jar:

commons-compress-jar-check:

commons-compress-jar:

commons-lang3-jar-check:

commons-lang3-jar:

main:

compile.tests:
 [echo] compiler is C:/Program Files 
(x86)/Jenkins/workspace/royale-compiler/compiler royale is C:/Program Files 
(x86)/Jenkins/workspace/royale-compiler/compiler
[mkdir] Created dir: C:\Program Files 
(x86)\Jenkins\workspace\royale-compiler\compiler\target\test-classes
 [copy] Copying 51 files to C:\Program Files 
(x86)\Jenkins\workspace\royale-compiler\compiler\target\test-classes
[javac] Compiling 103 source files to C:\Program Files 
(x86)\Jenkins\workspace\royale-compiler\compiler\target\test-classes
[javac] C:\Program Files 
(x86)\Jenkins\workspace\royale-compiler\compiler\src\test\java\as\ASFeatureTestsBase.java:26:
 warning: [deprecation] FlashplayerSecurityHandler in utils has been deprecated
[javac] import utils.FlashplayerSecurityHandler;
[javac] ^
[javac] C:\Program Files 
(x86)\Jenkins\workspace\royale-compiler\compiler\src\test\java\f\SDKSWCTests.java:33:
 error: cannot find symbol
[javac] import org.apache.royale.utils.EnvProperties;
[javac]   ^
[javac]   symbol:   class EnvProperties
[javac]   location: package org.apache.royale.utils
[javac] C:\Program Files 
(x86)\Jenkins\workspace\royale-compiler\compiler\src\test\java\f\SDKSWCTests.java:50:
 error: cannot find symbol
[ja

Build failed in Jenkins: royale-asjs_jsonly #1536

2018-09-14 Thread apacheroyaleci
js/projects/XMLJS/XMLJS.swc.properties>

clean:
   [delete] Deleting: 
<http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks/js/projects/IconsJS/IconsJS.swc.properties>

clean:
   [delete] Deleting directory 
<http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks/js/libs>

package-clean:
   [delete] Deleting directory 
<http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/out>

clean-temp:
   [delete] Deleting directory 
<http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/temp/royale-asjs>

checkintests-clean:

mxtests-clean:

clean:
   [delete] Deleting: 
<http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/royale-sdk-description.xml>
   [delete] Deleting directory 
<http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/js/libs>
   [delete] Deleting directory 
<http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/temp>
 [echo] ROYALE_HOME = 
<http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/>
 [echo] royalelib = 
<http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks>
 [echo] doc_output = 
<http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/asdoc-output>
 [echo] compiler.source-path = 
<http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks/projects/*/src/main/royale>

clean:

super-clean:
   [delete] Deleting directory 
<http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/mustella/tests/basicTests/bin>
   [delete] Deleting directory 
<http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks/locale>
   [delete] Deleting directory 
<http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks/mx>
   [delete] Deleting directory 
<http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks/rsls>
   [delete] Deleting directory 
<http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks/themes/Halo>
   [delete] Deleting directory 
<http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks/themes/Spark>
   [delete] Deleting: 
<http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks/airmobile-config.xml>
   [delete] Deleting: 
<http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks/macfonts.ser>
   [delete] Deleting: 
<http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks/winfonts.ser>
   [delete] Deleting: 
<http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks/localfonts.ser>
   [delete] Deleting: 
<http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks/mxml-manifest.xml>
   [delete] Deleting: 
<http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks/spark-manifest.xml>
   [delete] Deleting: 
<http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/ide/flashbuilder/flashbuilder-config.xml>

create-description:
 [echo] build.number is 20180914

js-output-royale-description:

swf-js-output-royale-description:

create-config:

playerglobal-setswfversion:

create-config:
 [copy] Copying 1 file to 
<http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks>

tweak-for-jsonly:

playerglobal-setswfversion:

create-config:
 [copy] Copying 1 file to 
<http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks>

tweak-for-jsonly:

playerglobal-setswfversion:

create-config:
 [copy] Copying 1 file to 
<http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks>

tweak-for-jsonly:

playerglobal-setswfversion:

create-config:
 [copy] Copying 1 file to 
<http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks>

tweak-for-jsonly:

playerglobal-setswfversion:

create-config:
 [copy] Copying 1 file to 
<http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks>

tweak-for-jsonly:

playerglobal-setswfversion:

create-config:
 [copy] Copying 1 file to 
<http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks>

tweak-for-jsonly:

playerglobal-setswfversion:

create-config:
 [copy] Copying 1 file to 
<http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks>

tweak-for-jsonly:

playerglobal-setswfversi

Re: States problem [was: Re: Royale Transitions, Effects, States infrastructure]

2018-09-14 Thread Alex Harui
Hi Carlos,

I didn't look at your example yet, but I point out that this may not be an 
issue with States.  Currently the States support can only add and remove 
components and set properties on components.  So my point is that any 
application developer can do the same thing in their business logic.  If a 
Jewel component cannot be exactly restored from a set of properties, that is a 
problem to solve regardless of States.

The set of classNames should be directly mapped to one or more properties.  I 
thought that was why you wanted the classList API, so that various Jewel 
properties could add/remove class selectors from the classList.

Maybe we should discuss a simple scenario without states.  If I take a Jewel 
component or container and write some AS to change properties or add/remove 
children and then restore it back to the original and it doesn't look the same, 
what part of the Royale framework is preventing that from happening?

Thoughts?
-Alex

On 9/14/18, 3:29 PM, "Carlos Rovira"  wrote:

Hi Alex,

the issue comes from beads modifying strand className. This can be seen
mixing states with jewel layouts. Jewel Layouts add or removes class names
in the strand at runtime.
Since, as you describe in the example, those changes are not part of some
state (i.e: className.normal or className.someState, for example), the
current class name is not stored anywhere, so when you change the state and
comes back, Royale is not capable of recreate the right strand className

You can see the issue in action if you compile the blog example about
states [1]


https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Ftree%2Fdevelop%2Fexamples%2Fblog%2FBE0008_Using_View_States_to_show_or_hide_content&data=02%7C01%7Caharui%40adobe.com%7C2592599a6d224d94342b08d61a917fea%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636725609577539201&sdata=NaIJmC4%2Bbhr3Ysba%2BOxsjFnmliemEWq6nHGIDkzoxwc%3D&reserved=0

Compile the example and run (online version works ok due to it was
published when the work was in unfinished stated)

Then push the button to change state from login form to result screen and
push the button back to go to the other state. You'll see the layout is not
equal. If check the html in the broswer, you'll find class names are lost
between state changes.

What do you think would be a good solution to this problem?

thanks

Carlos





El vie., 14 sept. 2018 a las 18:23, Alex Harui ()
escribió:

> Regarding class selectors and states, I guess I don't understand the
> issue.  The code behind Royale (and Flex) states should be capturing 
values
> of properties changed by the state before they get changed, then restoring
> those properties.  IOW, if you were to have
>
> 
>   
>   
> 
>  emphasis.important="emphasized" />
>
> Then the  myButton.emphasis="primary" at startup and when the state
> changes to "important" the States impl should read myButton.emphasis and
> store that value away before setting myButton.emphasis="emphasized".  
Then,
> when the state changes back to "normal", the States impl should set
> myButton.emphasis="primary" again.
>
> In the implementation for the emphasis property, if it involves changing
> classLists, the implementation must do so in a way that handles having the
> emphasis property changes at runtime.  The States impl isn't really doing
> anything application developer code might do, so the implementation must
> support properties being set and re-set.
>
-- 
Carlos Rovira

https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C2592599a6d224d94342b08d61a917fea%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636725609577539201&sdata=bHjSWhNbYwkhNfQbX2Q%2BQDUQWTtVXNozSTe6eHyX61Y%3D&reserved=0




Re: States problem [was: Re: Royale Transitions, Effects, States infrastructure]

2018-09-14 Thread Carlos Rovira
Hi Andrew, don't think so. I think "currentState" is a missing capability
from Flex States, don't know what Alex think about it, but seems something
to add to States.

This is more a bug at some point, in states? in ClassSelectorList? is a
lack of implementation in Jewel components? maybe Alex that knows more
about States could bring some light on this.

thanks



El sáb., 15 sept. 2018 a las 0:45, Andrew Wetmore ()
escribió:

> Could one deal with this issue for now by creating a global "currentState"
> property and referencing it on state change?
>
> On Fri, Sep 14, 2018 at 7:29 PM Carlos Rovira 
> wrote:
>
> > Hi Alex,
> >
> > the issue comes from beads modifying strand className. This can be seen
> > mixing states with jewel layouts. Jewel Layouts add or removes class
> names
> > in the strand at runtime.
> > Since, as you describe in the example, those changes are not part of some
> > state (i.e: className.normal or className.someState, for example), the
> > current class name is not stored anywhere, so when you change the state
> and
> > comes back, Royale is not capable of recreate the right strand className
> >
> > You can see the issue in action if you compile the blog example about
> > states [1]
> >
> >
> >
> https://github.com/apache/royale-asjs/tree/develop/examples/blog/BE0008_Using_View_States_to_show_or_hide_content
> >
> > Compile the example and run (online version works ok due to it was
> > published when the work was in unfinished stated)
> >
> > Then push the button to change state from login form to result screen and
> > push the button back to go to the other state. You'll see the layout is
> not
> > equal. If check the html in the broswer, you'll find class names are lost
> > between state changes.
> >
> > What do you think would be a good solution to this problem?
> >
> > thanks
> >
> > Carlos
> >
> >
> >
> >
> >
> > El vie., 14 sept. 2018 a las 18:23, Alex Harui ( > >)
> > escribió:
> >
> > > Regarding class selectors and states, I guess I don't understand the
> > > issue.  The code behind Royale (and Flex) states should be capturing
> > values
> > > of properties changed by the state before they get changed, then
> > restoring
> > > those properties.  IOW, if you were to have
> > >
> > > 
> > >   
> > >   
> > > 
> > >  > > emphasis.important="emphasized" />
> > >
> > > Then the  myButton.emphasis="primary" at startup and when the state
> > > changes to "important" the States impl should read myButton.emphasis
> and
> > > store that value away before setting myButton.emphasis="emphasized".
> > Then,
> > > when the state changes back to "normal", the States impl should set
> > > myButton.emphasis="primary" again.
> > >
> > > In the implementation for the emphasis property, if it involves
> changing
> > > classLists, the implementation must do so in a way that handles having
> > the
> > > emphasis property changes at runtime.  The States impl isn't really
> doing
> > > anything application developer code might do, so the implementation
> must
> > > support properties being set and re-set.
> > >
> > --
> > Carlos Rovira
> > http://about.me/carlosrovira
> >
>
>
> --
> Andrew Wetmore
>
> http://cottage14.blogspot.com/
>


-- 
Carlos Rovira
http://about.me/carlosrovira


Re: States problem [was: Re: Royale Transitions, Effects, States infrastructure]

2018-09-14 Thread Andrew Wetmore
Could one deal with this issue for now by creating a global "currentState"
property and referencing it on state change?

On Fri, Sep 14, 2018 at 7:29 PM Carlos Rovira 
wrote:

> Hi Alex,
>
> the issue comes from beads modifying strand className. This can be seen
> mixing states with jewel layouts. Jewel Layouts add or removes class names
> in the strand at runtime.
> Since, as you describe in the example, those changes are not part of some
> state (i.e: className.normal or className.someState, for example), the
> current class name is not stored anywhere, so when you change the state and
> comes back, Royale is not capable of recreate the right strand className
>
> You can see the issue in action if you compile the blog example about
> states [1]
>
>
> https://github.com/apache/royale-asjs/tree/develop/examples/blog/BE0008_Using_View_States_to_show_or_hide_content
>
> Compile the example and run (online version works ok due to it was
> published when the work was in unfinished stated)
>
> Then push the button to change state from login form to result screen and
> push the button back to go to the other state. You'll see the layout is not
> equal. If check the html in the broswer, you'll find class names are lost
> between state changes.
>
> What do you think would be a good solution to this problem?
>
> thanks
>
> Carlos
>
>
>
>
>
> El vie., 14 sept. 2018 a las 18:23, Alex Harui ( >)
> escribió:
>
> > Regarding class selectors and states, I guess I don't understand the
> > issue.  The code behind Royale (and Flex) states should be capturing
> values
> > of properties changed by the state before they get changed, then
> restoring
> > those properties.  IOW, if you were to have
> >
> > 
> >   
> >   
> > 
> >  > emphasis.important="emphasized" />
> >
> > Then the  myButton.emphasis="primary" at startup and when the state
> > changes to "important" the States impl should read myButton.emphasis and
> > store that value away before setting myButton.emphasis="emphasized".
> Then,
> > when the state changes back to "normal", the States impl should set
> > myButton.emphasis="primary" again.
> >
> > In the implementation for the emphasis property, if it involves changing
> > classLists, the implementation must do so in a way that handles having
> the
> > emphasis property changes at runtime.  The States impl isn't really doing
> > anything application developer code might do, so the implementation must
> > support properties being set and re-set.
> >
> --
> Carlos Rovira
> http://about.me/carlosrovira
>


-- 
Andrew Wetmore

http://cottage14.blogspot.com/


Re: Problem with Debugger in VSCode

2018-09-14 Thread Carlos Rovira
Hi, I'm finding that debugger is working again, at least partially, I'll
explain.

Don't know if the problem was due to Chrome, to VSCode or something in
Royale. But now I can put break points in VSCode, launch in Chrome and stop
at break point.

I fixed an issue in compiler where MXML in sub packages was getting a
filename with the package in it, so this was bad constructed and those
files were not recognized.

Other Issue I found unsolved:  Seems MXML is not getting breakpoints right,
or at least not always. Sometimes I get a breakpoint in the right line,
other times, the line is not the right one and if I try other lines I get a
valid point of break and the compiler is capable to break at that point, so
I figure, source maps for MXML is not completely right. I think AS3 seems
correct for now, although I need to check a bit more.
For example, If I have comments in the AS3 source code this seems to not be
considered and so the line of code is not right.


El mié., 12 sept. 2018 a las 12:59, Carlos Rovira ()
escribió:

> Hi,
>
> I want to test in a few hours debug in VSCode, I'm using as3&mxml
> 0.14.0-SNAPSHOT
> Can someone confirm if this is working actually? or if I'll try it will
> not work?
>
> thanks!
>
>
>
> El jue., 7 jun. 2018 a las 23:37, Carlos Rovira ()
> escribió:
>
>> Hi Josh,
>> I don't think break points are invalid. I think are recognized correctly.
>> The only point is that debugger is not stopping at breakpoints. If I put
>> a BP on a clickHandler, the method run with out stopping in the line.
>> But the line shows a red dot showing right recognition (if not it will be
>> grey outline right?)
>>
>> So what do think could be the problem?
>>
>> Thanks
>>
>> Carlos
>>
>>
>> 2018-06-07 20:58 GMT+02:00 Josh Tynjala :
>>
>>> It is possible that a recent change made to the compiler has resulted in
>>> invalid source map files. If they're not pointing to the correct locations
>>> in any of the relevant files (.as, .mxml, or .js), that could explain why
>>> the breakpoints aren't working. However, I wrote a number of automated
>>> tests for the compiler to ensure that source maps are being generated
>>> properly, so I would expect those tests to be failing if this was the issue.
>>>
>>> - Josh
>>>
>>> On 2018/06/07 08:20:49, Carlos Rovira  wrote:
>>> > Hi,
>>> >
>>> > something I saw from my old config launch.json file and the
>>> instructions in
>>> > Josh website is that we don't need in that file "sourceMaps": true
>>> > Since I'm using maven always, I think for me the config is:
>>> >
>>> > -source-map=true
>>> >
>>> > This make the VSCode break points turn from outlined to red, and I
>>> think
>>> > this means VSCode is recognizing the breakpoint.
>>> >
>>> > Then for me the problem is just one: why execution is not stopped in
>>> that
>>> > breakpoint? This was working many months ago (but config was different)
>>> >
>>> > I tried a a simple example with our helloworld app and put a click
>>> handler
>>> > to a simple function that only makes a trace("hello!"), and put a break
>>> > point here.
>>> >
>>> > When I click hello world label, I get "hello!" in the VSCode console,
>>> but
>>> > debugger does not stop there.
>>> >
>>> > Chrome and Firefox seems to recognize the MXML code correctly and shows
>>> > possible lines of debugging in black and the others in grey.
>>> >
>>> > So seems all is ok in both parts, but something is not working...maybe
>>> a
>>> > VSCode bug? a NextGen Bug?
>>> >
>>> > I'll try to check if there's some bug about this and if I don't find
>>> > nothing I'll open a VSCode issue.
>>> >
>>> > I think this is important since we loose debugging capabilities :(
>>> >
>>> > Thanks
>>> >
>>> >
>>> >
>>> > 2018-06-06 20:42 GMT+02:00 Carlos Rovira :
>>> >
>>> > > Hi,
>>> > >
>>> > > this was in my TODO, since I didn't use debug since many months ago.
>>> I
>>> > > remember this was working when I tried it...I think when I started
>>> to work
>>> > > in making MDL, but I left totally (bad for me). I was trying and get
>>> the
>>> > > breakpoint marked as red, so the breakpoint is recognized, but
>>> debugger
>>> > > doesn't stop at all :(
>>> > >
>>> > > 2018-06-06 20:09 GMT+02:00 Alex Harui :
>>> > >
>>> > >> Short of making it work in both SWF and JS, couldn't we just make
>>> it work
>>> > >> in JS by adding a "debugger" global variable to the JS typedefs?
>>> Then it
>>> > >> could be wrapped in COMPILE::JS blocks and used in Royale without
>>> changing
>>> > >> the compiler.
>>> > >>
>>> > >> Just wondering,
>>> > >> -Alex
>>> > >>
>>> > >> On 6/6/18, 11:02 AM, "Josh Tynjala" 
>>> wrote:
>>> > >>
>>> > >> No, you can't use the debugger statement in ActionScript. I as
>>> > >> documented, you can use a custom HTML template with your Royale app
>>> and add
>>> > >> it in a 

States problem [was: Re: Royale Transitions, Effects, States infrastructure]

2018-09-14 Thread Carlos Rovira
Hi Alex,

the issue comes from beads modifying strand className. This can be seen
mixing states with jewel layouts. Jewel Layouts add or removes class names
in the strand at runtime.
Since, as you describe in the example, those changes are not part of some
state (i.e: className.normal or className.someState, for example), the
current class name is not stored anywhere, so when you change the state and
comes back, Royale is not capable of recreate the right strand className

You can see the issue in action if you compile the blog example about
states [1]

https://github.com/apache/royale-asjs/tree/develop/examples/blog/BE0008_Using_View_States_to_show_or_hide_content

Compile the example and run (online version works ok due to it was
published when the work was in unfinished stated)

Then push the button to change state from login form to result screen and
push the button back to go to the other state. You'll see the layout is not
equal. If check the html in the broswer, you'll find class names are lost
between state changes.

What do you think would be a good solution to this problem?

thanks

Carlos





El vie., 14 sept. 2018 a las 18:23, Alex Harui ()
escribió:

> Regarding class selectors and states, I guess I don't understand the
> issue.  The code behind Royale (and Flex) states should be capturing values
> of properties changed by the state before they get changed, then restoring
> those properties.  IOW, if you were to have
>
> 
>   
>   
> 
>  emphasis.important="emphasized" />
>
> Then the  myButton.emphasis="primary" at startup and when the state
> changes to "important" the States impl should read myButton.emphasis and
> store that value away before setting myButton.emphasis="emphasized".  Then,
> when the state changes back to "normal", the States impl should set
> myButton.emphasis="primary" again.
>
> In the implementation for the emphasis property, if it involves changing
> classLists, the implementation must do so in a way that handles having the
> emphasis property changes at runtime.  The States impl isn't really doing
> anything application developer code might do, so the implementation must
> support properties being set and re-set.
>
-- 
Carlos Rovira
http://about.me/carlosrovira


Jenkins build is back to normal : royale-asjs_jsonly #1533

2018-09-14 Thread apacheroyaleci
See 




Re: Royale Transitions, Effects, States infrastructure [was: Re: [royale-asjs] branch develop updated: I think this fixes Menu]

2018-09-14 Thread Kenny Lerma
I totally agree and I can wrap up a SWC of Tweener for sure as I'm using it
already, but will need to ensure it's compatibility with Royale.

On Fri, Sep 14, 2018 at 11:38 AM Alex Harui 
wrote:

> IMO, we want people to be able to choose Greensock, Tweener, or anything
> they want.
>
> Really, Royale is in the business of making it easier/more efficient/more
> productive to integrate pieces of Javascript into an application.  We are
> writing our own framework so we know that the baseline is in terms of size
> and performance.  But people are way more likely to use heavier but richer
> libraries if they don't need to save bytes or cpu cycles.
>
> So, if you know folks involved with Tweener and can convince them to wrap
> up their code in a Royale SWC, or want to do it yourself, that's great.
> The more choices, the better Royale is.
>
> My 2 cents,
> -Alex
>
> On 9/14/18, 9:30 AM, "Kenny Lerma"  wrote:
>
> Have you considered using Tweener? I'm incorporating this into
> SpriteFlexjs
> and It's what I've always used at other companies for years since it's
> free
> and open-source.
>
> I realize greensock has a javascript version already and is a great
> library.  However, unless they have changed their license, you need to
> buy
> a license to you use it for commercial projects.
>
> It's for that reason that companies in the past switched to Tweener.
>
> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fhosted.zeh.com.br%2Ftweener%2Fdocs%2Fen-us%2F&data=02%7C01%7Caharui%40adobe.com%7C51f1adf3ae5949f79d9d08d61a5f6f8c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636725394529887502&sdata=%2F3S3iqsK4gBNgWoJx9cxpu0w95iDTY1JR7T%2FAREQOAA%3D&reserved=0
>
>
>
>
> On Fri, Sep 14, 2018 at 11:23 AM Alex Harui 
> wrote:
>
> > Greensock was quite popular among Flex developers.  Does anyone on
> this
> > list have contacts at Greensock?  We might want to see if they will
> create
> > a Royale SWC for their code.
> >
> > Regarding class selectors and states, I guess I don't understand the
> > issue.  The code behind Royale (and Flex) states should be capturing
> values
> > of properties changed by the state before they get changed, then
> restoring
> > those properties.  IOW, if you were to have
> >
> > 
> >   
> >   
> > 
> >  > emphasis.important="emphasized" />
> >
> > Then the  myButton.emphasis="primary" at startup and when the state
> > changes to "important" the States impl should read myButton.emphasis
> and
> > store that value away before setting
> myButton.emphasis="emphasized".  Then,
> > when the state changes back to "normal", the States impl should set
> > myButton.emphasis="primary" again.
> >
> > In the implementation for the emphasis property, if it involves
> changing
> > classLists, the implementation must do so in a way that handles
> having the
> > emphasis property changes at runtime.  The States impl isn't really
> doing
> > anything application developer code might do, so the implementation
> must
> > support properties being set and re-set.
> >
> > My 2 cents,
> > -Alex
> >
> > On 9/14/18, 4:07 AM, "Carlos Rovira" 
> wrote:
> >
> > Hi Harbs,
> >
> > for me is ok, but I'm more worried about how to accommodate this
> and
> > the
> > underlying architecture. The events systems that Alex propose,
> > About implementation, I'm sure can do something on the lines of
> GASP,
> > but
> > as you say, we should be able to plug other options as we do with
> > layouts
> > currently.
> >
> > But first of all, for me, we should solve the problem with
> > addition/removal
> > of class selectors in the core of UIBase. I at least don't know
> other
> > way
> > to deal with it without the need of adding lots of unnecessary
> code
> > like I
> > had to do in Jewel for something that is so "core" to us.
> >
> > Thanks
> >
> >
> >
> > El vie., 14 sept. 2018 a las 11:34, Harbs (<
> harbs.li...@gmail.com>)
> > escribió:
> >
> > > Well, my point of view on animation would be that GSAP is the
> > industry
> > > standard.[1]
> > >
> > > Making GSAP a dependency is a no-go because the license is not
> > compatible,
> > > but I’d say that the approach should be similar (although I
> don’t
> > expect
> > > we’d get nearly to the level of complete-ness / robustness
> that GSAP
> > has).
> > > Extra points would be to allow GSAP to be easily substituted
> for the
> > > default implementation.
> > >
> > > I’m not sure about states.
> > >
> > > My $0.02,
> > > Harbs
> > >
> > > [1]
> >
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgreensoc

Jenkins build is back to normal : royale-asjs #1325

2018-09-14 Thread apacheroyaleci
See 




Re: Royale Transitions, Effects, States infrastructure [was: Re: [royale-asjs] branch develop updated: I think this fixes Menu]

2018-09-14 Thread Alex Harui
IMO, we want people to be able to choose Greensock, Tweener, or anything they 
want.

Really, Royale is in the business of making it easier/more efficient/more 
productive to integrate pieces of Javascript into an application.  We are 
writing our own framework so we know that the baseline is in terms of size and 
performance.  But people are way more likely to use heavier but richer 
libraries if they don't need to save bytes or cpu cycles.

So, if you know folks involved with Tweener and can convince them to wrap up 
their code in a Royale SWC, or want to do it yourself, that's great.  The more 
choices, the better Royale is.

My 2 cents,
-Alex

On 9/14/18, 9:30 AM, "Kenny Lerma"  wrote:

Have you considered using Tweener? I'm incorporating this into SpriteFlexjs
and It's what I've always used at other companies for years since it's free
and open-source.

I realize greensock has a javascript version already and is a great
library.  However, unless they have changed their license, you need to buy
a license to you use it for commercial projects.

It's for that reason that companies in the past switched to Tweener.

https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fhosted.zeh.com.br%2Ftweener%2Fdocs%2Fen-us%2F&data=02%7C01%7Caharui%40adobe.com%7C51f1adf3ae5949f79d9d08d61a5f6f8c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636725394529887502&sdata=%2F3S3iqsK4gBNgWoJx9cxpu0w95iDTY1JR7T%2FAREQOAA%3D&reserved=0




On Fri, Sep 14, 2018 at 11:23 AM Alex Harui 
wrote:

> Greensock was quite popular among Flex developers.  Does anyone on this
> list have contacts at Greensock?  We might want to see if they will create
> a Royale SWC for their code.
>
> Regarding class selectors and states, I guess I don't understand the
> issue.  The code behind Royale (and Flex) states should be capturing 
values
> of properties changed by the state before they get changed, then restoring
> those properties.  IOW, if you were to have
>
> 
>   
>   
> 
>  emphasis.important="emphasized" />
>
> Then the  myButton.emphasis="primary" at startup and when the state
> changes to "important" the States impl should read myButton.emphasis and
> store that value away before setting myButton.emphasis="emphasized".  
Then,
> when the state changes back to "normal", the States impl should set
> myButton.emphasis="primary" again.
>
> In the implementation for the emphasis property, if it involves changing
> classLists, the implementation must do so in a way that handles having the
> emphasis property changes at runtime.  The States impl isn't really doing
> anything application developer code might do, so the implementation must
> support properties being set and re-set.
>
> My 2 cents,
> -Alex
>
> On 9/14/18, 4:07 AM, "Carlos Rovira"  wrote:
>
> Hi Harbs,
>
> for me is ok, but I'm more worried about how to accommodate this and
> the
> underlying architecture. The events systems that Alex propose,
> About implementation, I'm sure can do something on the lines of GASP,
> but
> as you say, we should be able to plug other options as we do with
> layouts
> currently.
>
> But first of all, for me, we should solve the problem with
> addition/removal
> of class selectors in the core of UIBase. I at least don't know other
> way
> to deal with it without the need of adding lots of unnecessary code
> like I
> had to do in Jewel for something that is so "core" to us.
>
> Thanks
>
>
>
> El vie., 14 sept. 2018 a las 11:34, Harbs ()
> escribió:
>
> > Well, my point of view on animation would be that GSAP is the
> industry
> > standard.[1]
> >
> > Making GSAP a dependency is a no-go because the license is not
> compatible,
> > but I’d say that the approach should be similar (although I don’t
> expect
> > we’d get nearly to the level of complete-ness / robustness that GSAP
> has).
> > Extra points would be to allow GSAP to be easily substituted for the
> > default implementation.
> >
> > I’m not sure about states.
> >
> > My $0.02,
> > Harbs
> >
> > [1]
> 
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgreensock.com%2Fgsap&data=02%7C01%7Caharui%40adobe.com%7C51f1adf3ae5949f79d9d08d61a5f6f8c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636725394529887502&sdata=QTIFnkaLVawza7nlHXmShHctuRW6f5Kif9NmEdq55YE%3D&reserved=0
> <
> 
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgreensock.com%2Fgsap&data=02%7C01%7Caharui%40adobe.com%7C51f1adf3ae5949f79d9d08d61a5f6f8c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636725394529887502

Re: Royale Transitions, Effects, States infrastructure [was: Re: [royale-asjs] branch develop updated: I think this fixes Menu]

2018-09-14 Thread Kenny Lerma
Have you considered using Tweener? I'm incorporating this into SpriteFlexjs
and It's what I've always used at other companies for years since it's free
and open-source.

I realize greensock has a javascript version already and is a great
library.  However, unless they have changed their license, you need to buy
a license to you use it for commercial projects.

It's for that reason that companies in the past switched to Tweener.
http://hosted.zeh.com.br/tweener/docs/en-us/




On Fri, Sep 14, 2018 at 11:23 AM Alex Harui 
wrote:

> Greensock was quite popular among Flex developers.  Does anyone on this
> list have contacts at Greensock?  We might want to see if they will create
> a Royale SWC for their code.
>
> Regarding class selectors and states, I guess I don't understand the
> issue.  The code behind Royale (and Flex) states should be capturing values
> of properties changed by the state before they get changed, then restoring
> those properties.  IOW, if you were to have
>
> 
>   
>   
> 
>  emphasis.important="emphasized" />
>
> Then the  myButton.emphasis="primary" at startup and when the state
> changes to "important" the States impl should read myButton.emphasis and
> store that value away before setting myButton.emphasis="emphasized".  Then,
> when the state changes back to "normal", the States impl should set
> myButton.emphasis="primary" again.
>
> In the implementation for the emphasis property, if it involves changing
> classLists, the implementation must do so in a way that handles having the
> emphasis property changes at runtime.  The States impl isn't really doing
> anything application developer code might do, so the implementation must
> support properties being set and re-set.
>
> My 2 cents,
> -Alex
>
> On 9/14/18, 4:07 AM, "Carlos Rovira"  wrote:
>
> Hi Harbs,
>
> for me is ok, but I'm more worried about how to accommodate this and
> the
> underlying architecture. The events systems that Alex propose,
> About implementation, I'm sure can do something on the lines of GASP,
> but
> as you say, we should be able to plug other options as we do with
> layouts
> currently.
>
> But first of all, for me, we should solve the problem with
> addition/removal
> of class selectors in the core of UIBase. I at least don't know other
> way
> to deal with it without the need of adding lots of unnecessary code
> like I
> had to do in Jewel for something that is so "core" to us.
>
> Thanks
>
>
>
> El vie., 14 sept. 2018 a las 11:34, Harbs ()
> escribió:
>
> > Well, my point of view on animation would be that GSAP is the
> industry
> > standard.[1]
> >
> > Making GSAP a dependency is a no-go because the license is not
> compatible,
> > but I’d say that the approach should be similar (although I don’t
> expect
> > we’d get nearly to the level of complete-ness / robustness that GSAP
> has).
> > Extra points would be to allow GSAP to be easily substituted for the
> > default implementation.
> >
> > I’m not sure about states.
> >
> > My $0.02,
> > Harbs
> >
> > [1]
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgreensock.com%2Fgsap&data=02%7C01%7Caharui%40adobe.com%7C79138145b5db4f85575d08d61a325020%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636725200735947429&sdata=mCQxXT6%2FzwI35gAhDoBbfPWkEUSwUGBUvFyZwME3i94%3D&reserved=0
> <
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgreensock.com%2Fgsap&data=02%7C01%7Caharui%40adobe.com%7C79138145b5db4f85575d08d61a325020%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636725200735957438&sdata=7kGIZpj4g6bFkWXKyz%2BDwDG0x4VGhFQbEeDgeQnPWPI%3D&reserved=0
> >
> >
> > > On Sep 14, 2018, at 10:36 AM, Carlos Rovira <
> carlosrov...@apache.org>
> > wrote:
> > >
> > > Hi Alex,
> > >
> > > renaming this to other thread since I think this deserves its
> space to
> > > planning.
> > >
> > > Right now, in Jewel, we try to get most of "eye candy" things
> through CSS
> > > class selectors. This means that we defer this to the CSS
> "engine". The
> > > same happens with Jewel layouts, that are based on add the proper
> class
> > > selectors.
> > >
> > > This for now is working, but I think is not the Royale way, since
> I see
> > > some drawbacks:
> > >
> > > - you don't have control in Royale of the things deferred to CSS.
> > > - targets like SWF, or future targets, could be left since this
> strategy
> > is
> > > platform dependent
> > >
> > > And some issues:
> > >
> > > - States subsystems is not playing nicely with class selectors. It
> can't
> > > recreate the class selectors the component has before the state
> change
> > > - As I stated in other thread recently, although we introduced a
> way to
> > > deal with classList, since is not part of UIBase, we can see it's
> not
> > > playing nicely with the rest of

Re: [Discuss] Start release process 0.9.3

2018-09-14 Thread Alex Harui
OK.  But by specifying setting-template you are giving it different startup 
property values.  IMO, best test is to run the same thing on your command line 
that Ant is trying to run.

-Alex

On 9/14/18, 9:13 AM, "Piotr Zarzycki"  wrote:

Alex,

You understand it me wrong. I don't skip tests when I'm trying to create
release candidate. This command is test command - I run it just to check
what pure Maven build download for me - not connected with ant at all.

Thanks,
Piotr

pt., 14 wrz 2018 o 18:09 Alex Harui  napisał(a):

> Ant does not specify to use settings-template.  I never specify that
> anymore when running Maven from the command-line.
>
> FWIW, I think you should not skip tests or rat when trying to create a
> release candidate.
>
> Ant uses a "mvn" variable when trying to launch Maven so you can
> -Dmvn= although I don't think you can add other options 
to
> that variable.
>
> I guess I will try this out myself on Windows.
>
> HTH
> -Alex
>
> On 9/14/18, 9:02 AM, "Piotr Zarzycki"  wrote:
>
> For the tests I run in command line following: mvn -s
> settings-template.xml
> -DskipTests -Drat.skip=true clean install - It uses my Apache Maven
> 3.5.4.
> I would be surprised that Ant run some other Maven - I don't have any
> other
> installed in my system. I will check as you propose from Ant.
>
>
> pt., 14 wrz 2018 o 17:54 Alex Harui 
> napisał(a):
>
> > The Ant script runs (on Windows) whatever mvn.cmd maps to in the
> PATH.
> > What are you typing on the command-line to run Maven?
> >
> > There are some options for Ant that print out more info or you might
> add
> > some other commands to the Ant script to help figure out what
> mvn.cmd it is
> > running.  On Windows, I think you can run "where mvn.cmd" to see
> what it is
> > picking up.
> >
> > HTH,
> > -Alex
> >
> >
> > On 9/14/18, 8:05 AM, "Piotr Zarzycki" 
> wrote:
> >
> > I have spent on that again a bunch of time and something is
> really
> > weird
> > happen. I've figure out that if Maven is using scm and we won't
> specify
> > inside pluginManagement tag what version of scm is used - It 
will
> > download
> > some older one.
> >
> > However there is something wrong on the line between
> > releasecandidate.xml
> > and Maven.
> >
> > 1) If I run build of royale-compiler using cmd or even from
> Intellij -
> > scm
> > 1.10.0 is being downloaded - correct one.
> > 2) If I run release process using releasecandidate.xml there is
> being
> > downloaded 1.9.4
> >
> > Any idea why it could happen like that ? This file
> > releasecandidate.xml is
> > used to just launch Maven build, why old scm is being
> downloaded?!
> >
> > Thanks,
> > Piotr
> >
> > czw., 13 wrz 2018 o 21:43 Alex Harui 
> > napisał(a):
> >
> > > I think the console output will show what versions of plugins
> are
> > > downloaded. You can also check out the local maven cache.
> > >
> > > Get Outlook for Android<
> >
> 
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Faka.ms%2Fghei36&data=02%7C01%7Caharui%40adobe.com%7Ce7d71e7fef09469b292908d61a5d0675%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636725384179839019&sdata=xfVsaLBX3D85Nbi%2FGQPkqzFiIICAClDFmEKGOG3AEOw%3D&reserved=0
> > >
> > >
> > > 
> > > From: Piotr Zarzycki 
> > > Sent: Thursday, September 13, 2018 11:02:29 AM
> > > To: dev@royale.apache.org
> > > Subject: Re: [Discuss] Start release process 0.9.3
> > >
> > > Unfortunately I don't know how to check that. I can check only
> > "Effective
> > > Pom" - Intellij is able to show me what is behind the stage in
> > specific
> > > pom. This is how it looks like for main pom in royale-asjs ->
> > >
> > >
> >
> 
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FeVmK&data=02%7C01%7Caharui%40adobe.com%7Ce7d71e7fef09469b292908d61a5d0675%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636725384179849029&sdata=TyZ6Ft64xY78qWgkUbIGScF8hl6Uq8IQhcEavb3HYYQ%3D&reserved=0
> > >
> > > Piotr
> > >
> > >
> > >
> > > czw., 13 wrz 2018 o 19:42 Alex Harui  >
> > > napisał(a):
> > >

Re: Royale Transitions, Effects, States infrastructure [was: Re: [royale-asjs] branch develop updated: I think this fixes Menu]

2018-09-14 Thread Alex Harui
Greensock was quite popular among Flex developers.  Does anyone on this list 
have contacts at Greensock?  We might want to see if they will create a Royale 
SWC for their code.

Regarding class selectors and states, I guess I don't understand the issue.  
The code behind Royale (and Flex) states should be capturing values of 
properties changed by the state before they get changed, then restoring those 
properties.  IOW, if you were to have


  
  



Then the  myButton.emphasis="primary" at startup and when the state changes to 
"important" the States impl should read myButton.emphasis and store that value 
away before setting myButton.emphasis="emphasized".  Then, when the state 
changes back to "normal", the States impl should set 
myButton.emphasis="primary" again.

In the implementation for the emphasis property, if it involves changing 
classLists, the implementation must do so in a way that handles having the 
emphasis property changes at runtime.  The States impl isn't really doing 
anything application developer code might do, so the implementation must 
support properties being set and re-set.

My 2 cents,
-Alex

On 9/14/18, 4:07 AM, "Carlos Rovira"  wrote:

Hi Harbs,

for me is ok, but I'm more worried about how to accommodate this and the
underlying architecture. The events systems that Alex propose,
About implementation, I'm sure can do something on the lines of GASP, but
as you say, we should be able to plug other options as we do with layouts
currently.

But first of all, for me, we should solve the problem with addition/removal
of class selectors in the core of UIBase. I at least don't know other way
to deal with it without the need of adding lots of unnecessary code like I
had to do in Jewel for something that is so "core" to us.

Thanks



El vie., 14 sept. 2018 a las 11:34, Harbs ()
escribió:

> Well, my point of view on animation would be that GSAP is the industry
> standard.[1]
>
> Making GSAP a dependency is a no-go because the license is not compatible,
> but I’d say that the approach should be similar (although I don’t expect
> we’d get nearly to the level of complete-ness / robustness that GSAP has).
> Extra points would be to allow GSAP to be easily substituted for the
> default implementation.
>
> I’m not sure about states.
>
> My $0.02,
> Harbs
>
> 
[1]https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgreensock.com%2Fgsap&data=02%7C01%7Caharui%40adobe.com%7C79138145b5db4f85575d08d61a325020%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636725200735947429&sdata=mCQxXT6%2FzwI35gAhDoBbfPWkEUSwUGBUvFyZwME3i94%3D&reserved=0
 

>
> > On Sep 14, 2018, at 10:36 AM, Carlos Rovira 
> wrote:
> >
> > Hi Alex,
> >
> > renaming this to other thread since I think this deserves its space to
> > planning.
> >
> > Right now, in Jewel, we try to get most of "eye candy" things through 
CSS
> > class selectors. This means that we defer this to the CSS "engine". The
> > same happens with Jewel layouts, that are based on add the proper class
> > selectors.
> >
> > This for now is working, but I think is not the Royale way, since I see
> > some drawbacks:
> >
> > - you don't have control in Royale of the things deferred to CSS.
> > - targets like SWF, or future targets, could be left since this strategy
> is
> > platform dependent
> >
> > And some issues:
> >
> > - States subsystems is not playing nicely with class selectors. It can't
> > recreate the class selectors the component has before the state change
> > - As I stated in other thread recently, although we introduced a way to
> > deal with classList, since is not part of UIBase, we can see it's not
> > playing nicely with the rest of Royale and it's causing to introduce 
more
> > code in lost of classes (checking for ClassSelectorList in Jewel and
> Basic
> > Code will discover all places where I had to inject the same code, what
> > seems not optimal.
> >
> > So, I think we should refactor now (post release) how we deal with class
> > names (before the ball gets bigger), and think a way to play with
> > transitions and effects in a more Royale way. I think first is very
> needed,
> > and second can wait a bit more...
> >
> > For example for HTML, I envision using StatesWithTransitionImpl to deal
> > with class selectors that will play, in HTML, transitions, so
> effectStart,
> > transitionStart, or effectEnd, or transitionEnd, could make a

Re: [Discuss] Start release process 0.9.3

2018-09-14 Thread Piotr Zarzycki
Alex,

You understand it me wrong. I don't skip tests when I'm trying to create
release candidate. This command is test command - I run it just to check
what pure Maven build download for me - not connected with ant at all.

Thanks,
Piotr

pt., 14 wrz 2018 o 18:09 Alex Harui  napisał(a):

> Ant does not specify to use settings-template.  I never specify that
> anymore when running Maven from the command-line.
>
> FWIW, I think you should not skip tests or rat when trying to create a
> release candidate.
>
> Ant uses a "mvn" variable when trying to launch Maven so you can
> -Dmvn= although I don't think you can add other options to
> that variable.
>
> I guess I will try this out myself on Windows.
>
> HTH
> -Alex
>
> On 9/14/18, 9:02 AM, "Piotr Zarzycki"  wrote:
>
> For the tests I run in command line following: mvn -s
> settings-template.xml
> -DskipTests -Drat.skip=true clean install - It uses my Apache Maven
> 3.5.4.
> I would be surprised that Ant run some other Maven - I don't have any
> other
> installed in my system. I will check as you propose from Ant.
>
>
> pt., 14 wrz 2018 o 17:54 Alex Harui 
> napisał(a):
>
> > The Ant script runs (on Windows) whatever mvn.cmd maps to in the
> PATH.
> > What are you typing on the command-line to run Maven?
> >
> > There are some options for Ant that print out more info or you might
> add
> > some other commands to the Ant script to help figure out what
> mvn.cmd it is
> > running.  On Windows, I think you can run "where mvn.cmd" to see
> what it is
> > picking up.
> >
> > HTH,
> > -Alex
> >
> >
> > On 9/14/18, 8:05 AM, "Piotr Zarzycki" 
> wrote:
> >
> > I have spent on that again a bunch of time and something is
> really
> > weird
> > happen. I've figure out that if Maven is using scm and we won't
> specify
> > inside pluginManagement tag what version of scm is used - It will
> > download
> > some older one.
> >
> > However there is something wrong on the line between
> > releasecandidate.xml
> > and Maven.
> >
> > 1) If I run build of royale-compiler using cmd or even from
> Intellij -
> > scm
> > 1.10.0 is being downloaded - correct one.
> > 2) If I run release process using releasecandidate.xml there is
> being
> > downloaded 1.9.4
> >
> > Any idea why it could happen like that ? This file
> > releasecandidate.xml is
> > used to just launch Maven build, why old scm is being
> downloaded?!
> >
> > Thanks,
> > Piotr
> >
> > czw., 13 wrz 2018 o 21:43 Alex Harui 
> > napisał(a):
> >
> > > I think the console output will show what versions of plugins
> are
> > > downloaded. You can also check out the local maven cache.
> > >
> > > Get Outlook for Android<
> >
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Faka.ms%2Fghei36&data=02%7C01%7Caharui%40adobe.com%7C52945277f0d64479c60c08d61a5b879b%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C63672533552343&sdata=SVi8NTxA06PTjMvNX9q9xzsEkOTle2FEUU%2BqvUz2G40%3D&reserved=0
> > >
> > >
> > > 
> > > From: Piotr Zarzycki 
> > > Sent: Thursday, September 13, 2018 11:02:29 AM
> > > To: dev@royale.apache.org
> > > Subject: Re: [Discuss] Start release process 0.9.3
> > >
> > > Unfortunately I don't know how to check that. I can check only
> > "Effective
> > > Pom" - Intellij is able to show me what is behind the stage in
> > specific
> > > pom. This is how it looks like for main pom in royale-asjs ->
> > >
> > >
> >
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FeVmK&data=02%7C01%7Caharui%40adobe.com%7C52945277f0d64479c60c08d61a5b879b%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C63672533552343&sdata=d7zASOCupeB7rwYmuW89NhgcSrrCI7aITzqKrXHJkks%3D&reserved=0
> > >
> > > Piotr
> > >
> > >
> > >
> > > czw., 13 wrz 2018 o 19:42 Alex Harui  >
> > > napisał(a):
> > >
> > > > Is maven using scm 1.10?
> > > >
> > > > Get Outlook for Android<
> > >
> >
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Faka.ms%2Fghei36&data=02%7C01%7Caharui%40adobe.com%7C52945277f0d64479c60c08d61a5b879b%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C63672533552343&sdata=SVi8NTxA06PTjMvNX9q9xzsEkOTle2FEUU%2BqvUz2G40%3D&reserved=0
> > > >
> > > >
> > > > 
> > > > From: Piotr Zarzycki 
> > > > Sent: Thursday, September 13, 2018 8:55:29 AM
> > > > To: dev@royale.apache.org
> > > > Subject: Re: [Discuss] Start release process 0.9.3
> > > >
> > > > I'm unable to u

Build failed in Jenkins: royale-asjs_jsonly #1532

2018-09-14 Thread apacheroyaleci
See 
<http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/1532/display/redirect>

--
[...truncated 88.35 KB...]
   [delete] Deleting: 
<http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks/js/projects/TextJS/TextJS.swc.properties>

clean:
   [delete] Deleting: 
<http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks/js/projects/TLFJS/TLFJS.swc.properties>

clean:
   [delete] Deleting: 
<http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks/js/projects/XMLJS/XMLJS.swc.properties>

clean:
   [delete] Deleting: 
<http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks/js/projects/IconsJS/IconsJS.swc.properties>

clean:
   [delete] Deleting directory 
<http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks/js/libs>

package-clean:
   [delete] Deleting directory 
<http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/out>

clean-temp:
   [delete] Deleting directory 
<http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/temp/royale-asjs>

checkintests-clean:

mxtests-clean:

clean:
   [delete] Deleting: 
<http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/royale-sdk-description.xml>
   [delete] Deleting directory 
<http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/js/libs>
   [delete] Deleting directory 
<http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/temp>
 [echo] ROYALE_HOME = 
<http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/>
 [echo] royalelib = 
<http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks>
 [echo] doc_output = 
<http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/asdoc-output>
 [echo] compiler.source-path = 
<http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks/projects/*/src/main/royale>

clean:

super-clean:
   [delete] Deleting directory 
<http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/mustella/tests/basicTests/bin>
   [delete] Deleting directory 
<http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks/locale>
   [delete] Deleting directory 
<http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks/mx>
   [delete] Deleting directory 
<http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks/rsls>
   [delete] Deleting directory 
<http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks/themes/Halo>
   [delete] Deleting directory 
<http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks/themes/Spark>
   [delete] Deleting: 
<http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks/airmobile-config.xml>
   [delete] Deleting: 
<http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks/macfonts.ser>
   [delete] Deleting: 
<http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks/winfonts.ser>
   [delete] Deleting: 
<http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks/localfonts.ser>
   [delete] Deleting: 
<http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks/mxml-manifest.xml>
   [delete] Deleting: 
<http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks/spark-manifest.xml>
   [delete] Deleting: 
<http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/ide/flashbuilder/flashbuilder-config.xml>

create-description:
 [echo] build.number is 20180914

js-output-royale-description:

swf-js-output-royale-description:

create-config:

playerglobal-setswfversion:

create-config:
 [copy] Copying 1 file to 
<http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks>

tweak-for-jsonly:

playerglobal-setswfversion:

create-config:
 [copy] Copying 1 file to 
<http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks>

tweak-for-jsonly:

playerglobal-setswfversion:

create-config:
 [copy] Copying 1 file to 
<http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks>

tweak-for-jsonly:

playerglobal-setswfversion:

create-config:
 [copy] Copying 1 file to 
<http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/w

Re: [Discuss] Start release process 0.9.3

2018-09-14 Thread Alex Harui
Ant does not specify to use settings-template.  I never specify that anymore 
when running Maven from the command-line.

FWIW, I think you should not skip tests or rat when trying to create a release 
candidate.

Ant uses a "mvn" variable when trying to launch Maven so you can -Dmvn= although I don't think you can add other options to that variable.

I guess I will try this out myself on Windows.

HTH
-Alex

On 9/14/18, 9:02 AM, "Piotr Zarzycki"  wrote:

For the tests I run in command line following: mvn -s settings-template.xml
-DskipTests -Drat.skip=true clean install - It uses my Apache Maven 3.5.4.
I would be surprised that Ant run some other Maven - I don't have any other
installed in my system. I will check as you propose from Ant.


pt., 14 wrz 2018 o 17:54 Alex Harui  napisał(a):

> The Ant script runs (on Windows) whatever mvn.cmd maps to in the PATH.
> What are you typing on the command-line to run Maven?
>
> There are some options for Ant that print out more info or you might add
> some other commands to the Ant script to help figure out what mvn.cmd it 
is
> running.  On Windows, I think you can run "where mvn.cmd" to see what it 
is
> picking up.
>
> HTH,
> -Alex
>
>
> On 9/14/18, 8:05 AM, "Piotr Zarzycki"  wrote:
>
> I have spent on that again a bunch of time and something is really
> weird
> happen. I've figure out that if Maven is using scm and we won't 
specify
> inside pluginManagement tag what version of scm is used - It will
> download
> some older one.
>
> However there is something wrong on the line between
> releasecandidate.xml
> and Maven.
>
> 1) If I run build of royale-compiler using cmd or even from Intellij -
> scm
> 1.10.0 is being downloaded - correct one.
> 2) If I run release process using releasecandidate.xml there is being
> downloaded 1.9.4
>
> Any idea why it could happen like that ? This file
> releasecandidate.xml is
> used to just launch Maven build, why old scm is being downloaded?!
>
> Thanks,
> Piotr
>
> czw., 13 wrz 2018 o 21:43 Alex Harui 
> napisał(a):
>
> > I think the console output will show what versions of plugins are
> > downloaded. You can also check out the local maven cache.
> >
> > Get Outlook for Android<
> 
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Faka.ms%2Fghei36&data=02%7C01%7Caharui%40adobe.com%7C52945277f0d64479c60c08d61a5b879b%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C63672533552343&sdata=SVi8NTxA06PTjMvNX9q9xzsEkOTle2FEUU%2BqvUz2G40%3D&reserved=0
> >
> >
> > 
> > From: Piotr Zarzycki 
> > Sent: Thursday, September 13, 2018 11:02:29 AM
> > To: dev@royale.apache.org
> > Subject: Re: [Discuss] Start release process 0.9.3
> >
> > Unfortunately I don't know how to check that. I can check only
> "Effective
> > Pom" - Intellij is able to show me what is behind the stage in
> specific
> > pom. This is how it looks like for main pom in royale-asjs ->
> >
> >
> 
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FeVmK&data=02%7C01%7Caharui%40adobe.com%7C52945277f0d64479c60c08d61a5b879b%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C63672533552343&sdata=d7zASOCupeB7rwYmuW89NhgcSrrCI7aITzqKrXHJkks%3D&reserved=0
> >
> > Piotr
> >
> >
> >
> > czw., 13 wrz 2018 o 19:42 Alex Harui 
> > napisał(a):
> >
> > > Is maven using scm 1.10?
> > >
> > > Get Outlook for Android<
> >
> 
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Faka.ms%2Fghei36&data=02%7C01%7Caharui%40adobe.com%7C52945277f0d64479c60c08d61a5b879b%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C63672533552343&sdata=SVi8NTxA06PTjMvNX9q9xzsEkOTle2FEUU%2BqvUz2G40%3D&reserved=0
> > >
> > >
> > > 
> > > From: Piotr Zarzycki 
> > > Sent: Thursday, September 13, 2018 8:55:29 AM
> > > To: dev@royale.apache.org
> > > Subject: Re: [Discuss] Start release process 0.9.3
> > >
> > > I'm unable to use releasecandidate.xml and prepare that release
> using
> > that
> > > script. It's failing constantly, despite my attempt of update scm.
> > Failing
> > > is happen only on royale-asjs.
> > >
> > > I see only option to prepare that release manually.
> > >
> > > Thanks,
> > > Piotr
> > >
> > > czw., 13 wrz 2018 o 10:47 Alex Harui 
> > > napisał(a):
> > >
> > > > Yes, that might work.  But you also

Re: [Discuss] Start release process 0.9.3

2018-09-14 Thread Piotr Zarzycki
For the tests I run in command line following: mvn -s settings-template.xml
-DskipTests -Drat.skip=true clean install - It uses my Apache Maven 3.5.4.
I would be surprised that Ant run some other Maven - I don't have any other
installed in my system. I will check as you propose from Ant.


pt., 14 wrz 2018 o 17:54 Alex Harui  napisał(a):

> The Ant script runs (on Windows) whatever mvn.cmd maps to in the PATH.
> What are you typing on the command-line to run Maven?
>
> There are some options for Ant that print out more info or you might add
> some other commands to the Ant script to help figure out what mvn.cmd it is
> running.  On Windows, I think you can run "where mvn.cmd" to see what it is
> picking up.
>
> HTH,
> -Alex
>
>
> On 9/14/18, 8:05 AM, "Piotr Zarzycki"  wrote:
>
> I have spent on that again a bunch of time and something is really
> weird
> happen. I've figure out that if Maven is using scm and we won't specify
> inside pluginManagement tag what version of scm is used - It will
> download
> some older one.
>
> However there is something wrong on the line between
> releasecandidate.xml
> and Maven.
>
> 1) If I run build of royale-compiler using cmd or even from Intellij -
> scm
> 1.10.0 is being downloaded - correct one.
> 2) If I run release process using releasecandidate.xml there is being
> downloaded 1.9.4
>
> Any idea why it could happen like that ? This file
> releasecandidate.xml is
> used to just launch Maven build, why old scm is being downloaded?!
>
> Thanks,
> Piotr
>
> czw., 13 wrz 2018 o 21:43 Alex Harui 
> napisał(a):
>
> > I think the console output will show what versions of plugins are
> > downloaded. You can also check out the local maven cache.
> >
> > Get Outlook for Android<
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Faka.ms%2Fghei36&data=02%7C01%7Caharui%40adobe.com%7C85b74180eeec4cdfe9c108d61a5392e1%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636725343577797160&sdata=bvG%2B%2FoQcFS5GlG9yv7qen9vN5SgH5dlPqDCORMCRw0s%3D&reserved=0
> >
> >
> > 
> > From: Piotr Zarzycki 
> > Sent: Thursday, September 13, 2018 11:02:29 AM
> > To: dev@royale.apache.org
> > Subject: Re: [Discuss] Start release process 0.9.3
> >
> > Unfortunately I don't know how to check that. I can check only
> "Effective
> > Pom" - Intellij is able to show me what is behind the stage in
> specific
> > pom. This is how it looks like for main pom in royale-asjs ->
> >
> >
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FeVmK&data=02%7C01%7Caharui%40adobe.com%7C85b74180eeec4cdfe9c108d61a5392e1%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636725343577797160&sdata=iFahLf6C7yWb7bMUAAlcN5o6rDWnOi5V1J6NRAx5dRE%3D&reserved=0
> >
> > Piotr
> >
> >
> >
> > czw., 13 wrz 2018 o 19:42 Alex Harui 
> > napisał(a):
> >
> > > Is maven using scm 1.10?
> > >
> > > Get Outlook for Android<
> >
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Faka.ms%2Fghei36&data=02%7C01%7Caharui%40adobe.com%7C85b74180eeec4cdfe9c108d61a5392e1%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636725343577797160&sdata=bvG%2B%2FoQcFS5GlG9yv7qen9vN5SgH5dlPqDCORMCRw0s%3D&reserved=0
> > >
> > >
> > > 
> > > From: Piotr Zarzycki 
> > > Sent: Thursday, September 13, 2018 8:55:29 AM
> > > To: dev@royale.apache.org
> > > Subject: Re: [Discuss] Start release process 0.9.3
> > >
> > > I'm unable to use releasecandidate.xml and prepare that release
> using
> > that
> > > script. It's failing constantly, despite my attempt of update scm.
> > Failing
> > > is happen only on royale-asjs.
> > >
> > > I see only option to prepare that release manually.
> > >
> > > Thanks,
> > > Piotr
> > >
> > > czw., 13 wrz 2018 o 10:47 Alex Harui 
> > > napisał(a):
> > >
> > > > Yes, that might work.  But you also have to run the
> update.version
> > target
> > > > in Ant.  It looks like I didn't write about it in the wiki.  I
> think
> > the
> > > > command would be something like:
> > > >
> > > >   Ant -f releasecandidate.xml update.version
> -Drelease.version=0.9.3
> > > >
> > > > I think it will ask you for the next version to use.  I'm done
> working
> > > for
> > > > today, so good luck.
> > > >
> > > > HTH,
> > > > -Alex
> > > >
> > > > On 9/13/18, 12:52 AM, "Piotr Zarzycki" <
> piotrzarzyck...@gmail.com>
> > > wrote:
> > > >
> > > > Alex,
> > > >
> > > > By that do you mean that I basically should go two times
> with third
> > > > step of
> > > > your release steps ? It will give the results I think so.
> > > >
> > > > [1]
> > > >
> > > >
> > >
> >
> h

Re: [Discuss] Start release process 0.9.3

2018-09-14 Thread Alex Harui
The Ant script runs (on Windows) whatever mvn.cmd maps to in the PATH.  What 
are you typing on the command-line to run Maven?

There are some options for Ant that print out more info or you might add some 
other commands to the Ant script to help figure out what mvn.cmd it is running. 
 On Windows, I think you can run "where mvn.cmd" to see what it is picking up.

HTH,
-Alex


On 9/14/18, 8:05 AM, "Piotr Zarzycki"  wrote:

I have spent on that again a bunch of time and something is really weird
happen. I've figure out that if Maven is using scm and we won't specify
inside pluginManagement tag what version of scm is used - It will download
some older one.

However there is something wrong on the line between releasecandidate.xml
and Maven.

1) If I run build of royale-compiler using cmd or even from Intellij - scm
1.10.0 is being downloaded - correct one.
2) If I run release process using releasecandidate.xml there is being
downloaded 1.9.4

Any idea why it could happen like that ? This file releasecandidate.xml is
used to just launch Maven build, why old scm is being downloaded?!

Thanks,
Piotr

czw., 13 wrz 2018 o 21:43 Alex Harui  napisał(a):

> I think the console output will show what versions of plugins are
> downloaded. You can also check out the local maven cache.
>
> Get Outlook for 
Android
>
> 
> From: Piotr Zarzycki 
> Sent: Thursday, September 13, 2018 11:02:29 AM
> To: dev@royale.apache.org
> Subject: Re: [Discuss] Start release process 0.9.3
>
> Unfortunately I don't know how to check that. I can check only "Effective
> Pom" - Intellij is able to show me what is behind the stage in specific
> pom. This is how it looks like for main pom in royale-asjs ->
>
> 
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FeVmK&data=02%7C01%7Caharui%40adobe.com%7C85b74180eeec4cdfe9c108d61a5392e1%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636725343577797160&sdata=iFahLf6C7yWb7bMUAAlcN5o6rDWnOi5V1J6NRAx5dRE%3D&reserved=0
>
> Piotr
>
>
>
> czw., 13 wrz 2018 o 19:42 Alex Harui 
> napisał(a):
>
> > Is maven using scm 1.10?
> >
> > Get Outlook for Android<
> 
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Faka.ms%2Fghei36&data=02%7C01%7Caharui%40adobe.com%7C85b74180eeec4cdfe9c108d61a5392e1%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636725343577797160&sdata=bvG%2B%2FoQcFS5GlG9yv7qen9vN5SgH5dlPqDCORMCRw0s%3D&reserved=0
> >
> >
> > 
> > From: Piotr Zarzycki 
> > Sent: Thursday, September 13, 2018 8:55:29 AM
> > To: dev@royale.apache.org
> > Subject: Re: [Discuss] Start release process 0.9.3
> >
> > I'm unable to use releasecandidate.xml and prepare that release using
> that
> > script. It's failing constantly, despite my attempt of update scm.
> Failing
> > is happen only on royale-asjs.
> >
> > I see only option to prepare that release manually.
> >
> > Thanks,
> > Piotr
> >
> > czw., 13 wrz 2018 o 10:47 Alex Harui 
> > napisał(a):
> >
> > > Yes, that might work.  But you also have to run the update.version
> target
> > > in Ant.  It looks like I didn't write about it in the wiki.  I think
> the
> > > command would be something like:
> > >
> > >   Ant -f releasecandidate.xml update.version -Drelease.version=0.9.3
> > >
> > > I think it will ask you for the next version to use.  I'm done working
> > for
> > > today, so good luck.
> > >
> > > HTH,
> > > -Alex
> > >
> > > On 9/13/18, 12:52 AM, "Piotr Zarzycki" 
> > wrote:
> > >
> > > Alex,
> > >
> > > By that do you mean that I basically should go two times with 
third
> > > step of
> > > your release steps ? It will give the results I think so.
> > >
> > > [1]
> > >
> > >
> >
> 
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fwiki%2FRelease-Manager-Notes%23release-steps&data=02%7C01%7Caharui%40adobe.com%7C85b74180eeec4cdfe9c108d61a5392e1%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636725343577797160&sdata=HnoBFp%2FwampZcoK%2FkQUnWn6lhZrgijMRBSzNCIn%2BJyE%3D&reserved=0
> > >
> > > Thanks,
> > > Piotr
> > >
> > > czw., 13 wrz 2018 o 09:46 Alex Harui 
> > > napisał(a):
> > >
> > > > I also noticed that there are lots of references to 0.9.3 in the
> > > repo.  If

Jenkins build is back to normal : royale-asjs_jsonly #1531

2018-09-14 Thread apacheroyaleci
See 




Re: [Discuss] Start release process 0.9.3

2018-09-14 Thread Piotr Zarzycki
I have spent on that again a bunch of time and something is really weird
happen. I've figure out that if Maven is using scm and we won't specify
inside pluginManagement tag what version of scm is used - It will download
some older one.

However there is something wrong on the line between releasecandidate.xml
and Maven.

1) If I run build of royale-compiler using cmd or even from Intellij - scm
1.10.0 is being downloaded - correct one.
2) If I run release process using releasecandidate.xml there is being
downloaded 1.9.4

Any idea why it could happen like that ? This file releasecandidate.xml is
used to just launch Maven build, why old scm is being downloaded?!

Thanks,
Piotr

czw., 13 wrz 2018 o 21:43 Alex Harui  napisał(a):

> I think the console output will show what versions of plugins are
> downloaded. You can also check out the local maven cache.
>
> Get Outlook for Android
>
> 
> From: Piotr Zarzycki 
> Sent: Thursday, September 13, 2018 11:02:29 AM
> To: dev@royale.apache.org
> Subject: Re: [Discuss] Start release process 0.9.3
>
> Unfortunately I don't know how to check that. I can check only "Effective
> Pom" - Intellij is able to show me what is behind the stage in specific
> pom. This is how it looks like for main pom in royale-asjs ->
>
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FeVmK&data=02%7C01%7Caharui%40adobe.com%7C9a76875f8d024e74cd8f08d619a320cb%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724585754876063&sdata=cGuMAT774wNmcW41vKlr1fPDPuLrWupi0wk9mfr9e38%3D&reserved=0
>
> Piotr
>
>
>
> czw., 13 wrz 2018 o 19:42 Alex Harui 
> napisał(a):
>
> > Is maven using scm 1.10?
> >
> > Get Outlook for Android<
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Faka.ms%2Fghei36&data=02%7C01%7Caharui%40adobe.com%7C9a76875f8d024e74cd8f08d619a320cb%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724585754876063&sdata=QPZigV0yXFa7OM6eTWSXOs1gZ1ugHo6BLbeknFaWqks%3D&reserved=0
> >
> >
> > 
> > From: Piotr Zarzycki 
> > Sent: Thursday, September 13, 2018 8:55:29 AM
> > To: dev@royale.apache.org
> > Subject: Re: [Discuss] Start release process 0.9.3
> >
> > I'm unable to use releasecandidate.xml and prepare that release using
> that
> > script. It's failing constantly, despite my attempt of update scm.
> Failing
> > is happen only on royale-asjs.
> >
> > I see only option to prepare that release manually.
> >
> > Thanks,
> > Piotr
> >
> > czw., 13 wrz 2018 o 10:47 Alex Harui 
> > napisał(a):
> >
> > > Yes, that might work.  But you also have to run the update.version
> target
> > > in Ant.  It looks like I didn't write about it in the wiki.  I think
> the
> > > command would be something like:
> > >
> > >   Ant -f releasecandidate.xml update.version -Drelease.version=0.9.3
> > >
> > > I think it will ask you for the next version to use.  I'm done working
> > for
> > > today, so good luck.
> > >
> > > HTH,
> > > -Alex
> > >
> > > On 9/13/18, 12:52 AM, "Piotr Zarzycki" 
> > wrote:
> > >
> > > Alex,
> > >
> > > By that do you mean that I basically should go two times with third
> > > step of
> > > your release steps ? It will give the results I think so.
> > >
> > > [1]
> > >
> > >
> >
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fwiki%2FRelease-Manager-Notes%23release-steps&data=02%7C01%7Caharui%40adobe.com%7C9a76875f8d024e74cd8f08d619a320cb%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724585754876063&sdata=SwVxWQl1fy2JG5wHtTX3HC1sxXVWK3wU%2FXS3cr7Nj38%3D&reserved=0
> > >
> > > Thanks,
> > > Piotr
> > >
> > > czw., 13 wrz 2018 o 09:46 Alex Harui 
> > > napisał(a):
> > >
> > > > I also noticed that there are lots of references to 0.9.3 in the
> > > repo.  If
> > > > we want to use 0.9.4 as the version number, I think you will have
> > to
> > > run
> > > > the update.version target in releasecandidate.xml and update the
> > > Maven poms
> > > > as well.   We've never really tried to skip a version number
> > before,
> > > so not
> > > > exactly sure what needs to be done.  One way that might work to
> > > update
> > > > Maven poms is to create the release branches.  That should update
> > the
> > > > version numbers in the develop branch.  Then toss the release
> > branch
> > > > without reverting and create another release branch.  That should
> > > update
> > > > the version numbers in develop to 0.9.5-SNAPSHOT which is what we
> > > want, and
> > > > the release branches should have 0.9.4.
> > > >
> > > > HTH,
> > > > -Alex
> > > >
> > > > On 9/12/18, 2:18 PM, "Alex Harui" 
> > wrote:
> > > >
> > > > The console output should include what version of plugins are
> > > > downloaded.
> > > >
> > > > Get Outlook for Android<
> > > >
> > >
> >
> https://na01.safelinks.protection.outlook.com

Jenkins build is back to normal : royale-typedefs #704

2018-09-14 Thread apacheroyaleci
See 




Build failed in Jenkins: royale-asjs_jsonly #1530

2018-09-14 Thread apacheroyaleci
See 


Changes:

[noreply] Update UIComponent.as

[noreply] Update Container.as

[noreply] Update KeyboardEvent.as

[noreply] Update SkinnableContainer.as

[noreply] Update UIComponent.as

[piotrzarzycki21] Update some plugins in order to force using newest version of 
scm

--
[...truncated 242.39 KB...]
 [java] at 
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
 [java] at 
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
 [java] at 
org.apache.tools.ant.Project.executeTargets(Project.java:1260)
 [java] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:441)
 [java] at 
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
 [java] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
 [java] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 [java] at java.lang.reflect.Method.invoke(Method.java:498)
 [java] at 
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
 [java] at org.apache.tools.ant.Task.perform(Task.java:348)
 [java] at org.apache.tools.ant.Target.execute(Target.java:435)
 [java] at org.apache.tools.ant.Target.performTasks(Target.java:456)
 [java] at 
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
 [java] at 
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
 [java] at 
org.apache.tools.ant.Project.executeTargets(Project.java:1260)
 [java] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:441)
 [java] at 
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
 [java] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
 [java] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 [java] at java.lang.reflect.Method.invoke(Method.java:498)
 [java] at 
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
 [java] at org.apache.tools.ant.Task.perform(Task.java:348)
 [java] at org.apache.tools.ant.Target.execute(Target.java:435)
 [java] at org.apache.tools.ant.Target.performTasks(Target.java:456)
 [java] at 
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
 [java] at org.apache.tools.ant.Project.executeTarget(Project.java:1376)
 [java] at 
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
 [java] at 
org.apache.tools.ant.Project.executeTargets(Project.java:1260)
 [java] at org.apache.tools.ant.Main.runBuild(Main.java:857)
 [java] at org.apache.tools.ant.Main.startAnt(Main.java:236)
 [java] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:287)
 [java] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:113)

set.metadata.parser.uptodate:

metadata.parser:
 [echo] Generating MetadataParser and MetadataTokenTypes
[antlr] ANTLR Parser Generator   Version 2.7.7 (20060906)   1989-2005
[antlr] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xmx512m
 [java] Adding @SuppressWarnings("all") to class: C:\Program Files 
(x86)\Jenkins\workspace\royale-compiler\compiler\target\generated-sources\antlr\org\apache\royale\compiler\internal\parsing\as\MetadataParser.java
 [java] 
org.apache.royale.compiler.tools.annotate.AnnotateClass$AnnotateClassRenameException:
 Error renaming the temp file from: C:\Program Files 
(x86)\Jenkins\workspace\royale-compiler\compiler\target\generated-sources\antlr\org\apache\royale\compiler\internal\parsing\as\MetadataParser.java.tmp
 to: C:\Program Files 
(x86)\Jenkins\workspace\royale-compiler\compiler\target\generated-sources\antlr\org\apache\royale\compiler\internal\parsing\as\MetadataParser.java
 [java] at 
org.apache.royale.compiler.tools.annotate.AnnotateClass.processFile(AnnotateClass.java:103)
 [java] at 
org.apache.royale.compiler.tools.annotate.AnnotateClass.main(AnnotateClass.java:117)
 [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 [java] at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 [java] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 [java] at java.lang.reflect.Method.invoke(Method.java:498)
 [java] at 
org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:221)
 [java] at 
org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:154)
 [java] at org.apache.tools.ant.taskdefs.Java.run(Java.java:834)
 [java] at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:228)
 [j

Build failed in Jenkins: royale-typedefs #703

2018-09-14 Thread apacheroyaleci
See 


--
Started by an SCM change
Building on master in workspace 

 > git.exe rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git.exe config remote.origin.url 
 > https://github.com/apache/royale-typedefs.git # timeout=10
Fetching upstream changes from https://github.com/apache/royale-typedefs.git
 > git.exe --version # timeout=10
 > git.exe fetch --tags --progress 
 > https://github.com/apache/royale-typedefs.git 
 > +refs/heads/*:refs/remotes/origin/*
 > git.exe rev-parse "refs/remotes/origin/develop^{commit}" # timeout=10
 > git.exe rev-parse "refs/remotes/origin/origin/develop^{commit}" # timeout=10
Checking out Revision 6ef1a3b53278e129250d4ee73fec56feeae302a0 
(refs/remotes/origin/develop)
 > git.exe config core.sparsecheckout # timeout=10
 > git.exe checkout -f 6ef1a3b53278e129250d4ee73fec56feeae302a0
Commit message: "Attempt to force for usage scm 1.10.0 and updates to some 
other libraries"
 > git.exe rev-list --no-walk 6984a65cb4adde61bf753d5f118754fc656050ac # 
 > timeout=10
[royale-typedefs] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat main && 
exit %%ERRORLEVEL%%"
Buildfile: 


main:

download:
 [echo] 

[mkdir] Created dir: 


BUILD FAILED
:54:
 The following error occurred while executing this line:
:86:
 src 
'
 doesn't exist.

Total time: 2 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xmx512m
Build step 'Invoke Ant' marked build as failure


Build failed in Jenkins: royale-asjs #1324

2018-09-14 Thread apacheroyaleci
See 


Changes:

[noreply] Update UIComponent.as

[noreply] Update Container.as

[noreply] Update KeyboardEvent.as

[noreply] Update SkinnableContainer.as

[noreply] Update UIComponent.as

[piotrzarzycki21] Update some plugins in order to force using newest version of 
scm

--
[...truncated 391.47 KB...]
 [java] at 
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
 [java] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
 [java] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 [java] at java.lang.reflect.Method.invoke(Method.java:498)
 [java] at 
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
 [java] at org.apache.tools.ant.Task.perform(Task.java:348)
 [java] at org.apache.tools.ant.Target.execute(Target.java:435)
 [java] at org.apache.tools.ant.Target.performTasks(Target.java:456)
 [java] at 
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
 [java] at 
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
 [java] at 
org.apache.tools.ant.Project.executeTargets(Project.java:1260)
 [java] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:441)
 [java] at 
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
 [java] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
 [java] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 [java] at java.lang.reflect.Method.invoke(Method.java:498)
 [java] at 
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
 [java] at org.apache.tools.ant.Task.perform(Task.java:348)
 [java] at org.apache.tools.ant.Target.execute(Target.java:435)
 [java] at org.apache.tools.ant.Target.performTasks(Target.java:456)
 [java] at 
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
 [java] at 
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
 [java] at 
org.apache.tools.ant.Project.executeTargets(Project.java:1260)
 [java] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:441)
 [java] at 
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
 [java] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
 [java] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 [java] at java.lang.reflect.Method.invoke(Method.java:498)
 [java] at 
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
 [java] at org.apache.tools.ant.Task.perform(Task.java:348)
 [java] at org.apache.tools.ant.Target.execute(Target.java:435)
 [java] at org.apache.tools.ant.Target.performTasks(Target.java:456)
 [java] at 
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
 [java] at org.apache.tools.ant.Project.executeTarget(Project.java:1376)
 [java] at 
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
 [java] at 
org.apache.tools.ant.Project.executeTargets(Project.java:1260)
 [java] at org.apache.tools.ant.Main.runBuild(Main.java:857)
 [java] at org.apache.tools.ant.Main.startAnt(Main.java:236)
 [java] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:287)
 [java] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:113)
 [java] Adding @SuppressWarnings("unused") to class: C:\Program Files 
(x86)\Jenkins\workspace\royale-compiler\compiler\target\generated-sources\antlr\org\apache\royale\compiler\internal\parsing\as\MetadataTokenTypes.java
 [java] 
org.apache.royale.compiler.tools.annotate.AnnotateClass$AnnotateClassRenameException:
 Error renaming the temp file from: C:\Program Files 
(x86)\Jenkins\workspace\royale-compiler\compiler\target\generated-sources\antlr\org\apache\royale\compiler\internal\parsing\as\MetadataTokenTypes.java.tmp
 to: C:\Program Files 
(x86)\Jenkins\workspace\royale-compiler\compiler\target\generated-sources\antlr\org\apache\royale\compiler\internal\parsing\as\MetadataTokenTypes.java
 [java] at 
org.apache.royale.compiler.tools.annotate.AnnotateClass.processFile(AnnotateClass.java:103)
 [java] at 
org.apache.royale.compiler.tools.annotate.AnnotateClass.main(AnnotateClass.java:117)
 [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 [java] at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 [java] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  

Jenkins build is back to normal : royale-typedefs #701

2018-09-14 Thread apacheroyaleci
See 




Build failed in Jenkins: royale-typedefs #700

2018-09-14 Thread apacheroyaleci
See 


Changes:

[piotrzarzycki21] Attempt to force for usage scm 1.10.0 and updates to some 
other

--
[...truncated 28.21 KB...]
 [java] java.util.concurrent.ExecutionException: 
java.lang.NoClassDefFoundError: 
org/apache/royale/compiler/parsing/IASToken$ASTokenKind
 [java] at java.util.concurrent.FutureTask.report(FutureTask.java:122)
 [java] at java.util.concurrent.FutureTask.get(FutureTask.java:192)
 [java] at 
org.apache.royale.compiler.internal.units.requests.RequestMaker$Request.get(RequestMaker.java:80)
 [java] at 
org.apache.royale.compiler.internal.units.ASCompilationUnit.handleOutgoingDependenciesRequest(ASCompilationUnit.java:467)
 [java] at 
org.apache.royale.compiler.internal.units.CompilationUnitBase.processOutgoingDependenciesRequest(CompilationUnitBase.java:891)
 [java] at 
org.apache.royale.compiler.internal.units.CompilationUnitBase.access$500(CompilationUnitBase.java:108)
 [java] at 
org.apache.royale.compiler.internal.units.CompilationUnitBase$6$1.call(CompilationUnitBase.java:387)
 [java] at 
org.apache.royale.compiler.internal.units.CompilationUnitBase$6$1.call(CompilationUnitBase.java:383)
 [java] at 
org.apache.royale.compiler.internal.units.requests.RequestMaker$1.call(RequestMaker.java:228)
 [java] at 
org.apache.royale.compiler.internal.units.requests.RequestMaker$1.call(RequestMaker.java:222)
 [java] at java.util.concurrent.FutureTask.run(FutureTask.java:266)
 [java] at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
 [java] at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
 [java] at java.lang.Thread.run(Thread.java:748)
 [java] Caused by: java.lang.NoClassDefFoundError: 
org/apache/royale/compiler/parsing/IASToken$ASTokenKind
 [java] at 
org.apache.royale.compiler.internal.parsing.as.ASToken.getTokenKind(ASToken.java:928)
 [java] at 
org.apache.royale.compiler.internal.parsing.as.StreamingTokenBuffer.matchOptionalSemicolon(StreamingTokenBuffer.java:182)
 [java] at 
org.apache.royale.compiler.internal.parsing.as.ASParser.optionalFunctionBody(ASParser.java:3296)
 [java] at 
org.apache.royale.compiler.internal.parsing.as.ASParser.functionDefinition(ASParser.java:1205)
 [java] at 
org.apache.royale.compiler.internal.parsing.as.ASParser.definition(ASParser.java:799)
 [java] at 
org.apache.royale.compiler.internal.parsing.as.ASParser.attributedDefinition(ASParser.java:455)
 [java] at 
org.apache.royale.compiler.internal.parsing.as.ASParser.directive(ASParser.java:236)
 [java] at 
org.apache.royale.compiler.internal.parsing.as.ASParser.classOrInterfaceBlock(ASParser.java:2856)
 [java] at 
org.apache.royale.compiler.internal.parsing.as.ASParser.interfaceDefinition(ASParser.java:1584)
 [java] at 
org.apache.royale.compiler.internal.parsing.as.ASParser.definition(ASParser.java:814)
 [java] at 
org.apache.royale.compiler.internal.parsing.as.ASParser.attributedDefinition(ASParser.java:455)
 [java] at 
org.apache.royale.compiler.internal.parsing.as.ASParser.directive(ASParser.java:236)
 [java] at 
org.apache.royale.compiler.internal.parsing.as.ASParser.packageContents(ASParser.java:2730)
 [java] at 
org.apache.royale.compiler.internal.parsing.as.ASParser.packageDirective(ASParser.java:649)
 [java] at 
org.apache.royale.compiler.internal.parsing.as.ASParser.directive(ASParser.java:180)
 [java] at 
org.apache.royale.compiler.internal.parsing.as.ASParser.fileLevelDirectives(ASParser.java:126)
 [java] at 
org.apache.royale.compiler.internal.parsing.as.BaseASParser.file(BaseASParser.java:3044)
 [java] at 
org.apache.royale.compiler.internal.parsing.as.BaseASParser.parseFile(BaseASParser.java:1112)
 [java] at 
org.apache.royale.compiler.internal.parsing.as.ASParser.parseFile(ASParser.java:67)
 [java] at 
org.apache.royale.compiler.internal.parsing.as.BaseASParser.parseFile(BaseASParser.java:279)
 [java] at 
org.apache.royale.compiler.internal.units.ASCompilationUnit.createFileNode(ASCompilationUnit.java:305)
 [java] at 
org.apache.royale.compiler.internal.units.ASCompilationUnit.handleSyntaxTreeRequest(ASCompilationUnit.java:326)
 [java] at 
org.apache.royale.compiler.internal.units.CompilationUnitBase.processSyntaxTreeRequest(CompilationUnitBase.java:838)
 [java] at 
org.apache.royale.compiler.internal.units.CompilationUnitBase.access$100(CompilationUnitBase.java:108)
 [java] at 
org.apache.royale.compiler.internal.units.CompilationUnitBase$2$1.call(CompilationUnitBase.java:262)
 [java] at 
org.apache.royale.compiler.internal.units.CompilationUnitBase$2$1.ca

Jenkins build is back to normal : royale-compiler #437

2018-09-14 Thread apacheroyaleci
See 




Re: Royale Transitions, Effects, States infrastructure [was: Re: [royale-asjs] branch develop updated: I think this fixes Menu]

2018-09-14 Thread Carlos Rovira
Hi Harbs,

for me is ok, but I'm more worried about how to accommodate this and the
underlying architecture. The events systems that Alex propose,
About implementation, I'm sure can do something on the lines of GASP, but
as you say, we should be able to plug other options as we do with layouts
currently.

But first of all, for me, we should solve the problem with addition/removal
of class selectors in the core of UIBase. I at least don't know other way
to deal with it without the need of adding lots of unnecessary code like I
had to do in Jewel for something that is so "core" to us.

Thanks



El vie., 14 sept. 2018 a las 11:34, Harbs ()
escribió:

> Well, my point of view on animation would be that GSAP is the industry
> standard.[1]
>
> Making GSAP a dependency is a no-go because the license is not compatible,
> but I’d say that the approach should be similar (although I don’t expect
> we’d get nearly to the level of complete-ness / robustness that GSAP has).
> Extra points would be to allow GSAP to be easily substituted for the
> default implementation.
>
> I’m not sure about states.
>
> My $0.02,
> Harbs
>
> [1]https://greensock.com/gsap 
>
> > On Sep 14, 2018, at 10:36 AM, Carlos Rovira 
> wrote:
> >
> > Hi Alex,
> >
> > renaming this to other thread since I think this deserves its space to
> > planning.
> >
> > Right now, in Jewel, we try to get most of "eye candy" things through CSS
> > class selectors. This means that we defer this to the CSS "engine". The
> > same happens with Jewel layouts, that are based on add the proper class
> > selectors.
> >
> > This for now is working, but I think is not the Royale way, since I see
> > some drawbacks:
> >
> > - you don't have control in Royale of the things deferred to CSS.
> > - targets like SWF, or future targets, could be left since this strategy
> is
> > platform dependent
> >
> > And some issues:
> >
> > - States subsystems is not playing nicely with class selectors. It can't
> > recreate the class selectors the component has before the state change
> > - As I stated in other thread recently, although we introduced a way to
> > deal with classList, since is not part of UIBase, we can see it's not
> > playing nicely with the rest of Royale and it's causing to introduce more
> > code in lost of classes (checking for ClassSelectorList in Jewel and
> Basic
> > Code will discover all places where I had to inject the same code, what
> > seems not optimal.
> >
> > So, I think we should refactor now (post release) how we deal with class
> > names (before the ball gets bigger), and think a way to play with
> > transitions and effects in a more Royale way. I think first is very
> needed,
> > and second can wait a bit more...
> >
> > For example for HTML, I envision using StatesWithTransitionImpl to deal
> > with class selectors that will play, in HTML, transitions, so
> effectStart,
> > transitionStart, or effectEnd, or transitionEnd, could make an
> "addClass",
> > "removeClass" or "toggleClass" and the those class selectors will define
> > the platform (in this case CSS) way to deal with the effect, and avoid
> hard
> > coding that in AS3 code.
> >
> > Another side problem here is that we need to include @keyframe in
> compiler
> > since Royale, as today, don't know how to deal with this.
> >
> > Thoughts?
> >
> >
> >
> > El vie., 14 sept. 2018 a las 8:45, Alex Harui ( >)
> > escribió:
> >
> >> Hi Carlos,
> >>
> >> We have not devoted much time and energy to an effects subsystem, so
> maybe
> >> you will be the pioneer in this area.
> >>
> >> In my mind, there will be at least two kinds of effects subsystem:
> >> planned and unplanned.
> >>
> >> In a planned effects subsystem, the assumption is that most users will
> >> want to implement an effect/transition.  The StatesWithTransitionsImpl
> is
> >> an early example of that.  Such a subsystem should have a "lifecycle".
> A
> >> known set of events should be dispatched that provide useful
> opportunities
> >> to change the effects start and end conditions.  For state changes, the
> >> events should be something like transitionStart, transitionEnd,
> >> stateChanged.  For your cases, the events might be something like
> >> effectStart, effectEnd, open/close.  If you get the right set of events,
> >> then the work you want to defer should happen on an lifecycle event
> instead
> >> of a timer event.
> >>
> >> In an unplanned effects subsystem, the event system is more
> >> sophisticated.  The assumption is that it will be rare to have an
> effect in
> >> response to some change in the component.  So hide/show effects,
> selection
> >> and focus effects and things like that would be "unplanned".   I hope we
> >> can find a way to do this in a PAYG way with different/heavier beads,
> but
> >> that is a bit tricky for hide/show since it is built into UIBase.  In an
> >> unplanned system, there will either be cancelable "ing" events or the
> >> target classes have to be able to reverse a 

Re: Royale Transitions, Effects, States infrastructure [was: Re: [royale-asjs] branch develop updated: I think this fixes Menu]

2018-09-14 Thread Harbs
Well, my point of view on animation would be that GSAP is the industry 
standard.[1]

Making GSAP a dependency is a no-go because the license is not compatible, but 
I’d say that the approach should be similar (although I don’t expect we’d get 
nearly to the level of complete-ness / robustness that GSAP has). Extra points 
would be to allow GSAP to be easily substituted for the default implementation.

I’m not sure about states.

My $0.02,
Harbs

[1]https://greensock.com/gsap 

> On Sep 14, 2018, at 10:36 AM, Carlos Rovira  wrote:
> 
> Hi Alex,
> 
> renaming this to other thread since I think this deserves its space to
> planning.
> 
> Right now, in Jewel, we try to get most of "eye candy" things through CSS
> class selectors. This means that we defer this to the CSS "engine". The
> same happens with Jewel layouts, that are based on add the proper class
> selectors.
> 
> This for now is working, but I think is not the Royale way, since I see
> some drawbacks:
> 
> - you don't have control in Royale of the things deferred to CSS.
> - targets like SWF, or future targets, could be left since this strategy is
> platform dependent
> 
> And some issues:
> 
> - States subsystems is not playing nicely with class selectors. It can't
> recreate the class selectors the component has before the state change
> - As I stated in other thread recently, although we introduced a way to
> deal with classList, since is not part of UIBase, we can see it's not
> playing nicely with the rest of Royale and it's causing to introduce more
> code in lost of classes (checking for ClassSelectorList in Jewel and Basic
> Code will discover all places where I had to inject the same code, what
> seems not optimal.
> 
> So, I think we should refactor now (post release) how we deal with class
> names (before the ball gets bigger), and think a way to play with
> transitions and effects in a more Royale way. I think first is very needed,
> and second can wait a bit more...
> 
> For example for HTML, I envision using StatesWithTransitionImpl to deal
> with class selectors that will play, in HTML, transitions, so effectStart,
> transitionStart, or effectEnd, or transitionEnd, could make an "addClass",
> "removeClass" or "toggleClass" and the those class selectors will define
> the platform (in this case CSS) way to deal with the effect, and avoid hard
> coding that in AS3 code.
> 
> Another side problem here is that we need to include @keyframe in compiler
> since Royale, as today, don't know how to deal with this.
> 
> Thoughts?
> 
> 
> 
> El vie., 14 sept. 2018 a las 8:45, Alex Harui ()
> escribió:
> 
>> Hi Carlos,
>> 
>> We have not devoted much time and energy to an effects subsystem, so maybe
>> you will be the pioneer in this area.
>> 
>> In my mind, there will be at least two kinds of effects subsystem:
>> planned and unplanned.
>> 
>> In a planned effects subsystem, the assumption is that most users will
>> want to implement an effect/transition.  The StatesWithTransitionsImpl is
>> an early example of that.  Such a subsystem should have a "lifecycle".  A
>> known set of events should be dispatched that provide useful opportunities
>> to change the effects start and end conditions.  For state changes, the
>> events should be something like transitionStart, transitionEnd,
>> stateChanged.  For your cases, the events might be something like
>> effectStart, effectEnd, open/close.  If you get the right set of events,
>> then the work you want to defer should happen on an lifecycle event instead
>> of a timer event.
>> 
>> In an unplanned effects subsystem, the event system is more
>> sophisticated.  The assumption is that it will be rare to have an effect in
>> response to some change in the component.  So hide/show effects, selection
>> and focus effects and things like that would be "unplanned".   I hope we
>> can find a way to do this in a PAYG way with different/heavier beads, but
>> that is a bit tricky for hide/show since it is built into UIBase.  In an
>> unplanned system, there will either be cancelable "ing" events or the
>> target classes have to be able to reverse a property change without
>> flicker.
>> 
>> For example,  right now if you set the UIBase visible property to false,
>> the component becomes invisible immediately.  And similarly if you set
>> visible=true, the component becomes visible immediately.  Adding unplanned
>> effect support to visible would require dispatching a cancelable
>> visibleChanging event before actually setting the browser's CSS display
>> property that an effect instance would listen for and cancel, then wait for
>> the effectEnd event and then finally actually set the visible property.  Or
>> we'd have to be confident that you can set the CSS display property and set
>> it back without flicker.
>> 
>> In summary, having the right events should eliminate the need for timing
>> events.
>> 
>> My 2 cents,
>> -Alex
>> 
>> 
>> On 9/13/18, 2:34 PM, "Carlos Rovira"  wrote:

Royale Transitions, Effects, States infrastructure [was: Re: [royale-asjs] branch develop updated: I think this fixes Menu]

2018-09-14 Thread Carlos Rovira
Hi Alex,

renaming this to other thread since I think this deserves its space to
planning.

Right now, in Jewel, we try to get most of "eye candy" things through CSS
class selectors. This means that we defer this to the CSS "engine". The
same happens with Jewel layouts, that are based on add the proper class
selectors.

This for now is working, but I think is not the Royale way, since I see
some drawbacks:

- you don't have control in Royale of the things deferred to CSS.
- targets like SWF, or future targets, could be left since this strategy is
platform dependent

And some issues:

- States subsystems is not playing nicely with class selectors. It can't
recreate the class selectors the component has before the state change
- As I stated in other thread recently, although we introduced a way to
deal with classList, since is not part of UIBase, we can see it's not
playing nicely with the rest of Royale and it's causing to introduce more
code in lost of classes (checking for ClassSelectorList in Jewel and Basic
Code will discover all places where I had to inject the same code, what
seems not optimal.

So, I think we should refactor now (post release) how we deal with class
names (before the ball gets bigger), and think a way to play with
transitions and effects in a more Royale way. I think first is very needed,
and second can wait a bit more...

For example for HTML, I envision using StatesWithTransitionImpl to deal
with class selectors that will play, in HTML, transitions, so effectStart,
transitionStart, or effectEnd, or transitionEnd, could make an "addClass",
"removeClass" or "toggleClass" and the those class selectors will define
the platform (in this case CSS) way to deal with the effect, and avoid hard
coding that in AS3 code.

Another side problem here is that we need to include @keyframe in compiler
since Royale, as today, don't know how to deal with this.

Thoughts?



El vie., 14 sept. 2018 a las 8:45, Alex Harui ()
escribió:

> Hi Carlos,
>
> We have not devoted much time and energy to an effects subsystem, so maybe
> you will be the pioneer in this area.
>
> In my mind, there will be at least two kinds of effects subsystem:
> planned and unplanned.
>
> In a planned effects subsystem, the assumption is that most users will
> want to implement an effect/transition.  The StatesWithTransitionsImpl is
> an early example of that.  Such a subsystem should have a "lifecycle".  A
> known set of events should be dispatched that provide useful opportunities
> to change the effects start and end conditions.  For state changes, the
> events should be something like transitionStart, transitionEnd,
> stateChanged.  For your cases, the events might be something like
> effectStart, effectEnd, open/close.  If you get the right set of events,
> then the work you want to defer should happen on an lifecycle event instead
> of a timer event.
>
> In an unplanned effects subsystem, the event system is more
> sophisticated.  The assumption is that it will be rare to have an effect in
> response to some change in the component.  So hide/show effects, selection
> and focus effects and things like that would be "unplanned".   I hope we
> can find a way to do this in a PAYG way with different/heavier beads, but
> that is a bit tricky for hide/show since it is built into UIBase.  In an
> unplanned system, there will either be cancelable "ing" events or the
> target classes have to be able to reverse a property change without
> flicker.
>
> For example,  right now if you set the UIBase visible property to false,
> the component becomes invisible immediately.  And similarly if you set
> visible=true, the component becomes visible immediately.  Adding unplanned
> effect support to visible would require dispatching a cancelable
> visibleChanging event before actually setting the browser's CSS display
> property that an effect instance would listen for and cancel, then wait for
> the effectEnd event and then finally actually set the visible property.  Or
> we'd have to be confident that you can set the CSS display property and set
> it back without flicker.
>
> In summary, having the right events should eliminate the need for timing
> events.
>
> My 2 cents,
> -Alex
>
>
> On 9/13/18, 2:34 PM, "Carlos Rovira"  wrote:
>
> Hi Alex,
> I'm with you. Don't like setTimeOut. But I needed in Jewel in at least
> 3
> scenearios. I'd love to change it sometime in the future, but for now
> don't
> know how.
> I think the actual ways to defer something are:
> -setTimeOut
> -setInterval
> -requestAnimationFrame
>
> the first one is in SWF, so the solution is cross SWF/JS, although if
> we
> add other targets, maybe will require changes.
> the second seems to be the worse.
> the latest seems the actual way to do things in JS, but I tried and
> didn't
> work for me, and I suppose we'll need to abstract it to something
> usable in
> SWF and future targets.
>
> My concrete case in the t

Re: [royale-asjs] branch develop updated: I think this fixes Menu

2018-09-14 Thread Alex Harui
Hmm.  What "interaction" does it refer to?   I think "click" is fine because it 
is saying that a mouse click happened and wasn't consumed for some 
intra-renderer thing like an expand/collapse triangle.  It is up to the List's 
controller to watch for all "item*" events and determine what they mean 
regarding selection.  In some Lists, hitting the "space" bar selects the 
renderer as well.  The renderer's controller shouldn't map a space key to an 
itemClick event, it should just handle the key event and decide how to update 
the selection.

It did occur to me to replace "item" with "renderer" in the event name such as 
"rendererClick", but itemClick was what was used in Flex.

My 2 cents,
-Alex

On 9/13/18, 11:41 PM, "Harbs"  wrote:

I feel like ItemClickedEvent should be renamed to ItemInteractionEvent…

> On Sep 14, 2018, at 9:35 AM, Alex Harui  wrote:
> 
> For sure, a more sophisticated controller is needed to support "drag 
selection" in Menu, but the current version may be ok for simple "must click" 
menus.  IOW, IMO, drag selection should be PAYG.
> 
> IMO, finger dragging is a different event than mouseOver and thus would 
be separate events/controllers.
> 
> My 2 cents,
> -Alex
> 
> On 9/13/18, 11:06 PM, "Harbs" mailto:harbs.li...@gmail.com>> wrote:
> 
>Actually after thinking about this some more, MenuItemRenderer should 
have its own controller. The standard ItemRendererMouseController only needs to 
dispatch a single click event. MenuItemRendererMouseController could dispatch 
all these other events. This seems more PAYG...
> 
>Regarding “over” events on mobile, I think finger dragging would 
trigger “over” events there.
> 
>> On Sep 14, 2018, at 8:44 AM, Alex Harui  wrote:
>> 
>> Sure, there can/should be "item*" events as higher-level semantic events 
for each mouse event and touch gesture.   Bonus if you can make that PAYG since 
mobile devices will rarely leverage "over" events.  The semantic meaning is 
that the mouse event was not used for any other interaction in the renderer and 
thus can be used by a selection controller in the List.
>> 
>> My 2 cents,
>> -Alex
>> 
>> On 9/13/18, 2:22 PM, "Harbs"  wrote:
>> 
>>   What about itemMouseOver? I think we’d need that too. It seems like 
mousing down on a menu and moving over a sub-menu should pop open the submenu.
>> 
>>> On Sep 14, 2018, at 12:15 AM, Alex Harui  
wrote:
>>> 
>>> Yes please.  It sounds like you are already set up with some test cases.
>>> 
>>> Thanks,
>>> -Alex
>>> 
>>> On 9/13/18, 2:12 PM, "Harbs" mailto:harbs.li...@gmail.com>> wrote:
>>> 
>>>  OK. It sounds like you have a good plan.
>>> 
>>>  I’m fine with dispatching itemMouseDown, itemMouseUp and itemClick. 
That makes sense and should solve the problem.
>>> 
>>>  Do you want me to work on implementing that?
>>> 
 On Sep 14, 2018, at 12:09 AM, Alex Harui  
wrote:
 
 Different controllers will have different behaviors.  Menu behavior is 
in fact one of the reasons I wanted to do beads and have replacable component 
logic.  In your standard List, you "must" mouseDown and mouseUp on the same 
renderer to generate a Click that changes selection.  However, in many menus, 
you can mouseDown on the MenuBar and without releasing the mouse button, drag 
down the menu to an item and release (MouseUp) and that item will be selected 
from the menu. Outlook's menubar on my Mac seems to work this way.  So, some 
people will want mouseUp to change selection, others will want click to change 
selection. Royale should offer choices.
 
 But changing selection is a higher-level event.  The lowest level 
events are mouseDown/mouseUp/click.  In between is the "ITEM_CLICK" event and 
in theor, ITEM_MOUSEDOWN and ITEM_MOUSEUP.  It is up to the controllers to 
interpret a lower-level event and then dispatch a higher-level event.   It 
seems "illogical" to me that an ITEM_CLICK would be dispatched from a mouseUp 
handler.  ITEM_CLICK (and ITEM_MOUSEUP if there is such a things) is meant to 
indicate that an event happened on the renderer that should be interpreted by 
the controller.  Some parts of a renderer may not dispatch ITEM_CLICK (for 
example, in some Trees, clcking on expand/collapse icons don't change selection.
 
 Then the MenuController and ListSelectionController should be 
interpreting ITEM_CLICK and ITEM_MOUSEUP and deciding what to do.  So maybe the 
answer is that the renderer's mouseUp controller dispatches ITEM_MOUSEUP, and 
Menu changes selection on ITEM_CLICK or ITEM_MOUSEUP.
 
 Separately, whether setTimeout or requestAnimationFrame, the more 
deferred work and asynchronicity we put in the framework, the more trouble we 
will give our users IMO.  Starting such a trend has the danger of making 
application code use more and