AW: AW: [FALCON][FALCONJX] Give the Maven build a try?

2016-04-10 Thread Christofer Dutz
Hi Alex,

I would be glad to do the switch. I just came back from my holidays and think I 
should finish the tweaks to my flex-maven-plugin first.

Currently it produces empty jar files AND real swcs, which I would like to fix 
first. Please give me 2-3 days to fix that.

With those fixes in place it should also be easy to convert the ASJS part too.

Chris



Von meinem Samsung Galaxy Smartphone gesendet.


 Ursprüngliche Nachricht 
Von: Alex Harui 
Datum: 10.04.16 07:03 (GMT+01:00)
An: dev@flex.apache.org
Betreff: Re: AW: [FALCON][FALCONJX] Give the Maven build a try?

Chris,

Now that 0.6.0 is out, is there any reason not to:

1) sync develop into maven-migration
2) run your script one last time
3) focus on getting maven-migration to build with Maven and Ant and
Eclipse?

There's a fair amount of activity in the develop branch, so I expect there
will still be some clean up once we try a final merge from maven-migration
back to develop, but I think it should be ok for those working off of
develop to continue with their current folder structure while we try to
nail down any issues with maven-migration.

Thoughts?
-Alex

On 3/21/16, 11:32 PM, "Christofer Dutz"  wrote:

>Hi Om,
>
>thanks for trying and I'm really happy that it worked for you. I
>explicitly tried it on several clean VMs to make sure it's not relying on
>something I already setup, but no proof-of-concept usually survives first
>contact with the customer ;-)
>
>Did the builds produce the artifacts that it should? Well it's trivial
>for the compiler and compiler.jx, but do all of the target directories of
>the extern modules contain a SWC?
>
>Now I somehow need to make sure the build produces these SDK overlays. I
>want to make Falcon produce archives and ASJS to produce archives when
>extracted into the same directory they should produce a valid SDK. In
>order to do this for Falcon, I would need to know how this structure has
>to look. From having a look at the Ant build that seems to produce just
>plain zips of the project and probably the ASJS will convert that into a
>useable form. So could someone here please describer how the compiler
>part of the SDK formally looks like? As I have to admit, that I NEVER use
>the SDK distribution ;-)
>
>Chris
>
>
>Von: omup...@gmail.com  im Auftrag von OmPrakash
>Muppirala 
>Gesendet: Montag, 21. März 2016 22:15
>An: dev@flex.apache.org
>Betreff: Re: [FALCON][FALCONJX] Give the Maven build a try?
>
>Seems to be working fine for me on Windows.  These are the things I tried:
>
>1. Switch to feature/maven-migration" branch
>2.  Run migrate-to-maven.sh (on cmd shell, with cygwin installed)
>3.  mvn -s settings-template.xml clean install -P minimal
>4.  Add FLASHPLAYER_DEBUGGER environment variable (I dont have any other
>env variable set like FLEX_HOME, etc.)
>5.  Run mvn -s settings-template.xml clean install
>
>Build Success!
>
>[INFO] Reactor Summary:
>[INFO]
>[INFO] Apache Flex - FlexJS Compiler: Parent .. SUCCESS [
> 5.937 s]
>[INFO] Apache Flex - FlexJS Compiler .. SUCCESS [03:37
>min]
>[INFO] Apache Flex - FlexJS Compiler: FalconJx Cross Compiler SUCCESS
>[01:00 min
>]
>[INFO] Apache Flex - FlexJS Compiler: OEM Layer ... SUCCESS [
> 3.782 s]
>[INFO] Apache Flex - FlexJS Compiler: Externs . SUCCESS [
> 0.076 s]
>[INFO] Apache Flex - FlexJS Compiler: Externs: JS . SUCCESS [
>17.025 s]
>[INFO] Apache Flex - FlexJS Compiler: Externs: Cordova  SUCCESS [
> 0.519 s]
>[INFO] Apache Flex - FlexJS Compiler: Externs: CreateJS ... SUCCESS [
>10.646 s]
>[INFO] Apache Flex - FlexJS Compiler: Externs: GCL  SUCCESS [
> 0.668 s]
>[INFO] Apache Flex - FlexJS Compiler: Externs: GoogleMaps . SUCCESS [
> 3.172 s]
>[INFO] Apache Flex - FlexJS Compiler: Externs: Jasmine  SUCCESS [
> 1.485 s]
>[INFO] Apache Flex - FlexJS Compiler: Externs: JQuery . SUCCESS [
> 2.202 s]
>[INFO] Apache Flex - FlexJS Compiler: Externs: Node ... SUCCESS [
> 0.298 s]
>
>Great work!
>
>Thanks,
>Om
>
>On Mon, Mar 21, 2016 at 8:11 AM, Christofer Dutz
>
>wrote:
>
>> Hi,
>>
>>
>> I just released a new version of the jburg-maven-plugin (Noticed a big
>> problem on Windows machines and fixed that yesterday).
>>
>>
>> Also I added a settings-template.xml to the project which takes care of
>> setting up Maven to download Apache SNAPSHOT artifacts.
>>
>>
>> I did comment out a hand full of tests, which do strange stuff and will
>> try to refactor them so they are a better fit.
>>
>>
>> If you want to give it a try, just checkout falcon and switch to

Re: AW: [FALCON][FALCONJX] Give the Maven build a try?

2016-04-09 Thread Alex Harui
Chris,

Now that 0.6.0 is out, is there any reason not to:

1) sync develop into maven-migration
2) run your script one last time
3) focus on getting maven-migration to build with Maven and Ant and
Eclipse?

There's a fair amount of activity in the develop branch, so I expect there
will still be some clean up once we try a final merge from maven-migration
back to develop, but I think it should be ok for those working off of
develop to continue with their current folder structure while we try to
nail down any issues with maven-migration.

Thoughts?
-Alex

On 3/21/16, 11:32 PM, "Christofer Dutz"  wrote:

>Hi Om,
>
>thanks for trying and I'm really happy that it worked for you. I
>explicitly tried it on several clean VMs to make sure it's not relying on
>something I already setup, but no proof-of-concept usually survives first
>contact with the customer ;-)
>
>Did the builds produce the artifacts that it should? Well it's trivial
>for the compiler and compiler.jx, but do all of the target directories of
>the extern modules contain a SWC?
>
>Now I somehow need to make sure the build produces these SDK overlays. I
>want to make Falcon produce archives and ASJS to produce archives when
>extracted into the same directory they should produce a valid SDK. In
>order to do this for Falcon, I would need to know how this structure has
>to look. From having a look at the Ant build that seems to produce just
>plain zips of the project and probably the ASJS will convert that into a
>useable form. So could someone here please describer how the compiler
>part of the SDK formally looks like? As I have to admit, that I NEVER use
>the SDK distribution ;-)
>
>Chris
>
>
>Von: omup...@gmail.com  im Auftrag von OmPrakash
>Muppirala 
>Gesendet: Montag, 21. März 2016 22:15
>An: dev@flex.apache.org
>Betreff: Re: [FALCON][FALCONJX] Give the Maven build a try?
>
>Seems to be working fine for me on Windows.  These are the things I tried:
>
>1. Switch to feature/maven-migration" branch
>2.  Run migrate-to-maven.sh (on cmd shell, with cygwin installed)
>3.  mvn -s settings-template.xml clean install -P minimal
>4.  Add FLASHPLAYER_DEBUGGER environment variable (I dont have any other
>env variable set like FLEX_HOME, etc.)
>5.  Run mvn -s settings-template.xml clean install
>
>Build Success!
>
>[INFO] Reactor Summary:
>[INFO]
>[INFO] Apache Flex - FlexJS Compiler: Parent .. SUCCESS [
> 5.937 s]
>[INFO] Apache Flex - FlexJS Compiler .. SUCCESS [03:37
>min]
>[INFO] Apache Flex - FlexJS Compiler: FalconJx Cross Compiler SUCCESS
>[01:00 min
>]
>[INFO] Apache Flex - FlexJS Compiler: OEM Layer ... SUCCESS [
> 3.782 s]
>[INFO] Apache Flex - FlexJS Compiler: Externs . SUCCESS [
> 0.076 s]
>[INFO] Apache Flex - FlexJS Compiler: Externs: JS . SUCCESS [
>17.025 s]
>[INFO] Apache Flex - FlexJS Compiler: Externs: Cordova  SUCCESS [
> 0.519 s]
>[INFO] Apache Flex - FlexJS Compiler: Externs: CreateJS ... SUCCESS [
>10.646 s]
>[INFO] Apache Flex - FlexJS Compiler: Externs: GCL  SUCCESS [
> 0.668 s]
>[INFO] Apache Flex - FlexJS Compiler: Externs: GoogleMaps . SUCCESS [
> 3.172 s]
>[INFO] Apache Flex - FlexJS Compiler: Externs: Jasmine  SUCCESS [
> 1.485 s]
>[INFO] Apache Flex - FlexJS Compiler: Externs: JQuery . SUCCESS [
> 2.202 s]
>[INFO] Apache Flex - FlexJS Compiler: Externs: Node ... SUCCESS [
> 0.298 s]
>
>Great work!
>
>Thanks,
>Om
>
>On Mon, Mar 21, 2016 at 8:11 AM, Christofer Dutz
>
>wrote:
>
>> Hi,
>>
>>
>> I just released a new version of the jburg-maven-plugin (Noticed a big
>> problem on Windows machines and fixed that yesterday).
>>
>>
>> Also I added a settings-template.xml to the project which takes care of
>> setting up Maven to download Apache SNAPSHOT artifacts.
>>
>>
>> I did comment out a hand full of tests, which do strange stuff and will
>> try to refactor them so they are a better fit.
>>
>>
>> If you want to give it a try, just checkout falcon and switch to the
>> "feature/maven-migration" branch. This contains a migrate-to-maven.sh
>> script which runs fine on Windows, if you use GitBash to execute it.
>>This
>> script creates the maven directories and moves stuff around to be a
>>perfect
>> maven fit.
>>
>>
>> You have to have a Maven installation of version 3.3.1 or above, as only
>> these versions are able to use the project level maven extensions I
>>need to
>> auto download some resources needed during the build. Make sure to add
>>the
>> maven home's bin directory to your systems path.
>>
>>
>> After that's done, you have to build the "tools" first:
>>
>> mvn -s settings-template.xml clean install -P minimal
>>
>> This builds all the stuff we need to build the rest of the project (You
>> only have to do this once)
>>
>>
>> After that you are free to build the entire package. If you already have
>> your FLASHPLAYER_DEBUGGER environment variable set, you can run the
>>build
>> including tests with this co

AW: [FALCON][FALCONJX] Give the Maven build a try?

2016-03-21 Thread Christofer Dutz
Hi Om,

thanks for trying and I'm really happy that it worked for you. I explicitly 
tried it on several clean VMs to make sure it's not relying on something I 
already setup, but no proof-of-concept usually survives first contact with the 
customer ;-)

Did the builds produce the artifacts that it should? Well it's trivial for the 
compiler and compiler.jx, but do all of the target directories of the extern 
modules contain a SWC?

Now I somehow need to make sure the build produces these SDK overlays. I want 
to make Falcon produce archives and ASJS to produce archives when extracted 
into the same directory they should produce a valid SDK. In order to do this 
for Falcon, I would need to know how this structure has to look. From having a 
look at the Ant build that seems to produce just plain zips of the project and 
probably the ASJS will convert that into a useable form. So could someone here 
please describer how the compiler part of the SDK formally looks like? As I 
have to admit, that I NEVER use the SDK distribution ;-)

Chris


Von: omup...@gmail.com  im Auftrag von OmPrakash Muppirala 

Gesendet: Montag, 21. März 2016 22:15
An: dev@flex.apache.org
Betreff: Re: [FALCON][FALCONJX] Give the Maven build a try?

Seems to be working fine for me on Windows.  These are the things I tried:

1. Switch to feature/maven-migration" branch
2.  Run migrate-to-maven.sh (on cmd shell, with cygwin installed)
3.  mvn -s settings-template.xml clean install -P minimal
4.  Add FLASHPLAYER_DEBUGGER environment variable (I dont have any other
env variable set like FLEX_HOME, etc.)
5.  Run mvn -s settings-template.xml clean install

Build Success!

[INFO] Reactor Summary:
[INFO]
[INFO] Apache Flex - FlexJS Compiler: Parent .. SUCCESS [
 5.937 s]
[INFO] Apache Flex - FlexJS Compiler .. SUCCESS [03:37
min]
[INFO] Apache Flex - FlexJS Compiler: FalconJx Cross Compiler SUCCESS
[01:00 min
]
[INFO] Apache Flex - FlexJS Compiler: OEM Layer ... SUCCESS [
 3.782 s]
[INFO] Apache Flex - FlexJS Compiler: Externs . SUCCESS [
 0.076 s]
[INFO] Apache Flex - FlexJS Compiler: Externs: JS . SUCCESS [
17.025 s]
[INFO] Apache Flex - FlexJS Compiler: Externs: Cordova  SUCCESS [
 0.519 s]
[INFO] Apache Flex - FlexJS Compiler: Externs: CreateJS ... SUCCESS [
10.646 s]
[INFO] Apache Flex - FlexJS Compiler: Externs: GCL  SUCCESS [
 0.668 s]
[INFO] Apache Flex - FlexJS Compiler: Externs: GoogleMaps . SUCCESS [
 3.172 s]
[INFO] Apache Flex - FlexJS Compiler: Externs: Jasmine  SUCCESS [
 1.485 s]
[INFO] Apache Flex - FlexJS Compiler: Externs: JQuery . SUCCESS [
 2.202 s]
[INFO] Apache Flex - FlexJS Compiler: Externs: Node ... SUCCESS [
 0.298 s]

Great work!

Thanks,
Om

On Mon, Mar 21, 2016 at 8:11 AM, Christofer Dutz 
wrote:

> Hi,
>
>
> I just released a new version of the jburg-maven-plugin (Noticed a big
> problem on Windows machines and fixed that yesterday).
>
>
> Also I added a settings-template.xml to the project which takes care of
> setting up Maven to download Apache SNAPSHOT artifacts.
>
>
> I did comment out a hand full of tests, which do strange stuff and will
> try to refactor them so they are a better fit.
>
>
> If you want to give it a try, just checkout falcon and switch to the
> "feature/maven-migration" branch. This contains a migrate-to-maven.sh
> script which runs fine on Windows, if you use GitBash to execute it. This
> script creates the maven directories and moves stuff around to be a perfect
> maven fit.
>
>
> You have to have a Maven installation of version 3.3.1 or above, as only
> these versions are able to use the project level maven extensions I need to
> auto download some resources needed during the build. Make sure to add the
> maven home's bin directory to your systems path.
>
>
> After that's done, you have to build the "tools" first:
>
> mvn -s settings-template.xml clean install -P minimal
>
> This builds all the stuff we need to build the rest of the project (You
> only have to do this once)
>
>
> After that you are free to build the entire package. If you already have
> your FLASHPLAYER_DEBUGGER environment variable set, you can run the build
> including tests with this command:
>
> mvn -s settings-template.xml clean install
>
> If you want to build without tests, just run this version:
>
> mvn -s settings-template.xml clean install -DskipTests
>
> I would be happy for some feedback on if this has worked for you.
>
> It will currently NOT build something you can use in your IDE as I haven't
> written the assembly yet, but that's on my list.
>
>
> Currently I'm mainly interested on if you are able to build and how
> difficult it was for you to do it.
>
>
> After all it should be as easy as download Maven, Download the
> FLASHPLAYER_DEBUGGER, set that one environment variable and then build (And
> the Flashplayer step is going to go away soon hopefully)
>
>
> BUT ONE THING  PLEA