[Installer] No more caching (at least, not in the installer)

2014-05-27 Thread Alex Harui
We're seeing lots of complaints about bad downloads during the install.
The current caching code in the installer caches whatever gets downloaded.
 I'm going to introduce more MD5 checks into the install scripts and in
order to make it work even for Ant users, I think I should change the
installer to delegate the caching to the Ant scripts.  The Ant scripts
will verify the MD5 before deciding whether to copy it to a specified
folder.

Anybody see anything bad about doing that?

-Alex



Re: [Installer] No more caching (at least, not in the installer)

2014-05-27 Thread Erik de Bruin
Actually, that sounds like the proper way to do it. The more actions we can
take out of the installer and into the scripts, the more control and
flexibility we gain.

+1

EdB




On Tue, May 27, 2014 at 8:09 AM, Alex Harui aha...@adobe.com wrote:

 We're seeing lots of complaints about bad downloads during the install.
 The current caching code in the installer caches whatever gets downloaded.
  I'm going to introduce more MD5 checks into the install scripts and in
 order to make it work even for Ant users, I think I should change the
 installer to delegate the caching to the Ant scripts.  The Ant scripts
 will verify the MD5 before deciding whether to copy it to a specified
 folder.

 Anybody see anything bad about doing that?

 -Alex




-- 
Ix Multimedia Software

Jan Luykenstraat 27
3521 VB Utrecht

T. 06-51952295
I. www.ixsoftware.nl


Re: [Mustella] still failing, must fix

2014-05-27 Thread Erik de Bruin
Ok, one week later, there are 43 (!) tests failing:

http://flex-mustella.cloudapp.net/job/flex-sdk_mustella/926/consoleText

If not all of the SDK committers from the past month or so take their
responsibility and fix/revert, I'll start and veto the commits in reverse
order, until we pass all Mustella tests again.

Thanks,

EdB




On Thu, May 22, 2014 at 8:48 AM, Erik de Bruin e...@ixsoftware.nl wrote:

 Hi,

 With the commit rate to the SDK picking up, it won't do to ignore the
 failing tests. Several commits seem to have broken something, and it's
 getting harder to tell which caused what...

 I'm calling on all recent committers to look at the changes they submitted
 and please fix what's causing the broken tests!

 Also, as a remark to knowingly submitting code that will cause Mustella to
 fail, please don't. Create a branch, run the tests on that and discuss any
 fixes to the tests in relation to that branch. We want to keep 'develop' as
 stable as we can, specifically to avoid situations like the one we're in
 now.

 Thanks,

 EdB



 --
 Ix Multimedia Software

 Jan Luykenstraat 27
 3521 VB Utrecht

 T. 06-51952295
 I. www.ixsoftware.nl




-- 
Ix Multimedia Software

Jan Luykenstraat 27
3521 VB Utrecht

T. 06-51952295
I. www.ixsoftware.nl


Re: Build failed in Jenkins: flex-sdk #108

2014-05-27 Thread Erik de Bruin
This build had been stuck on the VM for 2+ days. There was a very
non-descript dialog up complaining about an RTE in CS5. I've dismissed it
and stopped the build. The other builds in the queue seem to pick up fine,
so I'll let them run.

EdB




On Tue, May 27, 2014 at 9:23 AM, flex.ci.bui...@gmail.com wrote:

 See http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk/108/

 --
 [...truncated 1445 lines...]
 main:
  [echo] Compiling frameworks/locale/en_US/mx_rb.swc
 [compc] Loading configuration file
 C:\Jenkins\workspace\flex-sdk\frameworks\projects\mx\bundle-config.xml
 [compc]
 C:\Jenkins\workspace\flex-sdk\frameworks\locale\en_US\mx_rb.swc (2132 bytes)

 textLayout:
 [available] DEPRECATED - available used to override an existing property.
 [available]   Build file should not reuse the same property name for
 different values.

 check-tlf-home:

 bundles-clean:

 clean-external:
  [echo] cleaning 
 http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk/ws/../flex-tlf
  [echo] FLEX_HOME is 
 http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk/ws/

 clean:

 clean:

 compile:

 compile.external:
  [echo] FLEX_HOME is 
 http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk/ws/

 textLayout_flex:
 [compc] Loading configuration file
 C:\Jenkins\workspace\flex-tlf\compile-config.xml
 [compc] C:\Jenkins\workspace\flex-tlf\bin\textLayout.swc (509542 bytes)
  [copy] Copying 1 file to 
 http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk/ws/frameworks/libs

 main:
  [echo] Compiling frameworks/locale/en_US/textLayout_rb.swc
 [compc] Loading configuration file
 C:\Jenkins\workspace\flex-sdk\frameworks\projects\textLayout\bundle-config.xml
 [compc]
 C:\Jenkins\workspace\flex-sdk\frameworks\locale\en_US\textLayout_rb.swc
 (2676 bytes)

 rpc:

 bundles-clean:

 clean:

 compile:
  [echo] Compiling frameworks/libs/rpc.swc
 [compc] Loading configuration file
 C:\Jenkins\workspace\flex-sdk\frameworks\projects\rpc\compile-config.xml
 [compc] C:\Jenkins\workspace\flex-sdk\frameworks\libs\rpc.swc (311147
 bytes)

 main:
  [echo] Compiling frameworks/locale/en_US/rpc_rb.swc
 [compc] Loading configuration file
 C:\Jenkins\workspace\flex-sdk\frameworks\projects\rpc\bundle-config.xml
 [compc]
 C:\Jenkins\workspace\flex-sdk\frameworks\locale\en_US\rpc_rb.swc (3
 bytes)

 charts:

 bundles-clean:

 clean:

 compile:
  [echo] Compiling frameworks/libs/charts.swc
 [compc] Loading configuration file
 C:\Jenkins\workspace\flex-sdk\frameworks\projects\charts\compile-config.xml
 [compc] C:\Jenkins\workspace\flex-sdk\frameworks\libs\charts.swc
 (671353 bytes)

 main:
  [echo] Compiling frameworks/locale/en_US/charts_rb.swc
 [compc] Loading configuration file
 C:\Jenkins\workspace\flex-sdk\frameworks\projects\charts\bundle-config.xml
 [compc]
 C:\Jenkins\workspace\flex-sdk\frameworks\locale\en_US\charts_rb.swc (2117
 bytes)

 advancedgrids:

 bundles-clean:

 clean:

 compile:
  [echo] Compiling frameworks/libs/advancedgrids.swc
 [compc] Loading configuration file
 C:\Jenkins\workspace\flex-sdk\frameworks\projects\advancedgrids\compile-config.xml
 [compc]
 C:\Jenkins\workspace\flex-sdk\frameworks\libs\advancedgrids.swc (354648
 bytes)

 main:
  [echo] Compiling frameworks/locale/en_US/advancedgrids_rb.swc
 [compc] Loading configuration file
 C:\Jenkins\workspace\flex-sdk\frameworks\projects\advancedgrids\bundle-config.xml
 [compc]
 C:\Jenkins\workspace\flex-sdk\frameworks\locale\en_US\advancedgrids_rb.swc
 (3316 bytes)

 spark:

 bundles-clean:

 clean:

 prepare:
  [copy] Copying 1 file to 
 http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk/ws/frameworks/projects/spark
 

 swc-compile:
  [echo] Compiling frameworks/libs/spark.swc
 [compc] Loading configuration file
 C:\Jenkins\workspace\flex-sdk\frameworks\projects\spark\compile-config.xml
 [compc] C:\Jenkins\workspace\flex-sdk\frameworks\libs\spark.swc
 (1435709 bytes)

 compile:

 main:
  [echo] Compiling frameworks/locale/en_US/spark_rb.swc
 [compc] Loading configuration file
 C:\Jenkins\workspace\flex-sdk\frameworks\projects\spark\bundle-config.xml
 [compc]
 C:\Jenkins\workspace\flex-sdk\frameworks\locale\en_US\spark_rb.swc (8990
 bytes)

 sparkskins:

 clean:

 compile:
  [echo] Compiling frameworks/libs/sparkskins.swc
 [compc] Loading configuration file
 C:\Jenkins\workspace\flex-sdk\frameworks\projects\sparkskins\compile-config.xml
 [compc] C:\Jenkins\workspace\flex-sdk\frameworks\libs\sparkskins.swc
 (113873 bytes)

 main:

 spark_dmv:

 clean:

 compile:
  [echo] Compiling frameworks/libs/spark_dmv.swc
 [compc] Loading configuration file
 C:\Jenkins\workspace\flex-sdk\frameworks\projects\spark_dmv\compile-config.xml
 [compc] C:\Jenkins\workspace\flex-sdk\frameworks\libs\spark_dmv.swc
 (8653 bytes)

 main:

 airframework:

 bundles-clean:

 assets-clean:

 

Re: Release build

2014-05-27 Thread antonio esposito
So it is not an anomaly that only happens to me.

thanks


2014-05-26 22:44 GMT+02:00 Greg Dove greg.d...@gmail.com:

 I have seen the same thing with Appstore (non-adhoc) builds working on test
 devices. I *thought* this did not work in the past but yes it seems to be
 working now, at least for the project I am working on.



 On 26/05/2014 11:45 PM, antonio esposito antonio...@gmail.com wrote:

  I released the app on the store and I do not have problems of submission.
 
 
  I can assure you that with the first option, the application is installed
  on
  the devices tested. I can not say why
 
 
 
 
  2014-05-26 9:31 GMT+02:00 Swen van Zanten i...@hdsign.nl:
 
   An AppStore release build is installable on your device but not
   executable. This is normal behavior.
   This kind of release build is only for app submission.
  
   You can test the app with the second option.
   If that one works... the first option will also on Apple's side.
  
   Met vriendelijke groet (Kind regards),
  
   Swen van Zanten
   Compuniek ICT Services
  
   AS3/Flex/PHP/JS Developer
  
   
   Van: antonio esposito antonio...@gmail.com
   Verzonden: donderdag 22 mei 2014 9:24
   Aan: dev@flex.apache.org
   Onderwerp: Re: Release build
  
   Hello
  
   When i build for AppStore (In first option).
   Ipa generated (in my case) is possibile install and test app on test
  device
   (iTunes istall).
   Same Times ago this is not possibile, the app installed but not
 execute.
  
   Is a bug of my deploy or si an update of IOS??
   I would like to avoid problems during submission to the store.
  
   Any support and / or feed would be greatly appreciated
  
   Il mercoledì 21 maggio 2014, Swen van Zanten i...@hdsign.nl ha
  scritto:
  
If I understand you correctly..
There are 2 options on the release build wizard.
One being for creating an ipa for the AppStore and the other for
 ad-hoc
(in-house) release.
   
The first option does not work on any device because it has not been
submitted and approved in the AppStore by Apple.
The second option is a release buildbeta-testers version which can
 be
installed on a limited amount of devices.
   
Hope this helps you.
   
Met vriendelijke groet (Kind regards),
   
Swen van Zanten
Compuniek ICT Services
   
AS3/Flex/PHP/JS Developer
   

Van: antonio esposito antonio...@gmail.com javascript:;
Verzonden: dinsdag 20 mei 2014 20:38
Aan: dev@flex.apache.org javascript:;
Onderwerp: Release build
   
hello
some time ago my app in ios environment with certified appstore,
  created
   an
ipa file that was installed via itunes but did not execute on a test
device.
   
Today the same app with the same production certificates on ios7.1.1
   nstall
and run the app without difference with certificates of development.
 I
wonder if there is an error during the build With flex sdk or simply
ios changed the restrictions on app developed for the store.
   
Any support and / or feed would be greatly appreciated
   
Antonio
  
 



Re: [Installer] No more caching (at least, not in the installer)

2014-05-27 Thread Tom Chiverton

What EdB said ;-)

Tom

On 27/05/14 07:09, Alex Harui wrote:

We're seeing lots of complaints about bad downloads during the install.
The current caching code in the installer caches whatever gets downloaded.
  I'm going to introduce more MD5 checks into the install scripts and in
order to make it work even for Ant users, I think I should change the
installer to delegate the caching to the Ant scripts.  The Ant scripts
will verify the MD5 before deciding whether to copy it to a specified
folder.

Anybody see anything bad about doing that?

-Alex

__
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
__





Re: No Flash Player version in Nightly build Intellij IDEA

2014-05-27 Thread Alexander Doroshko
Make sure you have [Flex 
SDK]/frameworks/libs/player/XX.X/playerglobal.swc file at least for one 
XX.X.
If you change anything in Flex SDK installation (e.g. add 
playerglobal.swc file) then to make sure that IntelliJ IDEA noticed your 
changes do following:

- File | Synchronize
- Delete and add again configured SDK in Project Structure | SDKs.

Alexander

On 27.05.2014 1:48, piotrz wrote:

Hi Guys,

I've just installed fresh version of nightly build (Flash Player 13) and I
see in my Intellij IDEA 12 -

http://images.devs-on.net/Image/3gISqGwdWg0SJnCB-Obszar.png

Combo box target player is empty. Is something missing in our repository ?

Piotr



-
Apache Flex Committer
piotrzarzyck...@gmail.com
--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/No-Flash-Player-version-in-Nightly-build-Intellij-IDEA-tp37787.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.




Re: missing apache-flex-sdk-4-12-1 tag?

2014-05-27 Thread Justin Mclean
HI,

 There is a tag for each RC, I believe.  Did I miss one?
Think so the tag for the actually release in missing (in TLF as well).

Justin


Re: [Mustella] still failing, must fix

2014-05-27 Thread Justin Mclean
HI,

 Ok, one week later, there are 43 (!) tests failing:

I'll take a look at the the two Alert tests tat are still failing.

Justin


Table cell selection

2014-05-27 Thread Harbs
I’m working on cell selection of TLF tables.

Cell selections does not fit into the normal index based selection concept of 
text. To support cell selection, I need coordinate-based selection (to support 
rectangular selections within a table).

Basically, I want to add some table-specific functions to ISelectionManager and 
SelectionManager. My question is whether this might cause problems for users 
who might have implemented ISelectionManager and whether I should be concerned 
about that and/or what there is to do about it.

Thoughts?
Harbs

Re: Table cell selection

2014-05-27 Thread Erik de Bruin
Adding to an API shouldn't be a problem, as long as the new
methods/properties don't change anything about the existing
implementation...

EdB




On Tue, May 27, 2014 at 12:42 PM, Harbs harbs.li...@gmail.com wrote:

 I’m working on cell selection of TLF tables.

 Cell selections does not fit into the normal index based selection concept
 of text. To support cell selection, I need coordinate-based selection (to
 support rectangular selections within a table).

 Basically, I want to add some table-specific functions to
 ISelectionManager and SelectionManager. My question is whether this might
 cause problems for users who might have implemented ISelectionManager and
 whether I should be concerned about that and/or what there is to do about
 it.

 Thoughts?
 Harbs




-- 
Ix Multimedia Software

Jan Luykenstraat 27
3521 VB Utrecht

T. 06-51952295
I. www.ixsoftware.nl


Re: [Mustella] still failing, must fix

2014-05-27 Thread Justin Mclean
Hi,

I fixed the Alert test that were failing - what was odd was sometime the test 
passed and sometimes they failed due to sub pixel differences. New baseline 
images should fix that.

Justin

Re: No Flash Player version in Nightly build Intellij IDEA

2014-05-27 Thread Nicholas Kwiatkowski
Alex,

In a slightly related question -- is there anyway to force IntelliJ to
rebuild it's indexes / caches for a framework?  I've been finding myself
having to add/remove the SDK from the framework list multiple times a
session if I'm trying to work on bugs in the SDK, then recompile, and then
try to build other projects with that SDK to run my test cases...

Thanks!


On Tue, May 27, 2014 at 4:47 AM, Alexander Doroshko 
alexander.doros...@jetbrains.com wrote:

 Make sure you have [Flex SDK]/frameworks/libs/player/XX.X/playerglobal.swc
 file at least for one XX.X.
 If you change anything in Flex SDK installation (e.g. add playerglobal.swc
 file) then to make sure that IntelliJ IDEA noticed your changes do
 following:
 - File | Synchronize
 - Delete and add again configured SDK in Project Structure | SDKs.

 Alexander


 On 27.05.2014 1:48, piotrz wrote:

 Hi Guys,

 I've just installed fresh version of nightly build (Flash Player 13) and I
 see in my Intellij IDEA 12 -

 http://images.devs-on.net/Image/3gISqGwdWg0SJnCB-Obszar.png

 Combo box target player is empty. Is something missing in our repository ?

 Piotr



 -
 Apache Flex Committer
 piotrzarzyck...@gmail.com
 --
 View this message in context: http://apache-flex-
 development.247.n4.nabble.com/No-Flash-Player-version-
 in-Nightly-build-Intellij-IDEA-tp37787.html
 Sent from the Apache Flex Development mailing list archive at Nabble.com.





Re: No Flash Player version in Nightly build Intellij IDEA

2014-05-27 Thread Alexander Doroshko
To rebuild all indexes/caches there's File | Invalidate Caches and 
restart IDE. Actually this action is for troubleshooting, not for usual 
workflow. I guess that's not what you'd like to do on daily basis.
Usually IntelliJ IDEA picks changes automatically, if it's not the case, 
File | Synchronize should help. If still no luck I need more information 
on your workflow: what the problem looks like, Java or Flex project, 
what files are changed/added/removed externally, etc.


Alex

On 27.05.2014 15:36, Nicholas Kwiatkowski wrote:

Alex,

In a slightly related question -- is there anyway to force IntelliJ to
rebuild it's indexes / caches for a framework?  I've been finding myself
having to add/remove the SDK from the framework list multiple times a
session if I'm trying to work on bugs in the SDK, then recompile, and then
try to build other projects with that SDK to run my test cases...

Thanks!




Re: [Mustella] still failing, must fix

2014-05-27 Thread Justin Mclean
Hi,

Are we 100% sure the build machine is set up correctly?

I'm not seeingany failures on first run in:
components/MenuBar/Halo
components/Menu/Halo
components/Menu/Spark
components/Tree
gumbo/components/ComboBox

I had one failure in these which when rerun passed.
gumbo/components/DataGrid
gumbo/components/ListDragDrop

Justin




Re: [Mustella] still failing, must fix

2014-05-27 Thread Justin Mclean
Hi,

Also these all pass first run for me:
gumbo/components/MXItemRenderer
gumbo/core/DataGroup

Justin



Re: [Mustella] still failing, must fix

2014-05-27 Thread Erik de Bruin
We are 99.9% sure, as there is nothing changed on the VM since May 15th,
the last day all the SDK tests passed.

EdB




On Tue, May 27, 2014 at 2:07 PM, Justin Mclean jus...@classsoftware.comwrote:

 Hi,

 Are we 100% sure the build machine is set up correctly?

 I'm not seeingany failures on first run in:
 components/MenuBar/Halo
 components/Menu/Halo
 components/Menu/Spark
 components/Tree
 gumbo/components/ComboBox

 I had one failure in these which when rerun passed.
 gumbo/components/DataGrid
 gumbo/components/ListDragDrop

 Justin





-- 
Ix Multimedia Software

Jan Luykenstraat 27
3521 VB Utrecht

T. 06-51952295
I. www.ixsoftware.nl


RE: [Installer] No more caching (at least, not in the installer)

2014-05-27 Thread Kessler CTR Mark J
Would we also add timestamp property[1] sent when downloading a file to make 
sure we do not grab the browser cache.


[1] https://www.domain.com/filetodownload.ext?ts=1401195361932

-Mark

On Tue, May 27, 2014 at 8:09 AM, Alex Harui aha...@adobe.com wrote:

 We're seeing lots of complaints about bad downloads during the install.
 The current caching code in the installer caches whatever gets downloaded.
  I'm going to introduce more MD5 checks into the install scripts and in
 order to make it work even for Ant users, I think I should change the
 installer to delegate the caching to the Ant scripts.  The Ant scripts
 will verify the MD5 before deciding whether to copy it to a specified
 folder.

 Anybody see anything bad about doing that?

 -Alex




-- 
Ix Multimedia Software

Jan Luykenstraat 27
3521 VB Utrecht

T. 06-51952295
I. www.ixsoftware.nl


smime.p7s
Description: S/MIME cryptographic signature


Re: [Mustella] still failing, must fix

2014-05-27 Thread Justin Mclean
Hi,

I can reproduce the Japanese test failures - but no sure what the issue is 
there.

Justin

RE: [FDB] Integration

2014-05-27 Thread Frédéric THOMAS
Hi guys,

Done !! 
see https://issues.apache.org/jira/browse/FLEX-34334  for the compiled FDB

I changed completly what I did in the previous fixes to follow the original 
coding intention, I mean 1 BP for a file/line (or function) and 1 location per 
worker (swf), so, it means, 1 BP could be set for many workers and not 1 BP / 
worker as I did before.

I also extended the syntaxt of the break and clear commands to accept 
worker id as supplementary info prefixing it with @(ex: @3:#MyFile.as:56, 
@3:MyF*:56, @3:MyFi*:MyFunction)
Adding the worker id will drive the command to be executed only for that 
worker, if the BP hasn't been created and the worker id is provided, the BP 
won't be propagated, allowing to have a BP for only 1 particular worker 
instance.

A commented example using FDB here [1]

@Alexander
I tried it in IntelliJ, it works very well, indeed, I wasn't able to set  or 
remove a BP for a particular worker instance because IJ doesn't support the new 
notation yet and uses only delete which remove the all BP, clear needs to 
be used for a particular instance.

It would be nice to have you feedback.

Now, I think that IJ could add a combo on the top of the Frame list and in the 
extended panel for a BP, add all - thread as done in Java :-)

Thanks,
Frédéric THOMAS

[1]
Apache fdb (Flash Player Debugger) [build development]
Copyright 2013 The Apache Software Foundation. All rights reserved.
(fdb) run
Waiting for Player to connect
Player connected; session starting.
Set breakpoints and then type 'continue' to resume the session.
(fdb) info workers
Main Thread 0 - Suspended (Active)
[SWF] MP3Worker.swf - 181 081 bytes after decompression
(fdb) where
#0   this = [Object 75659105, class='global'].global$init() at null:0
(fdb) info files
---
DebuggableWorker.as#1
mx_internal.as#3
IFlexAsset.as#5
ByteArrayAsset.as#6
---
MP3Worker.as#2
Workers.as#4

***
Set a breakpoint on a partial file name, this breakpoint does not include any 
worker id info, it will then be propagated if there are more workers running, 
not the case at the moment
***
(fdb) break Deb*:56
***
The info relative to the BP does not include worker info, this is because I 
didn't modify the property files at the moment.
***
Breakpoint 1: file DebuggableWorker.as, line 56
***
Set a breakpoint on a partial file name, this breakpoint does not include any 
worker id info, it will then be propagated if there are more workers running 
and at the moment, because is not in our file list, be resolve later.
Propagated means: propagated to all existing workers.
Resolve later means: As soon as a corresponding file/line (or function name) 
will be found, it will be resolved.
***
(fdb) break Back*:28
Breakpoint 2 created, but not yet resolved.
The breakpoint will be resolved when the corresponding file or function is 
loaded.
(fdb) info break
Num Type   Disp Enb AddressWhat
1   breakpoint keep y   0x in debugTickler() at 
DebuggableWorker.as:56 (Worker 0) 
2   breakpoint keep y   0x Back*:28 (not yet resolved)
(fdb) c
[WorkerCreate] 1
Breakpoint 1: file DebuggableWorker.as, line 56
Additional ActionScript code has been loaded from a SWF or a frame.
To see all currently loaded files, type 'info files'.
Active worker has changed to worker 1

Resolved breakpoint 2 to onMainToBack() at BackWorker.as:28

Set additional breakpoints as desired, and then type 'continue'.
***
A worker has been created and our files have been resolved and propagated.
The BP 1 has now 2 location, in worker 1 and 2
***
(fdb) info break
Num Type   Disp Enb AddressWhat
1   breakpoint keep y   0x in debugTickler() at 
DebuggableWorker.as:56 (Worker 0 / 1) 
2   breakpoint keep y   0x in onMainToBack() at BackWorker.as:28 
(Worker 1) 
[SWF] MP3Worker.swf - 528 227 bytes after decompression
Resolved breakpoint 2 to onMainToBack() at BackWorker.as:28

Set additional breakpoints as desired, and then type 'continue'.
(fdb) c

Active worker has changed to worker 0
Breakpoint 1, debugTickler() at DebuggableWorker.as:56
 56var i:int = 0;
(fdb) c
Breakpoint 1, debugTickler() at DebuggableWorker.as:56
 56var i:int = 0;
(fdb) c

Active worker has changed to worker 1
Breakpoint 1, debugTickler() at DebuggableWorker.as:56
 56var i:int = 0;
 ***
 Break and Clear accept worker info in the form @worker id, when pass, only 
the indicated worker is affected by the command
 We are asking here to clear the BP of this file only in worker 0 (main thread)
 ***
(fdb) clear @0:Deb*:56
Active worker has changed to worker Main Thread
Active worker 

Re: [Mustella] still failing, must fix

2014-05-27 Thread Justin Mclean
Hi,

Running one of the Japanese tests manually with this code:

?xml version=1.0 encoding=utf-8?
s:Application xmlns:fx=http://ns.adobe.com/mxml/2009; 
   xmlns:s=library://ns.adobe.com/flex/spark 
   xmlns:mx=library://ns.adobe.com/flex/mx 
initialize=triggerFindConditionRTE()

fx:Script
![CDATA[
import mx.collections.Sort;
import mx.collections.SortField;

private function triggerFindConditionRTE():void{
var a:Array = new Array();
var s:Sort = new Sort();
a.push(a);
s.compareFunction = cmpFn;
var sfArray:Array = new Array();
sfArray.push(new SortField(0));
sfArray.push(new SortField(field1));
var o:Object = new Object();
o[0] = undefined;
o[field1] = 2;
s.fields = sfArray;
s.findItem(a, o, null);
}

// WTF?
private function cmpFn(o1:Object, o2:Object):void{

}
]]
/fx:Script

/s:Application

Not sure why the compare function is blank but given the test is checking for a 
RTE it's probably not an issue.

I get message in the exception being:
検索基準には、'field1' にいたるすべてのソートフィールドが含まれている必要があります。

The test is comparing the error with this
検索基準には、'field1' にいたるすべてのソートフィールドが含まれている必要があります。

Can anyone see any issue here? Looks to me as this test should pass:

TestCase testID=JA_RTE_Sort_FindCondition description=RTE Tests 
keywords=[Runtime Localization,Sort,FindCondition] 
  body
AssertMethodValue method=try { triggerFindConditionRTE(); } 
catch (e:Error) { value = e.message } value=検索基準には、'field1' 
にいたるすべてのソートフィールドが含まれている必要があります。 /
  /body
/TestCase

Thanks,
Justin



Re: [FDB] Integration

2014-05-27 Thread Alexander Doroshko

Sounds awesome!
Trying to support original buggy fdb from closed-source Adobe AIR SDK 
was a real headache for me. Now I start thinking about including your 
fdb into IntelliJ IDEA installation or just asking IDE users to use 
debugger from upcoming Apache Flex SDK.
I'll play with your fdb today/tomorrow and give more feedback then. 
Looks like support at IntelliJ side can be rescheduled for the nearest 
weeks.


Alexander

On 27.05.2014 17:58, Frédéric THOMAS wrote:

Hi guys,

Done !!
see https://issues.apache.org/jira/browse/FLEX-34334  for the compiled FDB

I changed completly what I did in the previous fixes to follow the original 
coding intention, I mean 1 BP for a file/line (or function) and 1 location per 
worker (swf), so, it means, 1 BP could be set for many workers and not 1 BP / 
worker as I did before.

I also extended the syntaxt of the break and clear commands to accept worker id as 
supplementary info prefixing it with @(ex: @3:#MyFile.as:56, @3:MyF*:56, @3:MyFi*:MyFunction)
Adding the worker id will drive the command to be executed only for that 
worker, if the BP hasn't been created and the worker id is provided, the BP 
won't be propagated, allowing to have a BP for only 1 particular worker 
instance.

A commented example using FDB here [1]

@Alexander
I tried it in IntelliJ, it works very well, indeed, I wasn't able to set  or remove a BP for a 
particular worker instance because IJ doesn't support the new notation yet and uses only 
delete which remove the all BP, clear needs to be used for a particular 
instance.

It would be nice to have you feedback.

Now, I think that IJ could add a combo on the top of the Frame list and in the extended panel for a 
BP, add all - thread as done in Java :-)

Thanks,
Frédéric THOMAS

[1]
Apache fdb (Flash Player Debugger) [build development]
Copyright 2013 The Apache Software Foundation. All rights reserved.
(fdb) run
Waiting for Player to connect
Player connected; session starting.
Set breakpoints and then type 'continue' to resume the session.
(fdb) info workers
Main Thread 0 - Suspended (Active)
[SWF] MP3Worker.swf - 181 081 bytes after decompression
(fdb) where
#0   this = [Object 75659105, class='global'].global$init() at null:0
(fdb) info files
---
DebuggableWorker.as#1
mx_internal.as#3
IFlexAsset.as#5
ByteArrayAsset.as#6
---
MP3Worker.as#2
Workers.as#4

***
Set a breakpoint on a partial file name, this breakpoint does not include any 
worker id info, it will then be propagated if there are more workers running, 
not the case at the moment
***
(fdb) break Deb*:56
***
The info relative to the BP does not include worker info, this is because I 
didn't modify the property files at the moment.
***
Breakpoint 1: file DebuggableWorker.as, line 56
***
Set a breakpoint on a partial file name, this breakpoint does not include any 
worker id info, it will then be propagated if there are more workers running 
and at the moment, because is not in our file list, be resolve later.
Propagated means: propagated to all existing workers.
Resolve later means: As soon as a corresponding file/line (or function name) 
will be found, it will be resolved.
***
(fdb) break Back*:28
Breakpoint 2 created, but not yet resolved.
The breakpoint will be resolved when the corresponding file or function is 
loaded.
(fdb) info break
Num Type   Disp Enb AddressWhat
1   breakpoint keep y   0x in debugTickler() at 
DebuggableWorker.as:56 (Worker 0)
2   breakpoint keep y   0x Back*:28 (not yet resolved)
(fdb) c
[WorkerCreate] 1
Breakpoint 1: file DebuggableWorker.as, line 56
Additional ActionScript code has been loaded from a SWF or a frame.
To see all currently loaded files, type 'info files'.
Active worker has changed to worker 1

Resolved breakpoint 2 to onMainToBack() at BackWorker.as:28

Set additional breakpoints as desired, and then type 'continue'.
***
A worker has been created and our files have been resolved and propagated.
The BP 1 has now 2 location, in worker 1 and 2
***
(fdb) info break
Num Type   Disp Enb AddressWhat
1   breakpoint keep y   0x in debugTickler() at 
DebuggableWorker.as:56 (Worker 0 / 1)
2   breakpoint keep y   0x in onMainToBack() at BackWorker.as:28 
(Worker 1)
[SWF] MP3Worker.swf - 528 227 bytes after decompression
Resolved breakpoint 2 to onMainToBack() at BackWorker.as:28

Set additional breakpoints as desired, and then type 'continue'.
(fdb) c

Active worker has changed to worker 0
Breakpoint 1, debugTickler() at DebuggableWorker.as:56
  56var i:int = 0;
(fdb) c
Breakpoint 1, debugTickler() at DebuggableWorker.as:56
  56var i:int = 0;
(fdb) c

Active worker has changed 

Re: Compiling examples in asja

2014-05-27 Thread Darrell Loverin
Should GOOG_HOME be pointing to one of those directories?


On Tue, May 27, 2014 at 12:32 AM, Alex Harui aha...@adobe.com wrote:

 In a FlexJS SDK, the google closure compiler.jar goes in

 js/lib/google/closure-compiler/compiler.jar

 Are you sure you got your environment variables set up correctly?
 Do 'jar -tf compiler.jar' to make sure it isn't corrupt and has
 ErrorManager in it.

 -Alex

 On 5/26/14 8:22 PM, Darrell Loverin darrell.love...@gmail.com wrote:

 Still can't compile the examples;
 ant examples
 
 
  [java] Exception in thread main java.lang.NoClassDefFoundError:
 com/google/javascript/jscomp/ErrorManager
 
  [java] at
 org.apache.flex.compiler.clients.MXMLJSC.compile(MXMLJSC.java:343)
 
  [java] at
 org.apache.flex.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:262)
 
  [java] at
 org.apache.flex.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:220)
 
  [java] at
 org.apache.flex.compiler.clients.MXMLJSC.main(MXMLJSC.java:182)
 
  [java] Caused by: java.lang.ClassNotFoundException:
 com.google.javascript.jscomp.ErrorManager
 
  [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
 
  [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
 
  [java] at java.security.AccessController.doPrivileged(Native Method)
 
  [java] at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
 
  [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
 
  [java] at
 sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
 
  [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
 
  [java] ... 4 more
 
  [java] Java Result: 1
 
 
 Tried moving the google compiler.jar to various places so ErrorManager
 would be found but no luck. Any idea what is wrong with my configuration?
 
 
 
 
 On Sun, May 25, 2014 at 11:17 PM, Alex Harui aha...@adobe.com wrote:
 
  Yes, some versions of Ant fail to make the folder path for spark.css.
 It
  will be fixed in the next release.
 
  On 5/25/14 2:41 PM, Darrell Loverin darrell.love...@gmail.com
 wrote:
 
  I delete the binary package and ran
   ant -f installer.xml -Dclosure.download.file=compiler-20140303.zip
  
  as you recommended. I entered 'y' to every download prompt. The script
 was
  not successful, it was missing spark.css:
  
  hack-fb-files:
  
  [mkdir] Created dir:
  /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/locale
  
  [mkdir] Created dir:
  /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/mx
  
  [mkdir] Created dir:
  /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/rsls
  
  [mkdir] Created dir:
  /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/themes/Halo
  
   [copy] Copying 1 file to
  /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/themes/Halo
  
  [touch] Creating
 
 /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/themes/Spark/spa
 rk
  .css
  
  
  BUILD FAILED
  
  /Users/dloverin/apache-flex-flexjs-0.0.1-bin/installer.xml:665: Could
 not
  create
 
 /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/themes/Spark/spa
 rk
  .css
  
  
  I copied Spark/spark.css from the asja/frameworks into the binary
 package.
  I re-ran the command, this time choosing not to download any packages.
  This
  time the script was able to complete:
  
  hack-fb-files:
  
   [copy] Copying 1 file to
  /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks
  
  [touch] Creating
  /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/macfonts.ser
  
  [touch] Creating
  /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/winfonts.ser
  
  [touch] Creating
  /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/localfonts.ser
  
  
  setup-launch-configs:
  
   [echo] Installing Adobe Flash Builder launch configuration files
  
  
  install:
  
   [echo] /Users/dloverin/apache-flex-flexjs-0.0.1-bin is now an IDE
  compatible folder
  
  
  BUILD SUCCESSFUL
  
  
  
  
  
  
  On Fri, May 23, 2014 at 12:11 AM, Alex Harui aha...@adobe.com wrote:
  
   Start over, delete the folder and uncompress the binary package into
 a
  new
   folder.
  
   Then run:
ant -f installer.xml
  -Dclosure.download.file=compiler-20140303.zip
  
   -Alex
  
   On 5/22/14 9:00 PM, Darrell Loverin darrell.love...@gmail.com
  wrote:
  
   I removed the lib/google folder and the in/compiler-latest.zip from
 the
   falcon repo. I ran ant
  -Dclosure.download.filename=compiler-20140303.zip
   clean main from falcon and again from the asja repos.
   
   The lib/google folder was not refilled with a download as I
 expected.
   Neither was the 'in' folder.
   
   I've also tried using the flexJS download without success.
   
   I get the following error when I run 'ant -f installer.xml':
   
   swfobject-check:
   
   
   swfobject-download:
   
  [delete] Deleting:
   /Users/dloverin/apache-flex-flexjs-0.0.1-bin/swfobject.properties
   
[echo] 

RE: Automated testing apps dev in flex ask

2014-05-27 Thread Michael A. Labriola
 I've also heard of FlexUnit, which I believe is more tuned for class 
 testing rather than UI interaction testing.  I have heard of it being 
 used for UI testing, but it was tricky to setup.

Just to reiterate, FlexUnit is definitely unit and some integration testing. 
It's not intended to do any form of functional or UI.


Re: Compiling examples in asja

2014-05-27 Thread Alex Harui
GOOG_HOME is for closure library, not closure compiler.  It should be the
absolute path to the SDK's js/lib/google/closure-library


On 5/27/14 7:45 AM, Darrell Loverin darrell.love...@gmail.com wrote:

Should GOOG_HOME be pointing to one of those directories?


On Tue, May 27, 2014 at 12:32 AM, Alex Harui aha...@adobe.com wrote:

 In a FlexJS SDK, the google closure compiler.jar goes in

 js/lib/google/closure-compiler/compiler.jar

 Are you sure you got your environment variables set up correctly?
 Do 'jar -tf compiler.jar' to make sure it isn't corrupt and has
 ErrorManager in it.

 -Alex

 On 5/26/14 8:22 PM, Darrell Loverin darrell.love...@gmail.com wrote:

 Still can't compile the examples;
 ant examples
 
 
  [java] Exception in thread main java.lang.NoClassDefFoundError:
 com/google/javascript/jscomp/ErrorManager
 
  [java] at
 org.apache.flex.compiler.clients.MXMLJSC.compile(MXMLJSC.java:343)
 
  [java] at
 org.apache.flex.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:262)
 
  [java] at
 org.apache.flex.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:220)
 
  [java] at
 org.apache.flex.compiler.clients.MXMLJSC.main(MXMLJSC.java:182)
 
  [java] Caused by: java.lang.ClassNotFoundException:
 com.google.javascript.jscomp.ErrorManager
 
  [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
 
  [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
 
  [java] at java.security.AccessController.doPrivileged(Native
Method)
 
  [java] at 
java.net.URLClassLoader.findClass(URLClassLoader.java:354)
 
  [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
 
  [java] at
 sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
 
  [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
 
  [java] ... 4 more
 
  [java] Java Result: 1
 
 
 Tried moving the google compiler.jar to various places so ErrorManager
 would be found but no luck. Any idea what is wrong with my
configuration?
 
 
 
 
 On Sun, May 25, 2014 at 11:17 PM, Alex Harui aha...@adobe.com wrote:
 
  Yes, some versions of Ant fail to make the folder path for spark.css.
 It
  will be fixed in the next release.
 
  On 5/25/14 2:41 PM, Darrell Loverin darrell.love...@gmail.com
 wrote:
 
  I delete the binary package and ran
   ant -f installer.xml -Dclosure.download.file=compiler-20140303.zip
  
  as you recommended. I entered 'y' to every download prompt. The
script
 was
  not successful, it was missing spark.css:
  
  hack-fb-files:
  
  [mkdir] Created dir:
  /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/locale
  
  [mkdir] Created dir:
  /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/mx
  
  [mkdir] Created dir:
  /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/rsls
  
  [mkdir] Created dir:
  /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/themes/Halo
  
   [copy] Copying 1 file to
  /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/themes/Halo
  
  [touch] Creating
 
 
/Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/themes/Spark/s
pa
 rk
  .css
  
  
  BUILD FAILED
  
  /Users/dloverin/apache-flex-flexjs-0.0.1-bin/installer.xml:665:
Could
 not
  create
 
 
/Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/themes/Spark/s
pa
 rk
  .css
  
  
  I copied Spark/spark.css from the asja/frameworks into the binary
 package.
  I re-ran the command, this time choosing not to download any
packages.
  This
  time the script was able to complete:
  
  hack-fb-files:
  
   [copy] Copying 1 file to
  /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks
  
  [touch] Creating
  /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/macfonts.ser
  
  [touch] Creating
  /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/winfonts.ser
  
  [touch] Creating
  
/Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/localfonts.ser
  
  
  setup-launch-configs:
  
   [echo] Installing Adobe Flash Builder launch configuration
files
  
  
  install:
  
   [echo] /Users/dloverin/apache-flex-flexjs-0.0.1-bin is now an
IDE
  compatible folder
  
  
  BUILD SUCCESSFUL
  
  
  
  
  
  
  On Fri, May 23, 2014 at 12:11 AM, Alex Harui aha...@adobe.com
wrote:
  
   Start over, delete the folder and uncompress the binary package
into
 a
  new
   folder.
  
   Then run:
ant -f installer.xml
  -Dclosure.download.file=compiler-20140303.zip
  
   -Alex
  
   On 5/22/14 9:00 PM, Darrell Loverin darrell.love...@gmail.com
  wrote:
  
   I removed the lib/google folder and the in/compiler-latest.zip
from
 the
   falcon repo. I ran ant
  -Dclosure.download.filename=compiler-20140303.zip
   clean main from falcon and again from the asja repos.
   
   The lib/google folder was not refilled with a download as I
 expected.
   Neither was the 'in' folder.
   
   I've also tried using the flexJS download without success.
   
   I get the following error 

Re: [Mustella] still failing, must fix

2014-05-27 Thread Alex Harui
Are you sure you pulled and built Nick's XMLListCollection changes?

On 5/27/14 5:23 AM, Justin Mclean jus...@classsoftware.com wrote:

Hi,

Also these all pass first run for me:
gumbo/components/MXItemRenderer
gumbo/core/DataGroup

Justin




Re: [Installer] No more caching (at least, not in the installer)

2014-05-27 Thread Justin Mclean
Hi,

 That might we worth doing?  Any objections?

No objections, but we would need to be careful in not to break the installers 
caching mechanism.

Thanks,
Justin

Re: [Mustella] still failing, must fix

2014-05-27 Thread Alex Harui
Some tests require the full folder to be run all together.  Cherry picking
individual tests may not work.  It shouldn't be this way, but sometimes
there are other tests that affect the position of components in a
subsequent test and the gradient can be slightly different and cause
problems.

-Alex

On 5/27/14 5:07 AM, Justin Mclean jus...@classsoftware.com wrote:

Hi,

Are we 100% sure the build machine is set up correctly?

I'm not seeingany failures on first run in:
components/MenuBar/Halo
components/Menu/Halo
components/Menu/Spark
components/Tree
gumbo/components/ComboBox

I had one failure in these which when rerun passed.
gumbo/components/DataGrid
gumbo/components/ListDragDrop

Justin





Re: [Mustella] still failing, must fix

2014-05-27 Thread Justin Mclean
Hi,

 Are you sure you pulled and built Nick's XMLListCollection changes?

100% surre. On latest develop branch and have done a clean compile of 
everything in en_US and ja_JP. Git log shows his change and merge. 
(053f8619cd5647b867f04a19d9afe797eaccd58f and 
89853fa181c6bd5f3b781cda88a4c9b967000619)

Justin


Re: Table cell selection

2014-05-27 Thread Alex Harui
If someone has their own implementation of an interface, adding an API to
an interface can break them.  The verifier will see that not all methods
are implemented.

It is a trade-off.  You can create an ISelectionManager2 or
ITableSelectionManager to be completely safe, but the odds you will break
someone is probably very low.

-Alex

On 5/27/14 3:47 AM, Erik de Bruin e...@ixsoftware.nl wrote:

Adding to an API shouldn't be a problem, as long as the new
methods/properties don't change anything about the existing
implementation...

EdB




On Tue, May 27, 2014 at 12:42 PM, Harbs harbs.li...@gmail.com wrote:

 I¹m working on cell selection of TLF tables.

 Cell selections does not fit into the normal index based selection
concept
 of text. To support cell selection, I need coordinate-based selection
(to
 support rectangular selections within a table).

 Basically, I want to add some table-specific functions to
 ISelectionManager and SelectionManager. My question is whether this
might
 cause problems for users who might have implemented ISelectionManager
and
 whether I should be concerned about that and/or what there is to do
about
 it.

 Thoughts?
 Harbs




-- 
Ix Multimedia Software

Jan Luykenstraat 27
3521 VB Utrecht

T. 06-51952295
I. www.ixsoftware.nl



Re: missing apache-flex-sdk-4-12-1 tag?

2014-05-27 Thread Alex Harui
Just so I understand.  The practice is to tag some RC as the final tag?
The RC and the final tag should point to the same revision?

On 5/27/14 3:39 AM, Justin Mclean jus...@classsoftware.com wrote:

HI,

 There is a tag for each RC, I believe.  Did I miss one?
Think so the tag for the actually release in missing (in TLF as well).

Justin



Re: missing apache-flex-sdk-4-12-1 tag?

2014-05-27 Thread Justin Mclean
Hi,

 Just so I understand.  The practice is to tag some RC as the final tag?

That should be the case for the SDK yes. I'm noticed in the past we've not 
always tagged each RC. Having the released tagged makes it clear what was 
released especially in TLF were it may of f tagged with the RC tags.

Justin

Re: [Mustella] still failing, must fix

2014-05-27 Thread Justin Mclean
Hi,

Looking at the flash log on running the test I can see this error - not sure 
why I don;t get this if I manually run the test via the code.

Error #1063: Argument count mismatch on runtimeErrorTests/cmpFn(). Expected 2, 
got 3.

Any one have a n idea why this may be the case?

Thanks,
Justin

[FLEXJS] Creating new TextButton in RunTime

2014-05-27 Thread Logibérica - Paulo Esgaio
Dear (ex?)Flexers,

I'm having a problem while compiling a simple app that uses antipatterns.

Here's a partial sample:

fx:Script
![CDATA[
import org.apache.flex.createjs.TextButton;
private var obj:TextButton = new TextButton();

(...)

]]
/fx:Script

Error when compiling with FlexJS (FalconJX Release )
When I try to compile into JS the following error occurs:

\bin\js-debug\org\apache\flex\createjs\core\UIBase.js:53: ERROR - variable 
createjs is undeclared
  this.element = new createjs.Container();

Removing both the lines it Works like a charm. Any ideas, anyone?

TIA,

Paulo Esgaio



Re: [FLEXJS] Creating new TextButton in RunTime

2014-05-27 Thread Alex Harui
Are you trying to build a CreateJS application?  Otherwise, try using
org.apache.flex.html.TextButton.

One of the differences in FlexJS is that there can be multiple
implementations of a component.  The createjs.TextButton wraps the button
used in CreateJS.  There is one for Jquery, hopefully other ones for other
JS frameworks some day.

To use the CreateJS TextButton you probably need to make sure you are
using the other CreeateJS components like Container and Application.
We're currently expecting you to use entire sets of components: mixing
CreateJS and Jquery component is not supported and may never be supported.

HTH,
-Alex


On 5/27/14 8:48 AM, Logibérica - Paulo Esgaio pesg...@logiberica.com
wrote:

Dear (ex?)Flexers,

I'm having a problem while compiling a simple app that uses antipatterns.

Here's a partial sample:

fx:Script
![CDATA[
import org.apache.flex.createjs.TextButton;
private var obj:TextButton = new TextButton();

(...)

]]
/fx:Script

Error when compiling with FlexJS (FalconJX Release )
When I try to compile into JS the following error occurs:

\bin\js-debug\org\apache\flex\createjs\core\UIBase.js:53: ERROR -
variable createjs is undeclared
  this.element = new createjs.Container();

Removing both the lines it Works like a charm. Any ideas, anyone?

TIA,

Paulo Esgaio




Re: [FLEXJS] Creating new TextButton in RunTime

2014-05-27 Thread Peter Ent
Take a look at Application in the org.apache.flex.creatjs project. There's
a note about bringing in the createJS package.


Peter Ent
Adobe Systems


On 5/27/14 11:48 AM, Logibérica - Paulo Esgaio pesg...@logiberica.com
wrote:

Dear (ex?)Flexers,

I'm having a problem while compiling a simple app that uses antipatterns.

Here's a partial sample:

fx:Script
![CDATA[
import org.apache.flex.createjs.TextButton;
private var obj:TextButton = new TextButton();

(...)

]]
/fx:Script

Error when compiling with FlexJS (FalconJX Release )
When I try to compile into JS the following error occurs:

\bin\js-debug\org\apache\flex\createjs\core\UIBase.js:53: ERROR -
variable createjs is undeclared
  this.element = new createjs.Container();

Removing both the lines it Works like a charm. Any ideas, anyone?

TIA,

Paulo Esgaio




Re: Table cell selection

2014-05-27 Thread Harbs
Okay. I’m going to just implement it in ISelectionManager. On the odd chance 
that I do break someone’s implementation, it should be a relatively easy job to 
add some blank functions to honor the interface promise (assuming they don’t 
need the table support).

On May 27, 2014, at 6:22 PM, Alex Harui aha...@adobe.com wrote:

 If someone has their own implementation of an interface, adding an API to
 an interface can break them.  The verifier will see that not all methods
 are implemented.
 
 It is a trade-off.  You can create an ISelectionManager2 or
 ITableSelectionManager to be completely safe, but the odds you will break
 someone is probably very low.
 
 -Alex
 
 On 5/27/14 3:47 AM, Erik de Bruin e...@ixsoftware.nl wrote:
 
 Adding to an API shouldn't be a problem, as long as the new
 methods/properties don't change anything about the existing
 implementation...
 
 EdB
 
 
 
 
 On Tue, May 27, 2014 at 12:42 PM, Harbs harbs.li...@gmail.com wrote:
 
 I¹m working on cell selection of TLF tables.
 
 Cell selections does not fit into the normal index based selection
 concept
 of text. To support cell selection, I need coordinate-based selection
 (to
 support rectangular selections within a table).
 
 Basically, I want to add some table-specific functions to
 ISelectionManager and SelectionManager. My question is whether this
 might
 cause problems for users who might have implemented ISelectionManager
 and
 whether I should be concerned about that and/or what there is to do
 about
 it.
 
 Thoughts?
 Harbs
 
 
 
 
 -- 
 Ix Multimedia Software
 
 Jan Luykenstraat 27
 3521 VB Utrecht
 
 T. 06-51952295
 I. www.ixsoftware.nl
 



RE : [FDB] Integration

2014-05-27 Thread webdoublefx
Abobe still sells FB so Im not sure they really wanted to have the CLI version 
completely working, what Im sure instead as you may have noticed, is that it 
never been tested against workers.

Happy to help if it can bring us complete integration in IntelliJ.

Waiting for your feedback


Envoyé depuis un mobile Samsung.

div Message d'origine /divdivDe : Alexander Doroshko 
alexander.doros...@jetbrains.com /divdivDate :27/05/2014  15:26  
(GMT+00:00) /divdivA : dev@flex.apache.org /divdivObjet : Re: [FDB] 
Integration /divdiv
/div
Sounds awesome!
Trying to support original buggy fdb from closed-source Adobe AIR SDK
was a real headache for me. Now I start thinking about including your
fdb into IntelliJ IDEA installation or just asking IDE users to use
debugger from upcoming Apache Flex SDK.
I'll play with your fdb today/tomorrow and give more feedback then.
Looks like support at IntelliJ side can be rescheduled for the nearest
weeks.

Alexander

On 27.05.2014 17:58, Frédéric THOMAS wrote:
 Hi guys,

 Done !!
 see https://issues.apache.org/jira/browse/FLEX-34334  for the compiled FDB

 I changed completly what I did in the previous fixes to follow the original 
 coding intention, I mean 1 BP for a file/line (or function) and 1 location 
 per worker (swf), so, it means, 1 BP could be set for many workers and not 1 
 BP / worker as I did before.

 I also extended the syntaxt of the break and clear commands to accept 
 worker id as supplementary info prefixing it with @(ex: @3:#MyFile.as:56, 
 @3:MyF*:56, @3:MyFi*:MyFunction)
 Adding the worker id will drive the command to be executed only for that 
 worker, if the BP hasn't been created and the worker id is provided, the BP 
 won't be propagated, allowing to have a BP for only 1 particular worker 
 instance.

 A commented example using FDB here [1]

 @Alexander
 I tried it in IntelliJ, it works very well, indeed, I wasn't able to set  or 
 remove a BP for a particular worker instance because IJ doesn't support the 
 new notation yet and uses only delete which remove the all BP, clear 
 needs to be used for a particular instance.

 It would be nice to have you feedback.

 Now, I think that IJ could add a combo on the top of the Frame list and in 
 the extended panel for a BP, add all - thread as done in Java :-)

 Thanks,
 Frédéric THOMAS

 [1]
 Apache fdb (Flash Player Debugger) [build development]
 Copyright 2013 The Apache Software Foundation. All rights reserved.
 (fdb) run
 Waiting for Player to connect
 Player connected; session starting.
 Set breakpoints and then type 'continue' to resume the session.
 (fdb) info workers
 Main Thread 0 - Suspended (Active)
 [SWF] MP3Worker.swf - 181 081 bytes after decompression
 (fdb) where
 #0   this = [Object 75659105, class='global'].global$init() at null:0
 (fdb) info files
 ---
 DebuggableWorker.as#1
 mx_internal.as#3
 IFlexAsset.as#5
 ByteArrayAsset.as#6
 ---
 MP3Worker.as#2
 Workers.as#4

 ***
 Set a breakpoint on a partial file name, this breakpoint does not include any 
 worker id info, it will then be propagated if there are more workers running, 
 not the case at the moment
 ***
 (fdb) break Deb*:56
 ***
 The info relative to the BP does not include worker info, this is because I 
 didn't modify the property files at the moment.
 ***
 Breakpoint 1: file DebuggableWorker.as, line 56
 ***
 Set a breakpoint on a partial file name, this breakpoint does not include any 
 worker id info, it will then be propagated if there are more workers running 
 and at the moment, because is not in our file list, be resolve later.
 Propagated means: propagated to all existing workers.
 Resolve later means: As soon as a corresponding file/line (or function name) 
 will be found, it will be resolved.
 ***
 (fdb) break Back*:28
 Breakpoint 2 created, but not yet resolved.
 The breakpoint will be resolved when the corresponding file or function is 
 loaded.
 (fdb) info break
 Num Type   Disp Enb AddressWhat
 1   breakpoint keep y   0x in debugTickler() at 
 DebuggableWorker.as:56 (Worker 0)
 2   breakpoint keep y   0x Back*:28 (not yet resolved)
 (fdb) c
 [WorkerCreate] 1
 Breakpoint 1: file DebuggableWorker.as, line 56
 Additional ActionScript code has been loaded from a SWF or a frame.
 To see all currently loaded files, type 'info files'.
 Active worker has changed to worker 1

 Resolved breakpoint 2 to onMainToBack() at BackWorker.as:28

 Set additional breakpoints as desired, and then type 'continue'.
 ***
 A worker has been created and our files have been resolved and propagated.
 The BP 1 has now 2 location, in worker 1 and 2
 ***
 (fdb) info break
 Num Type   Disp Enb Address

Re: Table cell selection

2014-05-27 Thread Alex Harui
That's probably fine.  However, consider that some folks are using
third-party libraries that no longer have active developers so they won't
always be able to fix it.  Still, I will be surprised if we break anybody.

-Alex

On 5/27/14 9:32 AM, Harbs harbs.li...@gmail.com wrote:

Okay. I’m going to just implement it in ISelectionManager. On the odd
chance that I do break someone’s implementation, it should be a
relatively easy job to add some blank functions to honor the interface
promise (assuming they don’t need the table support).

On May 27, 2014, at 6:22 PM, Alex Harui aha...@adobe.com wrote:

 If someone has their own implementation of an interface, adding an API
to
 an interface can break them.  The verifier will see that not all methods
 are implemented.
 
 It is a trade-off.  You can create an ISelectionManager2 or
 ITableSelectionManager to be completely safe, but the odds you will
break
 someone is probably very low.
 
 -Alex
 
 On 5/27/14 3:47 AM, Erik de Bruin e...@ixsoftware.nl wrote:
 
 Adding to an API shouldn't be a problem, as long as the new
 methods/properties don't change anything about the existing
 implementation...
 
 EdB
 
 
 
 
 On Tue, May 27, 2014 at 12:42 PM, Harbs harbs.li...@gmail.com wrote:
 
 I¹m working on cell selection of TLF tables.
 
 Cell selections does not fit into the normal index based selection
 concept
 of text. To support cell selection, I need coordinate-based selection
 (to
 support rectangular selections within a table).
 
 Basically, I want to add some table-specific functions to
 ISelectionManager and SelectionManager. My question is whether this
 might
 cause problems for users who might have implemented ISelectionManager
 and
 whether I should be concerned about that and/or what there is to do
 about
 it.
 
 Thoughts?
 Harbs
 
 
 
 
 -- 
 Ix Multimedia Software
 
 Jan Luykenstraat 27
 3521 VB Utrecht
 
 T. 06-51952295
 I. www.ixsoftware.nl
 




Re: Table cell selection

2014-05-27 Thread Harbs
I guess if we discover that it’s a problem, we can always revert 
ISelectionManager and create a new interface for cell selection. But I agree 
that it’s highly unlikely that it’s a problem.

On May 27, 2014, at 9:46 PM, Alex Harui aha...@adobe.com wrote:

 That's probably fine.  However, consider that some folks are using
 third-party libraries that no longer have active developers so they won't
 always be able to fix it.  Still, I will be surprised if we break anybody.
 
 -Alex
 
 On 5/27/14 9:32 AM, Harbs harbs.li...@gmail.com wrote:
 
 Okay. I’m going to just implement it in ISelectionManager. On the odd
 chance that I do break someone’s implementation, it should be a
 relatively easy job to add some blank functions to honor the interface
 promise (assuming they don’t need the table support).
 
 On May 27, 2014, at 6:22 PM, Alex Harui aha...@adobe.com wrote:
 
 If someone has their own implementation of an interface, adding an API
 to
 an interface can break them.  The verifier will see that not all methods
 are implemented.
 
 It is a trade-off.  You can create an ISelectionManager2 or
 ITableSelectionManager to be completely safe, but the odds you will
 break
 someone is probably very low.
 
 -Alex
 
 On 5/27/14 3:47 AM, Erik de Bruin e...@ixsoftware.nl wrote:
 
 Adding to an API shouldn't be a problem, as long as the new
 methods/properties don't change anything about the existing
 implementation...
 
 EdB
 
 
 
 
 On Tue, May 27, 2014 at 12:42 PM, Harbs harbs.li...@gmail.com wrote:
 
 I¹m working on cell selection of TLF tables.
 
 Cell selections does not fit into the normal index based selection
 concept
 of text. To support cell selection, I need coordinate-based selection
 (to
 support rectangular selections within a table).
 
 Basically, I want to add some table-specific functions to
 ISelectionManager and SelectionManager. My question is whether this
 might
 cause problems for users who might have implemented ISelectionManager
 and
 whether I should be concerned about that and/or what there is to do
 about
 it.
 
 Thoughts?
 Harbs
 
 
 
 
 -- 
 Ix Multimedia Software
 
 Jan Luykenstraat 27
 3521 VB Utrecht
 
 T. 06-51952295
 I. www.ixsoftware.nl
 
 
 



Re: [Mustella] still failing, must fix

2014-05-27 Thread Alex Harui
These particular tests are setup up with a try/catch block to trap a
different error but end up trapping this one instead.

-Alex

On 5/27/14 8:51 AM, Justin Mclean jus...@classsoftware.com wrote:

Hi,

Looking at the flash log on running the test I can see this error - not
sure why I don;t get this if I manually run the test via the code.

Error #1063: Argument count mismatch on runtimeErrorTests/cmpFn().
Expected 2, got 3.

Any one have a n idea why this may be the case?

Thanks,
Justin




Re: [Mustella] still failing, must fix

2014-05-27 Thread Justin Mclean
Hi,

 These particular tests are setup up with a try/catch block to trap a
 different error but end up trapping this one instead.

Sure but why does the stand alone code which replicates the test (posed in this 
thread) get the correct exception? Sort of implies there some sort of state 
going on but looking at the test I can't see where as it creates a new array 
and new sort every time.

Justin

Re: [Mustella] still failing, must fix

2014-05-27 Thread Alex Harui
The JA langpack tests seem to be broken my Labriola's fix for FLEX-34320.
The new logic around setting the hasFieldName and hadPreviousFieldName
changed and is no longer trigging the expected error which lets the code
continue and trigger this new error.

Mike, your thoughts on the logic?  The test sets up two SortFields and a
compare function on the Sort (not the SortFields) then calls findItem.
The first SortField's field name is a non-existent field.  I think the old
logic would see if the field existed in the data item.  The new logic
seems to assume the fieldName exists as long as there is no SortField
compare function and skips the check if the field exists in the data.

-Alex

On 5/27/14 12:27 PM, Alex Harui aha...@adobe.com wrote:

These particular tests are setup up with a try/catch block to trap a
different error but end up trapping this one instead.

-Alex

On 5/27/14 8:51 AM, Justin Mclean jus...@classsoftware.com wrote:

Hi,

Looking at the flash log on running the test I can see this error - not
sure why I don;t get this if I manually run the test via the code.

Error #1063: Argument count mismatch on runtimeErrorTests/cmpFn().
Expected 2, got 3.

Any one have a n idea why this may be the case?

Thanks,
Justin




RE: [Mustella] still failing, must fix

2014-05-27 Thread Michael A. Labriola
Mike, your thoughts on the logic?  The test sets up two SortFields and a 
compare function on the Sort (not the SortFields) then calls findItem.
The first SortField's field name is a non-existent field.  I think the old 
logic would see if the field existed in the data item.  The new logic seems to 
assume the fieldName exists as long as there is no SortField compare function 
and skips the check if the field exists in the data.


Let me setup and replicate this scenario and mine locally and see what I can do.

Mike


Re: [Mustella] still failing, must fix

2014-05-27 Thread Alex Harui
FB can cache SWCs.  I always close and re-open FB when changing SWCs in an
SDK.  Could that somehow affect the different results you got on some
other mustella tests?  I got failures in MXItemRenderer and DataGroup.
I'm going to take a look at those now.

On 5/27/14 12:58 PM, Justin Mclean jus...@classsoftware.com wrote:

Hi,

 Could you be linking against old SWCs?  I'm definitely getting the
number
 of arguments error.

Gr looks like FB cached the swcs or something (build number issue?).
A clean fixed the issue.

The app I posed below does get the wrong RTE if you use the latest
develop branch so at least it should be easy to replicate and debug
without using mustella.

Thanks,
Justin



Re: [Mustella] still failing, must fix

2014-05-27 Thread Justin Mclean
Hi,

 FB can cache SWCs.  I always close and re-open FB when changing SWCs in an
 SDK.  Could that somehow affect the different results you got on some
 other mustella tests?

Shouldn't do as those were via via the command line not from FB.

justin


RE: [Mustella] still failing, must fix

2014-05-27 Thread Michael A. Labriola
You should get an arg count mismatch.  By changing the (!hasFieldName) test on 
Sort.as line 413 I got the expected result (Find criteria must contain all 
sort fields)

Thanks. I think there may have been a bad merge on my part too as it seems the 
logic that was checked in is also missing another condition. Will try to get 
this resolved today.

My concern on the change above is only that a custom sort function could be on 
use a label function or something other than a single field, so we need to 
ensure that we don't exclusively use the existence of the fields as an 
indicator. The original bug was also that rows were being inserted in the wrong 
place when using a custom sort function as it was using the field to determine 
where, not the function.

Mike



Re: [Mustella] still failing, must fix

2014-05-27 Thread Alex Harui
I just looked at another failure (DataGroup).  It also points at this set
of changes.  It turns out that Sort.fields can be null if you don't have
any SortFields and only a Sort.compareFunction.  It fails on line 395.
You'll need a null check there.

On 5/27/14 1:16 PM, Michael A. Labriola labri...@digitalprimates.net
wrote:

You should get an arg count mismatch.  By changing the (!hasFieldName)
test on Sort.as line 413 I got the expected result (Find criteria must
contain all sort fields)

Thanks. I think there may have been a bad merge on my part too as it
seems the logic that was checked in is also missing another condition.
Will try to get this resolved today.

My concern on the change above is only that a custom sort function could
be on use a label function or something other than a single field, so we
need to ensure that we don't exclusively use the existence of the fields
as an indicator. The original bug was also that rows were being inserted
in the wrong place when using a custom sort function as it was using the
field to determine where, not the function.

Mike




Re: [Mustella] still failing, must fix

2014-05-27 Thread Alex Harui
And finally:

- The Menu/MenuBar/Tree/DataGrid/MXItemRenderer failures are a result of
the XMLListCollection change.  I looked at MXItemRenderer and it appears
that the test is expecting an updateComplete when an XML node is added to
the collection.  Does this no longer happen because the parent is not
notified?  I haven't looked any deeper.

- The ComboBox failures are due to the change FLEX-34222 fix selection
reverting to previous typed values when second value (not in list) is
entered. I have not looked into why.

I am now going to return to my regularly scheduled programmingŠ

-Alex

On 5/27/14 1:26 PM, Alex Harui aha...@adobe.com wrote:

I just looked at another failure (DataGroup).  It also points at this set
of changes.  It turns out that Sort.fields can be null if you don't have
any SortFields and only a Sort.compareFunction.  It fails on line 395.
You'll need a null check there.

On 5/27/14 1:16 PM, Michael A. Labriola labri...@digitalprimates.net
wrote:

You should get an arg count mismatch.  By changing the (!hasFieldName)
test on Sort.as line 413 I got the expected result (Find criteria must
contain all sort fields)

Thanks. I think there may have been a bad merge on my part too as it
seems the logic that was checked in is also missing another condition.
Will try to get this resolved today.

My concern on the change above is only that a custom sort function could
be on use a label function or something other than a single field, so we
need to ensure that we don't exclusively use the existence of the fields
as an indicator. The original bug was also that rows were being inserted
in the wrong place when using a custom sort function as it was using the
field to determine where, not the function.

Mike





Re: [Mustella] still failing, must fix

2014-05-27 Thread Alex Harui
And in case you missed it, yesterday I found an problem with the commit
for FLEX-34078 fix callouts closing.  I'm assuming we want to get all of
these cleaned up before we do 4.12.2?  I probably have a few days of
install script work ahead of me to try to checksum downloads and handle
caching in ant.

-Alex

On 5/27/14 3:07 PM, Alex Harui aha...@adobe.com wrote:

And finally:

- The Menu/MenuBar/Tree/DataGrid/MXItemRenderer failures are a result of
the XMLListCollection change.  I looked at MXItemRenderer and it appears
that the test is expecting an updateComplete when an XML node is added to
the collection.  Does this no longer happen because the parent is not
notified?  I haven't looked any deeper.

- The ComboBox failures are due to the change FLEX-34222 fix selection
reverting to previous typed values when second value (not in list) is
entered. I have not looked into why.

I am now going to return to my regularly scheduled programmingŠ

-Alex

On 5/27/14 1:26 PM, Alex Harui aha...@adobe.com wrote:

I just looked at another failure (DataGroup).  It also points at this set
of changes.  It turns out that Sort.fields can be null if you don't have
any SortFields and only a Sort.compareFunction.  It fails on line 395.
You'll need a null check there.

On 5/27/14 1:16 PM, Michael A. Labriola labri...@digitalprimates.net
wrote:

You should get an arg count mismatch.  By changing the (!hasFieldName)
test on Sort.as line 413 I got the expected result (Find criteria must
contain all sort fields)

Thanks. I think there may have been a bad merge on my part too as it
seems the logic that was checked in is also missing another condition.
Will try to get this resolved today.

My concern on the change above is only that a custom sort function could
be on use a label function or something other than a single field, so we
need to ensure that we don't exclusively use the existence of the fields
as an indicator. The original bug was also that rows were being inserted
in the wrong place when using a custom sort function as it was using the
field to determine where, not the function.

Mike






RE: [Mustella] still failing, must fix

2014-05-27 Thread Michael A. Labriola
- The Menu/MenuBar/Tree/DataGrid/MXItemRenderer failures are a result of the 
XMLListCollection change.  I looked at MXItemRenderer and it appears that the 
test is expecting an updateComplete when an XML node is added to the 
collection.  Does this no longer happen because the parent is not notified?  I 
haven't looked any deeper.

I think this is likely due to the way XMLListAdapter handled updates. 
Basically, it observed the XML for changes and then dispatched update events. I 
am guessing we are getting out of sync with what's being watched with the new 
way that source is reset. This is just a hunch, but an educated one.

Mike



RE: [Mustella] still failing, must fix

2014-05-27 Thread Michael A. Labriola
I just looked at another failure (DataGroup).  It also points at this set of 
changes.  It turns out that Sort.fields can be null if you don't have any 
SortFields and only a Sort.compareFunction.  It fails on line 395.
You'll need a null check there.

Thanks, that is the one I actually failed to merge so I have a fix for this 
issue, not sure how I didn't manage to commit it, but still looking at the 
other part.

Mike


Re: IOS 7 and Android 4.3 Skinning

2014-05-27 Thread Bobby
I recently found a good library of CSS Styles fpr mobile.
http://goratchet.com/

Bobby

On May 27, 2014, at 3:03 PM, OmPrakash Muppirala bigosma...@gmail.com wrote:

 On Mon, May 26, 2014 at 12:36 AM, Swen van Zanten i...@hdsign.nl wrote:
 
 Hi Om,
 
 Do you have an example of what the components of android 4.x look like.
 I don't know were to google for... :) All I get is the homescreen of
 android 4.
 
 I would like to help you with this skinning.
 I don't have any android devices so I can't use these as a reference.
 If you can so me what component to make or something like that,
 I will be able to do at least something to help out.
 
 
 Swen,
 
 I have been using the Android Design portal [1] to study and understand how
 things work with Android 4.x.  Also, there are AI and Photoshop stencils
 available here [2]
 
 I break up the graphic elements in AI, create symbols for each state of a
 UI control, then export everyting to .FXG.  Then, I use the tool I wrote
 here [3] to break them into individual FXG files.  Then I bring them into
 the skin class like this [4]
 
 I basically copy the existing skin for a component and make the changes
 there.  There is a master CSS [5] that you can use to target this new
 style.
 
 Here is a progress update:
 *Completed:*
 ActionBar
 Button
 ButtonBar
 CheckBox
 HSlider (Scrubber)
 RadioButton
 TabViewNavigator
 ToggleSwitch
 Callout
 
 *In progress:*
 CalloutViewNavigaor
 CalloutActionBar
 
 *Yet to be started:*
 BusyIndicator
 DateSpinner
 HScrollBar
 IconItemRenderer
 Image
 SkinnableText
 SpinnerList
 SplitViewNavigator
 TextArea
 TextInput
 View
 ViewMenu
 ViewScrollBar
 
 I have created a WiKi page to keep track of the progress of the skinning
 efforts here:
 https://cwiki.apache.org/confluence/display/FLEX/Progress+info+for+Android+4.x+skins
 
 Please feel free to pick one and start working on it.  You can request for
 wiki access if you dont have it already.
 
 Let me know how I can help you set up and start contributing this effort.
 
 Thanks,
 Om
 
 [1] https://developer.android.com/design/index.html
 [2] https://developer.android.com/design/downloads/index.html
 [3] https://github.com/apache/flex-utilities/tree/master/FXGTools
 [4]
 https://github.com/apache/flex-sdk/blob/new_android_skins/frameworks/projects/mobiletheme/src/spark/skins/android4/CheckBoxSkin.as
 [5]
 https://github.com/apache/flex-sdk/blob/new_android_skins/frameworks/projects/mobiletheme/src/android4x.css
 
 
 
 Met vriendelijke groet (Kind regards),
 
 Swen van Zanten
 Compuniek ICT Services
 
 AS3/Flex/PHP/JS Developer
 
 
 Van: omup...@gmail.com omup...@gmail.com namens OmPrakash Muppirala 
 bigosma...@gmail.com
 Verzonden: donderdag 22 mei 2014 21:15
 Aan: us...@flex.apache.org
 Onderwerp: Re: IOS 7 and Android 4.3 Skinning
 
 Hi,
 
 As I mentioned during my talk at 360|Flex, it is a work in progress.  You
 can take a look at the progress here [1]
 I am continuing to make progress on this front, but I dont have a definite
 date for a release with these new skins.
 
 If you (or anyone else) has time to contribute, we can make this go much
 faster.
 
 I plan to start on the iOS7 skins after I finish the Android 4.x skins so
 that we can ship with just that if needed.  Also, I plan to skin the
 current set of Flex mobile components before creating any new components.
 
 Hope that helps.
 
 Thanks,
 Om
 
 [1]
 
 https://github.com/apache/flex-sdk/tree/new_android_skins/frameworks/projects/mobiletheme/src/spark/skins/android4
 
 
 On Thu, May 22, 2014 at 12:00 PM, Tonic anthony.man...@hotmail.fr wrote:
 
 Hello everyone,
 
 I heard at the conference 360Flex, the skinning of the Android version
 4.3
 and IOS7 was in progress. Do you have a release date?
 More over, I search skinning for buttons of ActionBar ( settings button
 skin
 
 
 https://developer.android.com/training/basics/actionbar/adding-buttons.html
 
 and button menu skin with float menu ( callout button with list
 http://developer.android.com/images/ui/actionbar-shareact...@2x.png
 Skinning exist in SDK or create from scratch ?
 
 Thanks for your help !
 
 
 
 --
 View this message in context:
 
 http://apache-flex-users.246.n4.nabble.com/IOS-7-and-Android-4-3-Skinning-tp6568.html
 Sent from the Apache Flex Users mailing list archive at Nabble.com.
 
 



Re: Compiling examples in asja

2014-05-27 Thread Darrell Loverin
I figured out my problem. My FALCONJX_HOME was pointing to the repos source
not the binary package. That was because I didn't know where to set it in
the binary package. In the repos source, compiler.jar was in the
compiler.jx/lib/google directory. I created a 'closure-compiler' directory
and moved compiler.jar inside of that. I only knew to do that by opening
jsc.jar and looking at the MANIFEST.MF.

After that worked it I could see I should set FALCONJX_HOME to the js
directory in the binary package. Telling folks how to set the environment
variables in the binary package seems to be missing from the README.


On Tue, May 27, 2014 at 11:02 AM, Alex Harui aha...@adobe.com wrote:

 GOOG_HOME is for closure library, not closure compiler.  It should be the
 absolute path to the SDK's js/lib/google/closure-library


 On 5/27/14 7:45 AM, Darrell Loverin darrell.love...@gmail.com wrote:

 Should GOOG_HOME be pointing to one of those directories?
 
 
 On Tue, May 27, 2014 at 12:32 AM, Alex Harui aha...@adobe.com wrote:
 
  In a FlexJS SDK, the google closure compiler.jar goes in
 
  js/lib/google/closure-compiler/compiler.jar
 
  Are you sure you got your environment variables set up correctly?
  Do 'jar -tf compiler.jar' to make sure it isn't corrupt and has
  ErrorManager in it.
 
  -Alex
 
  On 5/26/14 8:22 PM, Darrell Loverin darrell.love...@gmail.com
 wrote:
 
  Still can't compile the examples;
  ant examples
  
  
   [java] Exception in thread main java.lang.NoClassDefFoundError:
  com/google/javascript/jscomp/ErrorManager
  
   [java] at
  org.apache.flex.compiler.clients.MXMLJSC.compile(MXMLJSC.java:343)
  
   [java] at
  org.apache.flex.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:262)
  
   [java] at
  org.apache.flex.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:220)
  
   [java] at
  org.apache.flex.compiler.clients.MXMLJSC.main(MXMLJSC.java:182)
  
   [java] Caused by: java.lang.ClassNotFoundException:
  com.google.javascript.jscomp.ErrorManager
  
   [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
  
   [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
  
   [java] at java.security.AccessController.doPrivileged(Native
 Method)
  
   [java] at
 java.net.URLClassLoader.findClass(URLClassLoader.java:354)
  
   [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
  
   [java] at
  sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
  
   [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
  
   [java] ... 4 more
  
   [java] Java Result: 1
  
  
  Tried moving the google compiler.jar to various places so ErrorManager
  would be found but no luck. Any idea what is wrong with my
 configuration?
  
  
  
  
  On Sun, May 25, 2014 at 11:17 PM, Alex Harui aha...@adobe.com wrote:
  
   Yes, some versions of Ant fail to make the folder path for spark.css.
  It
   will be fixed in the next release.
  
   On 5/25/14 2:41 PM, Darrell Loverin darrell.love...@gmail.com
  wrote:
  
   I delete the binary package and ran
ant -f installer.xml -Dclosure.download.file=compiler-20140303.zip
   
   as you recommended. I entered 'y' to every download prompt. The
 script
  was
   not successful, it was missing spark.css:
   
   hack-fb-files:
   
   [mkdir] Created dir:
   /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/locale
   
   [mkdir] Created dir:
   /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/mx
   
   [mkdir] Created dir:
   /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/rsls
   
   [mkdir] Created dir:
   /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/themes/Halo
   
[copy] Copying 1 file to
   /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/themes/Halo
   
   [touch] Creating
  
 
 /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/themes/Spark/s
 pa
  rk
   .css
   
   
   BUILD FAILED
   
   /Users/dloverin/apache-flex-flexjs-0.0.1-bin/installer.xml:665:
 Could
  not
   create
  
 
 /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/themes/Spark/s
 pa
  rk
   .css
   
   
   I copied Spark/spark.css from the asja/frameworks into the binary
  package.
   I re-ran the command, this time choosing not to download any
 packages.
   This
   time the script was able to complete:
   
   hack-fb-files:
   
[copy] Copying 1 file to
   /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks
   
   [touch] Creating
   /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/macfonts.ser
   
   [touch] Creating
   /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/winfonts.ser
   
   [touch] Creating
  
 /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/localfonts.ser
   
   
   setup-launch-configs:
   
[echo] Installing Adobe Flash Builder launch configuration
 files
   
   
   install:
   
[echo] /Users/dloverin/apache-flex-flexjs-0.0.1-bin is now 

Re: Compiling examples in asja

2014-05-27 Thread Alex Harui
OK, thanks.  I'll try to remember to add that.

On 5/27/14 8:07 PM, Darrell Loverin darrell.love...@gmail.com wrote:

I figured out my problem. My FALCONJX_HOME was pointing to the repos
source
not the binary package. That was because I didn't know where to set it in
the binary package. In the repos source, compiler.jar was in the
compiler.jx/lib/google directory. I created a 'closure-compiler' directory
and moved compiler.jar inside of that. I only knew to do that by opening
jsc.jar and looking at the MANIFEST.MF.

After that worked it I could see I should set FALCONJX_HOME to the js
directory in the binary package. Telling folks how to set the environment
variables in the binary package seems to be missing from the README.


On Tue, May 27, 2014 at 11:02 AM, Alex Harui aha...@adobe.com wrote:

 GOOG_HOME is for closure library, not closure compiler.  It should be
the
 absolute path to the SDK's js/lib/google/closure-library


 On 5/27/14 7:45 AM, Darrell Loverin darrell.love...@gmail.com wrote:

 Should GOOG_HOME be pointing to one of those directories?
 
 
 On Tue, May 27, 2014 at 12:32 AM, Alex Harui aha...@adobe.com wrote:
 
  In a FlexJS SDK, the google closure compiler.jar goes in
 
  js/lib/google/closure-compiler/compiler.jar
 
  Are you sure you got your environment variables set up correctly?
  Do 'jar -tf compiler.jar' to make sure it isn't corrupt and has
  ErrorManager in it.
 
  -Alex
 
  On 5/26/14 8:22 PM, Darrell Loverin darrell.love...@gmail.com
 wrote:
 
  Still can't compile the examples;
  ant examples
  
  
   [java] Exception in thread main
java.lang.NoClassDefFoundError:
  com/google/javascript/jscomp/ErrorManager
  
   [java] at
  org.apache.flex.compiler.clients.MXMLJSC.compile(MXMLJSC.java:343)
  
   [java] at
  
org.apache.flex.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:262)
  
   [java] at
  
org.apache.flex.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:220)
  
   [java] at
  org.apache.flex.compiler.clients.MXMLJSC.main(MXMLJSC.java:182)
  
   [java] Caused by: java.lang.ClassNotFoundException:
  com.google.javascript.jscomp.ErrorManager
  
   [java] at
java.net.URLClassLoader$1.run(URLClassLoader.java:366)
  
   [java] at
java.net.URLClassLoader$1.run(URLClassLoader.java:355)
  
   [java] at java.security.AccessController.doPrivileged(Native
 Method)
  
   [java] at
 java.net.URLClassLoader.findClass(URLClassLoader.java:354)
  
   [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
  
   [java] at
  sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
  
   [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
  
   [java] ... 4 more
  
   [java] Java Result: 1
  
  
  Tried moving the google compiler.jar to various places so
ErrorManager
  would be found but no luck. Any idea what is wrong with my
 configuration?
  
  
  
  
  On Sun, May 25, 2014 at 11:17 PM, Alex Harui aha...@adobe.com
wrote:
  
   Yes, some versions of Ant fail to make the folder path for
spark.css.
  It
   will be fixed in the next release.
  
   On 5/25/14 2:41 PM, Darrell Loverin darrell.love...@gmail.com
  wrote:
  
   I delete the binary package and ran
ant -f installer.xml
-Dclosure.download.file=compiler-20140303.zip
   
   as you recommended. I entered 'y' to every download prompt. The
 script
  was
   not successful, it was missing spark.css:
   
   hack-fb-files:
   
   [mkdir] Created dir:
   /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/locale
   
   [mkdir] Created dir:
   /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/mx
   
   [mkdir] Created dir:
   /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/rsls
   
   [mkdir] Created dir:
   
/Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/themes/Halo
   
[copy] Copying 1 file to
   
/Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/themes/Halo
   
   [touch] Creating
  
 
 
/Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/themes/Spark
/s
 pa
  rk
   .css
   
   
   BUILD FAILED
   
   /Users/dloverin/apache-flex-flexjs-0.0.1-bin/installer.xml:665:
 Could
  not
   create
  
 
 
/Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/themes/Spark
/s
 pa
  rk
   .css
   
   
   I copied Spark/spark.css from the asja/frameworks into the binary
  package.
   I re-ran the command, this time choosing not to download any
 packages.
   This
   time the script was able to complete:
   
   hack-fb-files:
   
[copy] Copying 1 file to
   /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks
   
   [touch] Creating
   
/Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/macfonts.ser
   
   [touch] Creating
   
/Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/winfonts.ser
   
   [touch] Creating
  
 
/Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/localfonts.ser
   
   
   setup-launch-configs:
   
[echo] Installing Adobe Flash