Re: [FlexJS] feature branch

2017-03-29 Thread piotrz
Hi Peter,

I just checked your branch and MDL look fine. In order to build it I had to
merge current develop to your branch I hope that you don't mind if I pushit
it. Changes which come from develop wasn't also breakage. Mainly maven pom
changes and ListExample.

Piotr



-
Apache Flex PMC
piotrzarzyck...@gmail.com
--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-feature-branch-tp60916p60918.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


ASF Slack channel

2017-03-29 Thread Justin Mclean
Hi,

Looks like the ASF has an Slack group.

https://the-asf.slack.com/

Currently anyone who has an apache.org email address can sign up. That means 
you need to be an committer on a project to join.

I’ve created a Flex/FlexJs channel, so if you are a slack user feel few to join.
https://the-asf.slack.com/messages/C4RT1AR0U/

Just a reminder anything important or potential decisions discussed there need 
to be brought back to this mailing list. So if you don't sign up you not 
missing out on anything.

Thanks,
Justin

Re: FlexSDK 4.16.0 installer errors

2017-03-29 Thread Lydecker
I've been having zero luck with Windows all day.

I've tried 7 different machines, which have varied from having 6Gb RAM to
32Gb! All of them have generated the #1000 error after validating AIR25.0

Hoping this isn't going to put off newcomers to Flex...

I tried on OSX and it downloaded fine, but my understanding is the download
on OSX can't be copied to Windows as it strips the .exes out etc?

Sad face.



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexSDK-4-16-0-installer-errors-tp60542p60913.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


[FlexJS] feature branch

2017-03-29 Thread Peter Ent
Hi,

I've pushed feature/chart-work that contains updates to the Chart package, but 
also other structural changes to HTML to support it.

If you have time, check it out and see if your work builds and runs with it. 
MDL might need a little refactoring; I have it compiling but I do not know yet 
if the examples work.

This is still a work-in-progress.

—peter


Re: Falcon build failing

2017-03-29 Thread Harbs
I pulled in your latest changes. The NaN error is fixed, but I’m still having 
the problem with the missing Application dependency.

Here’s a really simple project which has the problem for me including my 
configuration and the erroneous output.
https://www.dropbox.com/s/eig8348o4kevpcq/test_project.zip?dl=0 


Harbs

> On Mar 29, 2017, at 4:47 PM, Harbs  wrote:
> 
> Yes. Once I added the dependency manually, the app works as expected.
> 
> I am now in NY and I can test your latest changes. I will do so and report 
> whether I’m still getting the error.
> 
> Harbs
> 
>> On Mar 29, 2017, at 2:09 AM, Alex Harui  wrote:
>> 
>> 
>> 
>> On 3/28/17, 11:01 PM, "Harbs"  wrote:
>> 
>>> I’ll let you know if I do.
>>> 
>>> Have you been able to reproduce the problem with the missing
>>> org.apache.flex.core.Application dependency?
>> 
>> No.  I haven't hit that one.  Earlier I listed things to check:  Is the
>> right SWC there?  Does the SWC have the right content?
>> 
>> HTH,
>> -Alex
>> 
> 



Re: Falcon build failing

2017-03-29 Thread Harbs
In index.html, I replaced this:
goog.addDependency('../../../test_project.js', ['test_project'], 
['org.apache.flex.core.IBeadModel', 'org.apache.flex.events.ValueChangeEvent', 
'org.apache.flex.core.IFlexJSElement', 
'org.apache.flex.html.beads.layouts.BasicLayout', 
'org.apache.flex.utils.MXMLDataInterpreter', 
'org.apache.flex.core.ValuesManager', 'org.apache.flex.core.IBeadController', 
'org.apache.flex.utils.Timer', 'org.apache.flex.events.BrowserEvent', 
'org.apache.flex.core.IMeasurementBead', 
'org.apache.flex.events.utils.EventUtils', 'org.apache.flex.core.View', 
'org.apache.flex.events.ValueEvent', 'org.apache.flex.utils.CSSUtils', 
'org.apache.flex.utils.Language', 'org.apache.flex.html.Label', 
'org.apache.flex.states.ItemAndDescriptor', 
'org.apache.flex.html.beads.GroupView', 'org.apache.flex.events.ElementEvents', 
'org.apache.flex.utils.StringPadder', 'org.apache.flex.utils.EffectTimer', 
'org.apache.flex.core.SimpleStatesImpl', 
'org.apache.flex.states.SetEventHandler', 
'org.apache.flex.utils.StringTrimmer', 'org.apache.flex.utils.Endian', 
'org.apache.flex.utils.StringUtil', 'org.apache.flex.core.IContainer', 
'org.apache.flex.states.AddItems', 'org.apache.flex.core.SimpleCSSValuesImpl', 
'org.apache.flex.states.SetProperty', 
'org.apache.flex.html.beads.layouts.HorizontalFlexLayout', 
'org.apache.flex.utils.BinaryData']);

With this:

goog.addDependency('../../../test_project.js', ['test_project'], 
['org.apache.flex.core.Application','org.apache.flex.core.IBeadModel', 
'org.apache.flex.events.ValueChangeEvent', 
'org.apache.flex.core.IFlexJSElement', 
'org.apache.flex.html.beads.layouts.BasicLayout', 
'org.apache.flex.utils.MXMLDataInterpreter', 
'org.apache.flex.core.ValuesManager', 'org.apache.flex.core.IBeadController', 
'org.apache.flex.utils.Timer', 'org.apache.flex.events.BrowserEvent', 
'org.apache.flex.core.IMeasurementBead', 
'org.apache.flex.events.utils.EventUtils', 'org.apache.flex.core.View', 
'org.apache.flex.events.ValueEvent', 'org.apache.flex.utils.CSSUtils', 
'org.apache.flex.utils.Language', 'org.apache.flex.html.Label', 
'org.apache.flex.states.ItemAndDescriptor', 
'org.apache.flex.html.beads.GroupView', 'org.apache.flex.events.ElementEvents', 
'org.apache.flex.utils.StringPadder', 'org.apache.flex.utils.EffectTimer', 
'org.apache.flex.core.SimpleStatesImpl', 
'org.apache.flex.states.SetEventHandler', 
'org.apache.flex.utils.StringTrimmer', 'org.apache.flex.utils.Endian', 
'org.apache.flex.utils.StringUtil', 'org.apache.flex.core.IContainer', 
'org.apache.flex.states.AddItems', 'org.apache.flex.core.SimpleCSSValuesImpl', 
'org.apache.flex.states.SetProperty', 
'org.apache.flex.html.beads.layouts.HorizontalFlexLayout', 
'org.apache.flex.utils.BinaryData']);

(i.e. just added ‘org.apache.flex.core.Application’ to the beginning of the 
list of dependencies)

> On Mar 29, 2017, at 4:52 PM, Alex Harui  wrote:
> 
> What did you add that fixed it?
> 
> -Alex
> 
> On 3/29/17, 1:47 PM, "Harbs"  wrote:
> 
>> Yes. Once I added the dependency manually, the app works as expected.
>> 
>> I am now in NY and I can test your latest changes. I will do so and
>> report whether I’m still getting the error.
>> 
>> Harbs
>> 
>>> On Mar 29, 2017, at 2:09 AM, Alex Harui  wrote:
>>> 
>>> 
>>> 
>>> On 3/28/17, 11:01 PM, "Harbs"  wrote:
>>> 
 I’ll let you know if I do.
 
 Have you been able to reproduce the problem with the missing
 org.apache.flex.core.Application dependency?
>>> 
>>> No.  I haven't hit that one.  Earlier I listed things to check:  Is the
>>> right SWC there?  Does the SWC have the right content?
>>> 
>>> HTH,
>>> -Alex
>>> 
>> 
> 



Re: Falcon build failing

2017-03-29 Thread Alex Harui
What did you add that fixed it?

-Alex

On 3/29/17, 1:47 PM, "Harbs"  wrote:

>Yes. Once I added the dependency manually, the app works as expected.
>
>I am now in NY and I can test your latest changes. I will do so and
>report whether I’m still getting the error.
>
>Harbs
>
>> On Mar 29, 2017, at 2:09 AM, Alex Harui  wrote:
>> 
>> 
>> 
>> On 3/28/17, 11:01 PM, "Harbs"  wrote:
>> 
>>> I’ll let you know if I do.
>>> 
>>> Have you been able to reproduce the problem with the missing
>>> org.apache.flex.core.Application dependency?
>> 
>> No.  I haven't hit that one.  Earlier I listed things to check:  Is the
>> right SWC there?  Does the SWC have the right content?
>> 
>> HTH,
>> -Alex
>> 
>



Re: [FlexJS] Simple App Not Running

2017-03-29 Thread Alex Harui
Your example is using remove-circulars.  Looks like there are still bugs
in that.  I'll be trying to fix those but I'm with my kid's school trip
the rest of the week so not full time.

-Alex

On 3/29/17, 10:46 AM, "yishayw"  wrote:

>I just downloaded the nightly and build DataBinding from there and it runs
>successfully. I'll see if I can narrow the differences between DataBinding
>and a_project.
>
>
>
>--
>View this message in context:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-development.247.n4.nabble.com%2FFlexJS-Simple-App-Not-Running-tp6082
>5p60908.html&data=02%7C01%7C%7C353efb88097047de925b08d476ccb472%7Cfa7b1b5a
>7b34438794aed2c178decee1%7C0%7C0%7C636264068949633928&sdata=OKXPSAQd7GdUQ%
>2FtirlU%2Bwb2pEDK885JNjB7prLHZf6M%3D&reserved=0
>Sent from the Apache Flex Development mailing list archive at Nabble.com.



Re: Falcon build failing

2017-03-29 Thread Harbs
Yes. Once I added the dependency manually, the app works as expected.

I am now in NY and I can test your latest changes. I will do so and report 
whether I’m still getting the error.

Harbs

> On Mar 29, 2017, at 2:09 AM, Alex Harui  wrote:
> 
> 
> 
> On 3/28/17, 11:01 PM, "Harbs"  wrote:
> 
>> I’ll let you know if I do.
>> 
>> Have you been able to reproduce the problem with the missing
>> org.apache.flex.core.Application dependency?
> 
> No.  I haven't hit that one.  Earlier I listed things to check:  Is the
> right SWC there?  Does the SWC have the right content?
> 
> HTH,
> -Alex
> 



Re: [FlexJS] MDL - Project is failing to compile, help!

2017-03-29 Thread piotrz
Chris,

Great video! Love it! I think Santanu has everything what he need in order
to start. :)

Piotr



-
Apache Flex PMC
piotrzarzyck...@gmail.com
--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Project-is-failing-to-compile-help-tp60668p60909.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS] Simple App Not Running

2017-03-29 Thread yishayw
I just downloaded the nightly and build DataBinding from there and it runs
successfully. I'll see if I can narrow the differences between DataBinding
and a_project.



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-Simple-App-Not-Running-tp60825p60908.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS] Summary of Changes

2017-03-29 Thread Peter Ent
Harbs - 

I have to rollback the setting of position="absolute" (when setting .x or
.y properties) on my next commit. This is causing other examples to behave
weirdly in situations where the parent of the element whose position is
being set does not itself have a position set.

After talking with Alex, I think the better solution is to use more
layouts. Since you are using Container whose default layout is Basic, you
should not always have a problem since BasicLayout will go through the
children and set their positions to "absolute" and set the position on the
container DIV itself to "relative".

If you are building a component and want to set sub-pieces to specific
locations, then perhaps your component should extend Group and add in a
BasicLayout bead; just make sure you dispatch a "layoutNeeded" event on
the Group. And if this is the way to proceed, we could make a
ComponentBase class that simply extended Group and added in BasicLayout as
its default layout.

—peter

On 3/27/17, 4:46 PM, "Harbs"  wrote:

>I probably need to examine the new “flex” layouts.
>
>Is there a way to have content centered using those?
>
>> On Mar 27, 2017, at 11:35 PM, Harbs  wrote:
>> 
>> Better, but I still have some problems (there’s probably more):
>> 
>>  
>>  
>>  
>>  
>>  
>>  
>>  > marginRight="auto"/>
>>  
>>  
>>  
>>  
>>  > width="30" height="30"
>>click="undo_clickHandler(event)" id="undoButton"
>>src="assets/images/icons/0726-undo.svg">
>>  
>>  
>>  
>>  
>>  > width="30" height="30"
>>click="redo_clickHandler(event)" id="redoButton"
>>src="assets/images/icons/0727-redo.svg">
>>  
>>  
>>  
>>  
>>  > width="30" height="30"
>>click="zoomin_clickHandler(event)"
>>src="assets/images/icons/0806-zoom-in.svg"/>
>>  > width="30" height="30"
>>click="zoomout_clickHandler(event)"
>>src="assets/images/icons/0807-zoom-out.svg"/>
>>  > width="30" height="30"
>>click="fitButton_clickHandler(event)"
>>src="assets/images/icons/0843-expand.svg"/>
>>  > width="30" height="30"
>>click="previewButton_clickHandler(event)"
>>src="assets/images/icons/0786-file-preview-white.svg"/>
>>  
>>  > width="30" height="30"
>>click="finishButton_clickHandler()"
>>src="assets/images/icons/0821-check.svg"/>
>>  
>>  > width="30" height="30"
>>click="cancelButton_clickHandler()"
>>src="assets/images/icons/0822-cross2.svg"/>
>>  
>> 
>> 1. This used to create a centered group of buttons. Now, the container
>>has a height of 0 and the buttons don’t show up.
>> 
>> 2.
>>  > id="scrollContainer"
>>width="100%" height="100%">
>>  
>>  
>>  
>>  > id="designContainer"
>>className="_holder" y="0">
>>  
>>  > marginLeft="auto" marginRight="auto"/>
>>  
>>  
>>  
>>  
>> 
>> This used to create a scrolling div that was centered in the the
>>window. It now is aligned left, and I don’t know if it scrolls.
>> 
>> There’s other issues, and I’ll see tomorrow what I can work around.
>> 
>>> On Mar 27, 2017, at 11:08 PM, Peter Ent  wrote:
>>> 
>>> Hi,
>>> 
>>> I just pushed a change to UIBase to set position="absolute" when
>>>setting x
>>> or y. I think this is perfectly safe and if someone does set x and y
>>>and
>>> then tries to use a layout where that would be a conflict, they will
>>>get
>>> have to avoid setting those properties.
>>> 
>>> I figured this would eventually happen. Let's see if this fixes the
>>>issue.
>>> 
>>> —peter
>>> 
>>> 
>>> On 3/27/17, 2:58 PM, "Harbs"  wrote:
>>> 
 Peter,
 
 I just tried loading my app with your changes, and everything is
totally
 borked. We rely a lot on absolute positioning and transformations.
 
 We really need the old behavior in some components.
 
 Is there any components which work the same as they used to?
 
>

Re: [FlexJS] Simple App Not Running

2017-03-29 Thread yishayw
That does work.



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-Simple-App-Not-Running-tp60825p60906.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS] Simple App Not Running

2017-03-29 Thread Alex Harui
So I just did:

Flex-falcon:
  ant wipe-all
  ant all

Flex-asjs:
  ant super-clean
  ant
  cd examples/flexjs/DataBindingExample
  ant clean
  ant

Then I ran the bin/js-debug/index.html in DataBindingExample.

Does that work for you?  It is probably a good idea to do the "clean".

-Alex

On 3/29/17, 8:39 AM, "Yishay Weiss"  wrote:

>I’m using ant:
>
>Build.xml [1], build_example.xml [2]
>
>The console output is (see upthread):
>
>Uncaught TypeError: Cannot read property 'prototype' of undefined
>at Object.goog.inherits (base.js:2408)
>at a_project.js:106
>
>[1] 
>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apa
>che.org%2FUtyt&data=02%7C01%7C%7Ce8a9b1c97023483c326608d476b9d155%7Cfa7b1b
>5a7b34438794aed2c178decee1%7C0%7C0%7C636263987828894611&sdata=9pPF1Mi0zDWN
>a%2BkjgruXO%2FnzYTDgEmEWCN%2FNG6sBjTM%3D&reserved=0
>[2] 
>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apa
>che.org%2FWq3U&data=02%7C01%7C%7Ce8a9b1c97023483c326608d476b9d155%7Cfa7b1b
>5a7b34438794aed2c178decee1%7C0%7C0%7C636263987828894611&sdata=OquOs%2BDBqM
>WxpVnpCpqYjVxzpTYmmPDnb%2FqTJ35Di0o%3D&reserved=0
>
>
>From: Alex Harui
>Sent: Wednesday, March 29, 2017 6:32 PM
>To: dev@flex.apache.org
>Subject: Re: [FlexJS] Simple App Not Running
>
>Are you using Ant or Maven?
>
>What build steps are you using, and what is the console output?
>
>Thanks,
>-Alex
>
>On 3/29/17, 8:22 AM, "yishayw"  wrote:
>
>>I just tried it with the latest falcon from repo and am getting the same
>>results.
>>
>>
>>
>>--
>>View this message in context:
>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fl
>>e
>>x-development.247.n4.nabble.com%2FFlexJS-Simple-App-Not-Running-tp608
>>2
>>5p60901.html&data=02%7C01%7C%7C4a01f5e84a2e4b6b7a4808d476b890e0%7Cfa7b1b5
>>a
>>7b34438794aed2c178decee1%7C0%7C0%7C636263982453087548&sdata=%2BwPWydqvIs9
>>c
>>CetBbyKXCCZOMekF0rcdMOU%2Fojuf7Qs%3D&reserved=0
>>Sent from the Apache Flex Development mailing list archive at Nabble.com.
>



RE: [FlexJS] Simple App Not Running

2017-03-29 Thread Yishay Weiss
I’m using ant:

Build.xml [1], build_example.xml [2]

The console output is (see upthread):

Uncaught TypeError: Cannot read property 'prototype' of undefined
at Object.goog.inherits (base.js:2408)
at a_project.js:106

[1] https://paste.apache.org/Utyt
[2] https://paste.apache.org/Wq3U


From: Alex Harui
Sent: Wednesday, March 29, 2017 6:32 PM
To: dev@flex.apache.org
Subject: Re: [FlexJS] Simple App Not Running

Are you using Ant or Maven?

What build steps are you using, and what is the console output?

Thanks,
-Alex

On 3/29/17, 8:22 AM, "yishayw"  wrote:

>I just tried it with the latest falcon from repo and am getting the same
>results.
>
>
>
>--
>View this message in context:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-development.247.n4.nabble.com%2FFlexJS-Simple-App-Not-Running-tp6082
>5p60901.html&data=02%7C01%7C%7C4a01f5e84a2e4b6b7a4808d476b890e0%7Cfa7b1b5a
>7b34438794aed2c178decee1%7C0%7C0%7C636263982453087548&sdata=%2BwPWydqvIs9c
>CetBbyKXCCZOMekF0rcdMOU%2Fojuf7Qs%3D&reserved=0
>Sent from the Apache Flex Development mailing list archive at Nabble.com.



Re: [FlexJS] Simple App Not Running

2017-03-29 Thread Alex Harui
Are you using Ant or Maven?

What build steps are you using, and what is the console output?

Thanks,
-Alex

On 3/29/17, 8:22 AM, "yishayw"  wrote:

>I just tried it with the latest falcon from repo and am getting the same
>results.
>
>
>
>--
>View this message in context:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-development.247.n4.nabble.com%2FFlexJS-Simple-App-Not-Running-tp6082
>5p60901.html&data=02%7C01%7C%7C4a01f5e84a2e4b6b7a4808d476b890e0%7Cfa7b1b5a
>7b34438794aed2c178decee1%7C0%7C0%7C636263982453087548&sdata=%2BwPWydqvIs9c
>CetBbyKXCCZOMekF0rcdMOU%2Fojuf7Qs%3D&reserved=0
>Sent from the Apache Flex Development mailing list archive at Nabble.com.



Re: [FlexJS] Simple App Not Running

2017-03-29 Thread yishayw
To be clear, it's not working with the latest falcon.



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-Simple-App-Not-Running-tp60825p60902.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS] Simple App Not Running

2017-03-29 Thread yishayw
I just tried it with the latest falcon from repo and am getting the same
results.



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-Simple-App-Not-Running-tp60825p60901.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS] MDL - Project is failing to compile, help!

2017-03-29 Thread Alex Harui
Hi Santanu,

That's strange, my sent mail folder shows I responded on Sunday, but it
looks like it never made it to the lists.  Here's what I sent.

I sent you a modified .java file.  In order to use that
file you will need to build the flex-falcon repo and use the results.  It
doesn't sound like you did that, and the output doesn't show any of the
output I would expect.  I don't want to commit the extra output to the
nightly build because it slows down the compilation a lot.

I think it is time for you to use Ant or Maven to build the flex-falcon,
flex-typedefs and flex-asjs repos and learn to use those in development.

Thanks,
-Alex



On 3/29/17, 12:56 AM, "sankar"  wrote:

>Hi Alex,
>
>I have posted the compilation log after updating by the file you sent me
>in
>mail (3rd last comment). Have you reviewed that post (?)
>
>Thanks!
>
>
>
>--
>View this message in context:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-development.247.n4.nabble.com%2FFlexJS-MDL-Project-is-failing-to-com
>pile-help-tp60668p60890.html&data=02%7C01%7C%7C8c5d781b0f58488a2cba08d4767
>a3e11%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636263714775837272&sdat
>a=Dp94b9EQCSW7azM7hyMEQLpgWYUStXKIZcHBx6UX4QQ%3D&reserved=0
>Sent from the Apache Flex Development mailing list archive at Nabble.com.



Re: [FlexJS] Simple App Not Running

2017-03-29 Thread yishayw
Still getting the same problem with the nightly. What fixes it for me is to
go back to reset falcon to 22d17c8d447c22fb75a4063ad5b01879a9f08b7d (Mar
22nd).



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-Simple-App-Not-Running-tp60825p60899.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


RE: [FlexJS, Maven] Local build failing occasionally

2017-03-29 Thread Yishay Weiss
I’ll keep that in mind (and so will Piotr)…

From: Christofer Dutz
Sent: Wednesday, March 29, 2017 2:11 PM
To: dev@flex.apache.org
Subject: Re: [FlexJS, Maven] Local build failing occasionally

Hi Yishay,

I would be careful with parallel compilation as the compiler internally has a 
lot of static stuff that multiple parallel executions will mess up randomly (
Hopefully we will have the time to clean this up some time … parallel 
compilation would be a cool feature to use.

Chris



Am 29.03.17, 10:26 schrieb "piotrz" :

Once I off parallel compilation everything went smoothly.

Piotr



-
Apache Flex PMC
piotrzarzyck...@gmail.com
--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-Maven-Local-build-failing-occasionally-tp60859p60892.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.




Re: [FlexJS] MDL - Project is failing to compile, help!

2017-03-29 Thread Josh Tynjala
Building the FlexJS repositories with Maven is really easy. Check out the
instructions here:

https://cwiki.apache.org/confluence/display/FLEX/Building+FlexJS+with+Maven

- Josh

On Wed, Mar 29, 2017 at 5:19 AM, sankar  wrote:

> Hi,
>
> Since the latest release is utterly broken for me, I'm looking for how I
> can
> do Maven builds. I have some queries on this, if someone from here please
> guide me.
>
> #1 Maven for compiling example projects, or to run inside "flex-asjs"
> folder
> and compile new SDK release version?
> #2 What are the commands I should run, and where, can I get some guidance
> on
> this?
>
> Thanks!
>
>
>
> --
> View this message in context: http://apache-flex-
> development.247.n4.nabble.com/FlexJS-MDL-Project-is-
> failing-to-compile-help-tp60668p60894.html
> Sent from the Apache Flex Development mailing list archive at Nabble.com.
>


Re: [FlexJS] MDL - Project is failing to compile, help!

2017-03-29 Thread Christofer Dutz
Hi Sankar,

I would definitely suggest to have a look at the training video on Maven to get 
a general Idea on Maven itself.
https://vimeo.com/167857327/da3e3239bc

For a quick list of commands, have a look at README_MAVEN.txt in the compiler 
repo … that contains the most important ones.

Chris


Am 29.03.17, 13:19 schrieb "sankar" :

Hi,

Since the latest release is utterly broken for me, I'm looking for how I can
do Maven builds. I have some queries on this, if someone from here please
guide me.

#1 Maven for compiling example projects, or to run inside "flex-asjs" folder
and compile new SDK release version?
#2 What are the commands I should run, and where, can I get some guidance on
this?

Thanks!



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Project-is-failing-to-compile-help-tp60668p60894.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.




Re: [FlexJS] MDL - Project is failing to compile, help!

2017-03-29 Thread piotrz
Santanu,

I will try to describe you in details later today - if someone not beat me
earlier. If not today I will try to do this over the weekend.

In the meantime you can check how look like my pom for TourJS project [1] -
It is a good example of pom for external project outside our FlexJS SDK.

[1] https://github.com/apache/flex-tourjs/blob/develop/TourJS/pom.xml

Piotr



-
Apache Flex PMC
piotrzarzyck...@gmail.com
--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Project-is-failing-to-compile-help-tp60668p60895.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS] MDL - Project is failing to compile, help!

2017-03-29 Thread sankar
Hi,

Since the latest release is utterly broken for me, I'm looking for how I can
do Maven builds. I have some queries on this, if someone from here please
guide me.

#1 Maven for compiling example projects, or to run inside "flex-asjs" folder
and compile new SDK release version?
#2 What are the commands I should run, and where, can I get some guidance on
this?

Thanks!



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Project-is-failing-to-compile-help-tp60668p60894.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS, Maven] Local build failing occasionally

2017-03-29 Thread Christofer Dutz
Hi Yishay,

I would be careful with parallel compilation as the compiler internally has a 
lot of static stuff that multiple parallel executions will mess up randomly (
Hopefully we will have the time to clean this up some time … parallel 
compilation would be a cool feature to use. 

Chris



Am 29.03.17, 10:26 schrieb "piotrz" :

Once I off parallel compilation everything went smoothly.

Piotr



-
Apache Flex PMC
piotrzarzyck...@gmail.com
--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-Maven-Local-build-failing-occasionally-tp60859p60892.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.




Re: [FlexJS, Maven] Local build failing occasionally

2017-03-29 Thread piotrz
Once I off parallel compilation everything went smoothly.

Piotr



-
Apache Flex PMC
piotrzarzyck...@gmail.com
--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-Maven-Local-build-failing-occasionally-tp60859p60892.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


RE: [FlexJS, Maven] Local build failing occasionally

2017-03-29 Thread Yishay Weiss
I believe the reason Graphics needs ByteArray is so it can read the pixel 
bender object files.

From: piotrz
Sent: Tuesday, March 28, 2017 11:24 PM
To: dev@flex.apache.org
Subject: Re: [FlexJS, Maven] Local build failing occasionally

I was going farther by that, but I don't really understand why errors in this
logs, are around XML module not in Graphics.

Graphics need ByteArray. Maybe Harbs or Yishay shed some light on this one.

Piotr



-
Apache Flex PMC
piotrzarzyck...@gmail.com
--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-Maven-Local-build-failing-occasionally-tp60859p60868.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.



Re: [FlexJS] MDL - Project is failing to compile, help!

2017-03-29 Thread sankar
Hi Alex,

I have posted the compilation log after updating by the file you sent me in
mail (3rd last comment). Have you reviewed that post (?)

Thanks!



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Project-is-failing-to-compile-help-tp60668p60890.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS, Maven] Local build failing occasionally

2017-03-29 Thread Christofer Dutz
Well it only runs them in parallel if you explicitly ask it to.
If you don’t it compiles one module after the other.

Chris

Am 28.03.17, 22:39 schrieb "Alex Harui" :

I believe that Maven runs several COMPCs in parallel, so you will see
mixed output which can be hard to understand.

My guess is that the PBJ files that are downloaded with the new
PixelBender dependency are seen by Maven as a source file to build.  I
think they should be skipped.

-Alex

On 3/28/17, 1:16 PM, "piotrz"  wrote:

>I was going farther by that, but I don't really understand why errors in
>this
>logs, are around XML module not in Graphics.
>
>Graphics need ByteArray. Maybe Harbs or Yishay shed some light on this
>one.
>
>Piotr
>
>
>
>-
>Apache Flex PMC
>piotrzarzyck...@gmail.com
>--
>View this message in context:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-development.247.n4.nabble.com%2FFlexJS-Maven-Local-build-failing-occ
>asionally-tp60859p60868.html&data=02%7C01%7C%7C6d49ba668358446cf03808d4761
>87b9c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636263294906585664&sdat
>a=C8JWkY01%2FLmhIzg5jny1dYKaXKcfPLLkEphsLhE9%2B4U%3D&reserved=0
>Sent from the Apache Flex Development mailing list archive at Nabble.com.





Re: [FlexJS] Anyone working on the build problems?

2017-03-29 Thread Christofer Dutz
Ok … so the problem with the build you reported was due to the fact that the 
Java version seems to have changed on the agents and I had to re-set it to 1.8.
Now I am getting a failing Integration Test which seems to relate to the store 
example not working when running it in a browser. So eventually the build now 
compiles the example, but that particular example has either changed or doesn’t 
work.

Chris

Am 29.03.17, 06:51 schrieb "Alex Harui" :

I have disabled the ListExample and made a few other fixes and the Maven
build is now building the framework and other examples and is now failing
in the IntegrationTests with a Selenium version mismatch error.  Hopefully
Christofer or someone else can figure that out.  I'm going off to do other
things.

Thanks,
-Alex

On 3/27/17, 6:19 PM, "Josh Tynjala"  wrote:

>Yes, after the Maven build failed, I saw that the other MXML tests were
>excluded, and I excluded my new ones in the same place. The Maven side has
>no problems with my changes anymore. Just gotta tweak the Ant build a bit.
>
>If we find the time to come up with better tests in Miami, that would be
>cool.
>
>I have some ideas for how to run my new tests without the asjs dependency.
>Basically, it involves creating a couple of custom AS/MXML classes to
>reference in MXML instead of real components from the framework. The exact
>classes referenced in MXML don't matter for my tests. It was simply
>convenient to follow the patterns of the existing tests to get it written
>quickly. These custom classes could probably be used to improve some of
>those other tests too.
>
>- Josh
>
>On Mar 27, 2017 1:04 PM, "Christofer Dutz" 
>wrote:
>
>Hi Josh,
>
>I guess in that case it was one of the tests which I excluded from the
>Maven build … so if you add another it will automatically be run, as Maven
>doesn’t know it should exclude it. If you have a look in the pom.xml you
>will see the surefire plugin (runs unit tests) and the failsafe plugin
>(runs integration tests). Here a hand full of tests are excluded because
>they need a refactoring to not introduce a cycle or need to be moved to
>the
>framework module (I would prefer the first option)
>
>Guess it would be cool if we figured out a way to refactor the tests so we
>can run them in Maven … eventually doing so over a beer in Miami would be
>a
>good invest of time? What do you think ;-)
>
>Chris
>
>Am 27.03.17, 17:43 schrieb "Josh Tynjala" :
>
>I didn't structure the tests this way. I followed the existing tests
>that
>were already there.
>
>- Josh
>
>On Mar 27, 2017 1:04 AM, "Christofer Dutz" 
>wrote:
>
>> Hi Josh,
>>
>> Tests shouldn’t require a directory structure … especially not
>outside of
>> the current maven modules directory. This type of refactoring is
>what
>> consumed most of my time while migrating Falcon from Ant to Maven.
>Having a
>> look at the current problem, it seems the problems are related to
>its
>> dependency to FlexJSTestBase, which seems to require a set of
>environment
>> variables and expects other directories. This dependency to
>framework
>would
>> have introduced a cycle, which is also the reason I couldn’t
>refactor
>the
>> tests without completely re-writing most of them.
>>
>> We should address the FlexJsTestBase tests and make sure we are able
>to
>> test what they should be testing without introducing a cyclic
>dependency.
>>
>> For now, excluding them from the testsuite is probably the best
>option.
>>
>> Chris
>>
>>
>> Am 26.03.17, 23:19 schrieb "Josh Tynjala" :
>>
>> 1. I don't think this part is actually an issue (other than
>being
>> annoying
>> noise in the output). I also see this warning and my build
>finishes
>> successfully.
>>
>> 2/3. I think these new tests that I wrote rely on flex-asjs in
>some way
>> (since they're parsing MXML), and maybe it's having trouble
>finding
>> that
>> project on your machine. I'll see if I can move them to the
>correct
>> part of
>> the build where it runs the optional "dependent" tests.
>>
>> - Josh
>>
>> On Sun, Mar 26, 2017 at 1:53 PM, Harbs 
>wrote:
>>
>> > There seemed to be three things causing me build problems:
>> > 1. 
>compiler-jx/src/test/java/org/apache/flex/compiler/internal/
>> test/FlexJSTestBase.java
>> > A reference to frameworks/as/basic-manifest.xml which does not

Re: [DISCUSS] Release Apache Flex BlazeDS 4.7.3

2017-03-29 Thread Christofer Dutz
$&X%S%”$§! - I thought I had the rat plugin in the build … thanks for finding 
that (

I added the rat configuration to the build and it found exactly the files you 
reported. 

Therefore, I added the headers to the files which it was complaining about. All 
except the goal.txt as I couldn’t find a way to add headers without breaking 
the build. But as the file is an empty file, I guess we can live without it 
having a header and I simply excluded it from the check.

I’ll wait a little before canceling the RC … eventually Justin can say 
something to this.

Chris


Am 29.03.17, 08:45 schrieb "Alex Harui" :

Hi Chris,

I finally got around to looking at the artifacts.  I found a bunch of
things.  Not sure if we should let it go or do a second round.

Some files without headers:
archetypes/blazeds-spring-boot-archetype/src/main/resources/META-INF/maven/
archetype-metadata.xml
archetypes/blazeds-spring-boot-archetype/pom.xml
archetypes/blazeds-spring-boot-archetype/src/test/resources/projects/basic/
archetype.properties
archetypes/blazeds-spring-boot-archetype/src/test/resources/projects/basic/
goal.txt
opt/blazeds-spring-boot-starter/README.adoc






NOTICE has wrong copyright years

No jar in flex-messaging-opt-tomcat (is this expected?)
No jar in flex-messaging-archetypes

Thoughts?
-Alex

On 3/27/17, 2:13 PM, "Christofer Dutz"  wrote:

>Hi,
>
>Please discuss the release candidate here and not in the vote thread.
>
>Thanks,
>  Chris