Re: [FlexJS] Merge feature/chart-work into develop

2017-04-05 Thread Alex Harui


On 4/5/17, 10:03 AM, "Harbs"  wrote:

>That would be great.
>
>We need better test coverage. If we could get easy test setup for FlexJS,
>that would be a huge win.

Not sure how you define "easy" but we've had mustella running on FlexJS
for quite a while now.  It allows you to write the tests in MXML instead
of Java.

-Alex



Re: [FlexJS] Merge feature/chart-work into develop

2017-04-05 Thread piotrz
Peter,

I just tried your changes and check MDLExample and MDLDynamicTabsExample.

In MDLExample:
TextFields are not displayed

In MDLDynamicTabsExample:
I see that switching between tabs, once I add Tab dynamically is broken. 

Piotr



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


Re: [FlexJS, Maven] Build library project type to js only swc

2017-04-05 Thread piotrz
Chris,

Thank you that was it. I was able to build library, but the swc result do
not contain information which I required.

In generated swc I see all js files, but in catalog.xml library tag is empty
and I don't see components tag as it is in other swc inside FlexJS SDK etc,
I have only in tag files list of files. Example how it look like [1].

My pom [2]

Without swf compilation how classes from library would be visible in mxml ?

[1] https://paste.apache.org/dg3M
[2] https://paste.apache.org/NLO6

Piotr




-
Apache Flex PMC
piotrzarzyck...@gmail.com
--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-Maven-Build-library-project-type-to-js-only-swc-tp61001p61030.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS] Merge feature/chart-work into develop

2017-04-05 Thread Peter Ent
I have decided not to merge today. I ran an example with DataGrid embedded
within a Container and sized to width="100%" and it did not respond
properly to the resize. I know what happened, just working on how to make
it work correctly.

‹peter

On 4/5/17, 1:35 PM, "piotrz"  wrote:

>Peter I just merged falcon develop branch to your chart-work.
>
>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-Merge-feature-chart-work-into
>-develop-tp61019p61027.html=02%7C01%7C%7C781716181b2b415be00308d47c4b
>7a92%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636270111006084015
>=fRYvuMsfPzFz7V7JU8K%2BCmpWiWFDokA%2FM8f8RBZAzoY%3D=0
>Sent from the Apache Flex Development mailing list archive at Nabble.com.



Re: [FlexJS] [Discuss] Automate stabilizing 'develop'?

2017-04-05 Thread Alex Harui
Most of source forge download is for font embedding. At one point you mentioned 
the possibility that you could write new font transcoder. That would truly be 
an awesome thing.

Get Outlook for Android



From: Christofer Dutz 
Sent: Wednesday, April 5, 2017 9:39:56 AM
To: dev@flex.apache.org
Subject: Re: [FlexJS] [Discuss] Automate stabilizing 'develop'?

I would eventually like to get rid of the dependency to the artifacts 
downloaded from SourceForge. Right now, I don’t quite remember what they are 
needed for. But I’ll wait till things are blue again as I currently can’t 
quality asure anything.

I just did a quick check and it should be enough to comment out the “fonrsrc” 
module in flexjs-framework/frameworks/pom.xml
The module is only used in the distribution and the DataBindingExample_Flat and 
the maven build should be able to download the artifact from the Apache Maven 
repo.

Chris


Am 05.04.17, 17:04 schrieb "Alex Harui" :



On 4/5/17, 5:09 AM, "Christofer Dutz"  wrote:

>Hi,
>
>Well I addressed this in the Pipeline build. This is one job and it fails
>if any of the builds in the pipeline fail. If you committed something and
>it fails, the chances are high, that it’s related to your changes. I
>usually double check the build after committing things.
>
>But I guess the biggest problem is that people don’t seem to be looking
>at the output the build produces. Eventually even have filters on the
>commit list to filter out failing build emails.

That's a pretty strong accusation.  Do you have proof?

>
>I guess implementing such an auto-branch-and-revert will not be easy … so
>I am thinking of just doing it manually.

No objection from me if you want to work on it, but I am hopeful that this
is a "one-time" mess.  Big changes were happening in both the compiler and
the framework at the same time, and I think folks have promised to try to
use branches in the future.  I still haven't figured out how we will get
people to test the branches before merging to develop though.

When "dual" lands in "develop" I will make sure the builds will work, but
I'll bet it will break some apps.  We simply don't have enough tests to
guarantee that.

So, if you have cycles to spend on builds, as an alternative to this
problem, I'm more interested in the problem Yishay has been having getting
the Maven build to work.  I am hopeful we will have more Yishays trying to
get Maven to build locally and hopeful that once we get the develop branch
builds to work again we won't ever break it for as long again.  Should the
build detect Java 8 version and require the Java 8 build that won't have
this problem?

My 2 cents,
-Alex

FWIW, I've sent fewer emails since last Wednesday because I've been on the
road using mobile hotspots and had fewer hours to work.  This will remain
true through at least Monday the 10th.





Re: [FlexJS] Merge feature/chart-work into develop

2017-04-05 Thread piotrz
Peter I just merged falcon develop branch to your chart-work.

Piotr



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


Re: [FlexJS] Merge feature/chart-work into develop

2017-04-05 Thread piotrz
Thanks Peter. I'm ok with merge then.

Piotr



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


Re: [FlexJS] Merge feature/chart-work into develop

2017-04-05 Thread Peter Ent
I just changed Menu to extend DataContainer and now that works fine, for
me, in MDLExample. Thank you for reminding me.

‹peter

On 4/5/17, 11:37 AM, "piotrz"  wrote:

>Hi Peter,
>
>I didn't check MDLExample after your last push, but didn't you mention
>that
>MDL Menu is blank ?
>If it's not working I would say -1 till we have it look ok.
>
>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-Merge-feature-chart-work-into
>-develop-tp61019p61020.html=02%7C01%7C%7C5d646cbc71544f2db0c808d47c3a
>eeae%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636270039930866144
>=FcdgwvNpXrJKpBYZFABsml8ww27%2B75P3eYM8%2FNNNWf0%3D=0
>Sent from the Apache Flex Development mailing list archive at Nabble.com.



Re: [FlexJS] Merge feature/chart-work into develop

2017-04-05 Thread Christofer Dutz
Hi Harbs,

Have you had a look at the Integration Test project in FlexJS?

I doubt it would get much simpler:
- The Maven build automatically:
o Downloads, configures and starts a tomcat server
o Deploys all examples as web applications 
o As soon as the server is up and the applications as running, runs the 
Selenium Tests
o Stops the Server after finishing

Just look at how simple these tests are. They are dead-simple Junit tests. I 
know they aren’t FlexUnit type tests, but they already do a good job for the 
examples I created tests for.

Chris


Am 05.04.17, 19:03 schrieb "Harbs" :

That would be great.

We need better test coverage. If we could get easy test setup for FlexJS, 
that would be a huge win.

> On Apr 5, 2017, at 12:33 PM, Christofer Dutz  
wrote:
> 
> I would start writing some simple Selenium Tests for these applications





Re: [FlexJS] Merge feature/chart-work into develop

2017-04-05 Thread Harbs
That would be great.

We need better test coverage. If we could get easy test setup for FlexJS, that 
would be a huge win.

> On Apr 5, 2017, at 12:33 PM, Christofer Dutz  
> wrote:
> 
> I would start writing some simple Selenium Tests for these applications



Re: [FlexJS] [Discuss] Automate stabilizing 'develop'?

2017-04-05 Thread Christofer Dutz
I would eventually like to get rid of the dependency to the artifacts 
downloaded from SourceForge. Right now, I don’t quite remember what they are 
needed for. But I’ll wait till things are blue again as I currently can’t 
quality asure anything.

I just did a quick check and it should be enough to comment out the “fonrsrc” 
module in flexjs-framework/frameworks/pom.xml  
The module is only used in the distribution and the DataBindingExample_Flat and 
the maven build should be able to download the artifact from the Apache Maven 
repo.

Chris


Am 05.04.17, 17:04 schrieb "Alex Harui" :



On 4/5/17, 5:09 AM, "Christofer Dutz"  wrote:

>Hi,
>
>Well I addressed this in the Pipeline build. This is one job and it fails
>if any of the builds in the pipeline fail. If you committed something and
>it fails, the chances are high, that it’s related to your changes. I
>usually double check the build after committing things.
>
>But I guess the biggest problem is that people don’t seem to be looking
>at the output the build produces. Eventually even have filters on the
>commit list to filter out failing build emails.

That's a pretty strong accusation.  Do you have proof?

>
>I guess implementing such an auto-branch-and-revert will not be easy … so
>I am thinking of just doing it manually.

No objection from me if you want to work on it, but I am hopeful that this
is a "one-time" mess.  Big changes were happening in both the compiler and
the framework at the same time, and I think folks have promised to try to
use branches in the future.  I still haven't figured out how we will get
people to test the branches before merging to develop though.

When "dual" lands in "develop" I will make sure the builds will work, but
I'll bet it will break some apps.  We simply don't have enough tests to
guarantee that.

So, if you have cycles to spend on builds, as an alternative to this
problem, I'm more interested in the problem Yishay has been having getting
the Maven build to work.  I am hopeful we will have more Yishays trying to
get Maven to build locally and hopeful that once we get the develop branch
builds to work again we won't ever break it for as long again.  Should the
build detect Java 8 version and require the Java 8 build that won't have
this problem?

My 2 cents,
-Alex

FWIW, I've sent fewer emails since last Wednesday because I've been on the
road using mobile hotspots and had fewer hours to work.  This will remain
true through at least Monday the 10th.





Re: [FlexJS] Merge feature/chart-work into develop

2017-04-05 Thread Christofer Dutz
Hi Peter,

If it improves things, I am fine with this merge. If it adds more areas that 
need fixing then I don’t.
As soon as things start to work again, I would start writing some simple 
Selenium Tests for these applications to ensure they are tested in the future. 

Chris

Am 05.04.17, 17:37 schrieb "piotrz" :

Hi Peter,

I didn't check MDLExample after your last push, but didn't you mention that
MDL Menu is blank ?
If it's not working I would say -1 till we have it look ok.

Piotr



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




Re: [FlexJS] Merge feature/chart-work into develop

2017-04-05 Thread piotrz
Hi Peter,

I didn't check MDLExample after your last push, but didn't you mention that
MDL Menu is blank ?
If it's not working I would say -1 till we have it look ok.

Piotr



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


[FlexJS] Merge feature/chart-work into develop

2017-04-05 Thread Peter Ent
Hi,

I would like to merge the feature/chart-work into the develop branch in about 5 
hours from now which would make it 4:30pm EDT (9:30pm UTC, I think). Does 
anyone have a strong objection to that?

To recap:
The thrust of this feature branch was to get Charts working, but that lead to 
re-examinging the class structures of the containers. I cleaned this up and 
kept the HTML/JS side output to a minimum. I have also improved the SWF-side 
layouts to more closely mimic CSS Flexbox.

It looks like most, if not all, of MDLExample is working. DataBindingExample, 
DataGridExample, ChartExample are working. I will go back and try the Tour and 
several others as well.

Regards,
Peter


Re: [FlexJS] [Discuss] Automate stabilizing 'develop'?

2017-04-05 Thread Alex Harui


On 4/5/17, 5:09 AM, "Christofer Dutz"  wrote:

>Hi,
>
>Well I addressed this in the Pipeline build. This is one job and it fails
>if any of the builds in the pipeline fail. If you committed something and
>it fails, the chances are high, that it’s related to your changes. I
>usually double check the build after committing things.
>
>But I guess the biggest problem is that people don’t seem to be looking
>at the output the build produces. Eventually even have filters on the
>commit list to filter out failing build emails.

That's a pretty strong accusation.  Do you have proof?

>
>I guess implementing such an auto-branch-and-revert will not be easy … so
>I am thinking of just doing it manually.

No objection from me if you want to work on it, but I am hopeful that this
is a "one-time" mess.  Big changes were happening in both the compiler and
the framework at the same time, and I think folks have promised to try to
use branches in the future.  I still haven't figured out how we will get
people to test the branches before merging to develop though.

When "dual" lands in "develop" I will make sure the builds will work, but
I'll bet it will break some apps.  We simply don't have enough tests to
guarantee that.

So, if you have cycles to spend on builds, as an alternative to this
problem, I'm more interested in the problem Yishay has been having getting
the Maven build to work.  I am hopeful we will have more Yishays trying to
get Maven to build locally and hopeful that once we get the develop branch
builds to work again we won't ever break it for as long again.  Should the
build detect Java 8 version and require the Java 8 build that won't have
this problem?

My 2 cents,
-Alex

FWIW, I've sent fewer emails since last Wednesday because I've been on the
road using mobile hotspots and had fewer hours to work.  This will remain
true through at least Monday the 10th.



Re: [FlexJS, Maven] Build library project type to js only swc

2017-04-05 Thread Harbs
Make sure you include js.swc as an external library.

> On Apr 5, 2017, at 1:48 AM, piotrz  wrote:
> 
> Hi Harbs,
> 
> It look like to me that Maven is doing everything what you are showing me in
> build.xml at some point automatically.
> 
> Cause generated by maven compile config look similar to yours.
> 
> I get errors when compile-as-config.xml is being processed.
> 
> Error: Missing builtin type Object
> 
> 
> When compile-js-config.xml, is being processed with arguments
> -compiler.exclude-defaults-css-files=HTML-0.8.0-SNAPSHOT.swc:defaults.css,
> -js-output-type=FLEXJS, -compiler.strict-xml=true
> 
> I'm getting errors like this:
> 
> col: 4 Incorrect number of arguments.  Expected no more than 4
>   btn.addEventListener(MouseEvent.CLICK, onBtnClick, false, 0, 
> true);
> 
> Code in js library do not use COMPILE::JS switch, but I think in case of JS
> only compilation it don't have to.
> 
> Thanks,
> Piotr
> 
> 
> 
> 
> 
> 
> -
> Apache Flex PMC
> piotrzarzyck...@gmail.com
> --
> View this message in context: 
> http://apache-flex-development.247.n4.nabble.com/FlexJS-Maven-Build-library-project-type-to-js-only-swc-tp61001p61003.html
> Sent from the Apache Flex Development mailing list archive at Nabble.com.



Re: [FlexJS] [Discuss] Automate stabilizing 'develop'?

2017-04-05 Thread Christofer Dutz
Hi,

Well I addressed this in the Pipeline build. This is one job and it fails if 
any of the builds in the pipeline fail. If you committed something and it 
fails, the chances are high, that it’s related to your changes. I usually 
double check the build after committing things.

But I guess the biggest problem is that people don’t seem to be looking at the 
output the build produces. Eventually even have filters on the commit list to 
filter out failing build emails. AND I think it’s a real problem that I hear a 
lot of “But it works on Ant” as an excuse. If I turn off tests, build without 
distribution and examples, I will also get a successful build with Maven, but I 
still won’t get running applications (This is what the integration-test module 
tests). 

I guess implementing such an auto-branch-and-revert will not be easy … so I am 
thinking of just doing it manually. I am currently extremely worried about the 
significant drop in email and commit activity since the breaking changes (at 
least that’s my impression). Right now, someone working with the SNAPSHOT 
version will not be able to get a working application and that has been that 
way for about two weeks. That’s inacceptable from my point of view (

Chris



Am 05.04.17, 13:45 schrieb "yishayw" :

Probably a good idea. I have two concerns. One is how to make it clear to 
the
committer that s/he needs to make things work. When the build is broken it's
at least clear that it needs to be fixed ASAP. The other is how to identify
the faulty component. If Falcon is broken problems might manifest in asjs.



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-Discuss-Automate-stabilizing-develop-tp61014p61015.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.




Re: [FlexJS] [Discuss] Automate stabilizing 'develop'?

2017-04-05 Thread yishayw
Probably a good idea. I have two concerns. One is how to make it clear to the
committer that s/he needs to make things work. When the build is broken it's
at least clear that it needs to be fixed ASAP. The other is how to identify
the faulty component. If Falcon is broken problems might manifest in asjs.



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-Discuss-Automate-stabilizing-develop-tp61014p61015.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


[FlexJS] [Discuss] Automate stabilizing 'develop'?

2017-04-05 Thread Christofer Dutz
Hi,

As we are now in our 13th day of red builds I would like to propose an 
automated approach in keeping develop operational.

How about implementing an automatism, that automatically creates a new feature 
branch, if the build on develop fails for more than a day and then reverts 
develop back to the last known successful state?

Chris


Re: [FlexJS] flex-asjs build failing

2017-04-05 Thread Christofer Dutz
I just updated the RAT exclusions in compiler and framework to be more 
resilient against activation/deactivation of maven profiles. However it still 
has problems when running Maven after running ANT.

Chris

Am 05.04.17, 12:35 schrieb "Christofer Dutz" :

Hi Yishay,

I guess that problem is related to running the build in Ant and Maven. I 
think the Ant build used to download stuff into the “source” directories so you 
had checked in stuff and not checked in stuff. I would assume the complaints 
are related to that. Another reason could be that you have built with Maven and 
are re-building with less projects enabled. In that case RAT thinks the files 
of the project belong to the parent project and need a License.

I’d just do a search for the swfobject.js

Chris

Am 05.04.17, 09:47 schrieb "yishayw" :

I think I got passed the fontkit problem by copying the contents of 

%JAVA_HOME%/../jre/lib/security
to
%JAVA_HOME%/lib/security

(Copying it to %JAVA_HOME%/jre/lib/security didn't make a different to 
me.)
Apparently there's a bunch of files other than local_policy.jar and
US_export_policy.jar that need to be there.

Now rat.txt is telling me that templates/swfobject/swfobject.js has an
unapproved license. This is strange because I don't even see it in the 
file
system, so I'm not sure how to fix that.



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-flex-asjs-build-failing-tp60461p61006.html
Sent from the Apache Flex Development mailing list archive at 
Nabble.com.






Re: [FlexJS] flex-asjs build failing

2017-04-05 Thread yishayw
Yes, I did.



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/Re-FlexJS-flex-asjs-build-failing-tp61000p61012.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


RE: [FlexJS] flex-asjs build failing

2017-04-05 Thread Yishay Weiss
I did.

Sent from Mail for Windows 10

From: Yishay Weiss
Sent: Wednesday, April 5, 2017 1:37 PM
To: dev@flex.apache.org
Subject: RE: [FlexJS] flex-asjs build failing

Hi Chris,

You’re right. That’s why I said to ignore that mail. I was mixing Ant and 
Maven. The font download problem is on a Maven only env.

Yishay

From: Christofer Dutz
Sent: Wednesday, April 5, 2017 1:35 PM
To: dev@flex.apache.org
Subject: Re: [FlexJS] flex-asjs build failing

Hi Yishay,

I guess that problem is related to running the build in Ant and Maven. I think 
the Ant build used to download stuff into the “source” directories so you had 
checked in stuff and not checked in stuff. I would assume the complaints are 
related to that. Another reason could be that you have built with Maven and are 
re-building with less projects enabled. In that case RAT thinks the files of 
the project belong to the parent project and need a License.

I’d just do a search for the swfobject.js

Chris

Am 05.04.17, 09:47 schrieb "yishayw" :

I think I got passed the fontkit problem by copying the contents of

%JAVA_HOME%/../jre/lib/security
to
%JAVA_HOME%/lib/security

(Copying it to %JAVA_HOME%/jre/lib/security didn't make a different to me.)
Apparently there's a bunch of files other than local_policy.jar and
US_export_policy.jar that need to be there.

Now rat.txt is telling me that templates/swfobject/swfobject.js has an
unapproved license. This is strange because I don't even see it in the file
system, so I'm not sure how to fix that.



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-flex-asjs-build-failing-tp60461p61006.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.





RE: [FlexJS] flex-asjs build failing

2017-04-05 Thread Yishay Weiss
Hi Chris,

You’re right. That’s why I said to ignore that mail. I was mixing Ant and 
Maven. The font download problem is on a Maven only env.

Yishay

From: Christofer Dutz
Sent: Wednesday, April 5, 2017 1:35 PM
To: dev@flex.apache.org
Subject: Re: [FlexJS] flex-asjs build failing

Hi Yishay,

I guess that problem is related to running the build in Ant and Maven. I think 
the Ant build used to download stuff into the “source” directories so you had 
checked in stuff and not checked in stuff. I would assume the complaints are 
related to that. Another reason could be that you have built with Maven and are 
re-building with less projects enabled. In that case RAT thinks the files of 
the project belong to the parent project and need a License.

I’d just do a search for the swfobject.js

Chris

Am 05.04.17, 09:47 schrieb "yishayw" :

I think I got passed the fontkit problem by copying the contents of

%JAVA_HOME%/../jre/lib/security
to
%JAVA_HOME%/lib/security

(Copying it to %JAVA_HOME%/jre/lib/security didn't make a different to me.)
Apparently there's a bunch of files other than local_policy.jar and
US_export_policy.jar that need to be there.

Now rat.txt is telling me that templates/swfobject/swfobject.js has an
unapproved license. This is strange because I don't even see it in the file
system, so I'm not sure how to fix that.



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-flex-asjs-build-failing-tp60461p61006.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.




Re: [FlexJS] flex-asjs build failing

2017-04-05 Thread Christofer Dutz
Did you download the two jars in JCE libs into %JAVA_HOME%/jre/lib/security?

Chris

Am 05.04.17, 10:13 schrieb "yishayw" :

Ignore this mail. Fontkit download is still failing.


yishayw wrote
> I think I got passed the fontkit problem by copying the contents of 
> 
> %JAVA_HOME%/../jre/lib/security
> to
> %JAVA_HOME%/lib/security
> 
> (Copying it to %JAVA_HOME%/jre/lib/security didn't make a different to
> me.) Apparently there's a bunch of files other than local_policy.jar and
> US_export_policy.jar that need to be there.
> 
> Now rat.txt is telling me that templates/swfobject/swfobject.js has an
> unapproved license. This is strange because I don't even see it in the
> file system, so I'm not sure how to fix that.





--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-flex-asjs-build-failing-tp60461p61007.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.




Re: [FlexJS] flex-asjs build failing

2017-04-05 Thread Christofer Dutz
Hi Yishay,

I guess that problem is related to running the build in Ant and Maven. I think 
the Ant build used to download stuff into the “source” directories so you had 
checked in stuff and not checked in stuff. I would assume the complaints are 
related to that. Another reason could be that you have built with Maven and are 
re-building with less projects enabled. In that case RAT thinks the files of 
the project belong to the parent project and need a License.

I’d just do a search for the swfobject.js

Chris

Am 05.04.17, 09:47 schrieb "yishayw" :

I think I got passed the fontkit problem by copying the contents of 

%JAVA_HOME%/../jre/lib/security
to
%JAVA_HOME%/lib/security

(Copying it to %JAVA_HOME%/jre/lib/security didn't make a different to me.)
Apparently there's a bunch of files other than local_policy.jar and
US_export_policy.jar that need to be there.

Now rat.txt is telling me that templates/swfobject/swfobject.js has an
unapproved license. This is strange because I don't even see it in the file
system, so I'm not sure how to fix that.



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-flex-asjs-build-failing-tp60461p61006.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.




Re: AW: AW: [FlexJS] flex-asjs build failing

2017-04-05 Thread yishayw
Ignore this mail. Fontkit download is still failing.


yishayw wrote
> I think I got passed the fontkit problem by copying the contents of 
> 
> %JAVA_HOME%/../jre/lib/security
> to
> %JAVA_HOME%/lib/security
> 
> (Copying it to %JAVA_HOME%/jre/lib/security didn't make a different to
> me.) Apparently there's a bunch of files other than local_policy.jar and
> US_export_policy.jar that need to be there.
> 
> Now rat.txt is telling me that templates/swfobject/swfobject.js has an
> unapproved license. This is strange because I don't even see it in the
> file system, so I'm not sure how to fix that.





--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-flex-asjs-build-failing-tp60461p61007.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: AW: AW: [FlexJS] flex-asjs build failing

2017-04-05 Thread yishayw
I think I got passed the fontkit problem by copying the contents of 

%JAVA_HOME%/../jre/lib/security
to
%JAVA_HOME%/lib/security

(Copying it to %JAVA_HOME%/jre/lib/security didn't make a different to me.)
Apparently there's a bunch of files other than local_policy.jar and
US_export_policy.jar that need to be there.

Now rat.txt is telling me that templates/swfobject/swfobject.js has an
unapproved license. This is strange because I don't even see it in the file
system, so I'm not sure how to fix that.



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-flex-asjs-build-failing-tp60461p61006.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS, Maven] Build library project type to js only swc

2017-04-05 Thread Christofer Dutz
Hi Piotr,

You can tell Maven to skip the flash compilation by setting the configuration 
option “skipAS” to true.
You can tell Maven to skip js by setting the configuration option “skipJS” to 
true.

Think that was what you were looking for, correct?

Chris

Am 05.04.17, 07:48 schrieb "piotrz" :

Hi Harbs,

It look like to me that Maven is doing everything what you are showing me in
build.xml at some point automatically.

Cause generated by maven compile config look similar to yours.

I get errors when compile-as-config.xml is being processed.

Error: Missing builtin type Object


When compile-js-config.xml, is being processed with arguments
-compiler.exclude-defaults-css-files=HTML-0.8.0-SNAPSHOT.swc:defaults.css,
-js-output-type=FLEXJS, -compiler.strict-xml=true

I'm getting errors like this:

col: 4 Incorrect number of arguments.  Expected no more than 4
btn.addEventListener(MouseEvent.CLICK, onBtnClick, false, 0, 
true);

Code in js library do not use COMPILE::JS switch, but I think in case of JS
only compilation it don't have to.

Thanks,
Piotr

 
 



-
Apache Flex PMC
piotrzarzyck...@gmail.com
--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-Maven-Build-library-project-type-to-js-only-swc-tp61001p61003.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.




Re: [FlexJS, Maven] Build library project type to js only swc

2017-04-05 Thread Alex Harui
FWIW, this should also be easier in the dual branch since there will then
be a SWC for SWF and a SWC for JS and you could just skip the SWC for SWF.

Someday, I hope to get back to the merge after getting these dependencies
issues and the build fixed.

-Alex

On 4/4/17, 10:48 PM, "piotrz"  wrote:

>Hi Harbs,
>
>It look like to me that Maven is doing everything what you are showing me
>in
>build.xml at some point automatically.
>
>Cause generated by maven compile config look similar to yours.
>
>I get errors when compile-as-config.xml is being processed.
>
>Error: Missing builtin type Object
>
>
>When compile-js-config.xml, is being processed with arguments
>-compiler.exclude-defaults-css-files=HTML-0.8.0-SNAPSHOT.swc:defaults.css,
>-js-output-type=FLEXJS, -compiler.strict-xml=true
>
>I'm getting errors like this:
>
>col: 4 Incorrect number of arguments.  Expected no more than 4
>   btn.addEventListener(MouseEvent.CLICK, onBtnClick, false, 0, 
> true);
>
>Code in js library do not use COMPILE::JS switch, but I think in case of
>JS
>only compilation it don't have to.
>
>Thanks,
>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-Build-library-project-t
>ype-to-js-only-swc-tp61001p61003.html=02%7C01%7C%7C88dec366725a47a3de
>6008d47be89951%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C63626968631686
>5699=jvHAKZV%2BDgvfGdyeZmC6TmkbYJGRP5DIBgy7RwCrC%2FY%3D=0
>Sent from the Apache Flex Development mailing list archive at Nabble.com.