I think MXRoyale is out of sync with the Maven versioning.  I will try to merge 
the royale-asjs develop branch into MXRoyale and make sure the Maven build 
works.

I'm thinking of merging MXRoyale into develop for the 0.9.3 release.  Any 
opinions on that?

-Alex

From: Piotr Zarzycki 
<piotrzarzyck...@gmail.com<mailto:piotrzarzyck...@gmail.com>>
Reply-To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
<users@royale.apache.org<mailto:users@royale.apache.org>>
Date: Sunday, April 8, 2018 at 5:21 AM
To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
<users@royale.apache.org<mailto:users@royale.apache.org>>
Subject: Re: MXRoyale build problem

Are you sure that you are on the right branch in case of royale-asjs. You have 
been asked in the stack traces for 0.9.2-SNAPSHOT version. It should be 
0.9.3-SNAPSHOT

I think in order to work on emulation you have to be:

royale-compiler - develop branch
royale-typedefs - develop branch
royale-asjs - feature/MXRoyale

Are you using those branches ?

Thanks,
Piotr

2018-04-08 14:12 GMT+02:00 Serkan Taş 
<serkan....@likyateknoloji.com<mailto:serkan....@likyateknoloji.com>>:

I prefer mvn Piotr,

I first compiled the typedefs and compiler successfuly as Alex  informed but i 
got the same error as earlier.

and here is the report :

cd royale-typedefs

mvn clean   : success
mvn install : success

******************************************************************************************************************

(due to the bug in code generator - related to locale dependent capitalizing 
u-case i to İ - I had to change the jvm params)

cd royale-compiler

mvn clean -Djvm.options="-Duser.country=EN -Duser.language=en" : success

mvn install -Djvm.options="-Duser.country=EN -Duser.language=en"

Tests run: 1145, Failures: 4, Errors: 6, Skipped: 4

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Royale: Compiler: Parent 0.9.3-SNAPSHOT ..... SUCCESS [  4.600 s]
[INFO] Apache Royale: Compiler: Compiler-Common ........... SUCCESS [  6.545 s]
[INFO] Apache Royale: Compiler: Test Utils ................ SUCCESS [  1.344 s]
[INFO] Apache Royale: Compiler: Externc ................... SUCCESS [ 16.432 s]
[INFO] Apache Royale: Compiler: Compiler .................. SUCCESS [02:26 min]
[INFO] Apache Royale: Compiler: Compiler-JX ............... FAILURE [ 49.945 s]
[INFO] Apache Royale: Compiler: SWFUtils .................. SKIPPED
[INFO] Apache Royale: Compiler: Debugger .................. SKIPPED
[INFO] Apache Royale: Compiler: OEM Layer ................. SKIPPED
[INFO] Apache Royale: Royale Ant Tasks .................... SKIPPED
[INFO] Apache Royale: Royale Maven Plugin 0.9.3-SNAPSHOT .. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 03:46 min
[INFO] Finished at: 2018-04-08T14:56:46+03:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:2.19:test (default-test) on 
project compiler-jx: There are test failures.
[ERROR]
[ERROR] Please refer to 
D:\dev\git\emulation_works\royale-compiler\compiler-jx\target\surefire-reports 
for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FMAVEN%2FMojoFailureException&data=02%7C01%7Caharui%40adobe.com%7C5eb63ff23edc4e4289d108d59d4b3b12%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636587868802712227&sdata=Vg%2BtZF%2BWajFf89VFfiCIu0%2BFasGPwlS1SAPL%2FH%2FH9JM%3D&reserved=0>
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :compiler-jx


I added params to skip tests

mvn -DskipTests -Drat.skip=true clean -Djvm.options="-Duser.country=EN 
-Duser.language=en" : success

mvn -DskipTests -Drat.skip=true install -Djvm.options="-Duser.country=EN 
-Duser.language=en" : success

******************************************************************************************************************

D:\dev\git\emulation_works>cd royale-asjs

D:\dev\git\emulation_works\royale-asjs>mvn clean

[WARNING] The POM for 
org.apache.flex.utilities.converter:flex-sdk-converter-maven-extension:jar:1.0.0-SNAPSHOT
 is missing, no dependency information available
[WARNING] Failed to read extensions descriptor 
D:\dev\git\emulation_works\royale-asjs\.mvn\extensions.xml: Plugin 
org.apache.flex.utilities.converter:flex-sdk-converter-maven-exten
sion:1.0.0-SNAPSHOT or one of its dependencies could not be resolved: Could not 
find artifact 
org.apache.flex.utilities.converter:flex-sdk-converter-maven-extension:jar:1.0.0-SNAPS
HOT
[INFO] Scanning for projects...
[WARNING] The POM for 
org.apache.royale.compiler:royale-maven-plugin:jar:0.9.2-SNAPSHOT is missing, 
no dependency information available
[WARNING] The POM for org.apache.royale.compiler:compiler-jx:jar:0.9.2-SNAPSHOT 
is missing, no dependency information available
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Unresolveable build extension: Plugin 
org.apache.royale.compiler:royale-maven-plugin:0.9.2-SNAPSHOT or one of its 
dependencies could not be resolved: The following artifact
s could not be resolved: 
org.apache.royale.compiler:royale-maven-plugin:jar:0.9.2-SNAPSHOT, 
org.apache.royale.compiler:compiler-jx:jar:0.9.2-SNAPSHOT: Failure to find 
org.apache.ro<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Forg.apache.ro&data=02%7C01%7Caharui%40adobe.com%7C5eb63ff23edc4e4289d108d59d4b3b12%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636587868802712227&sdata=nRIardb2oyNBKmAxZY4Ngxm9%2BPYlwH6bX4BNnZrBs94%3D&reserved=0>
yale.compiler:royale-maven-plugin:jar:0.9.2-SNAPSHOT in 
https://repository.apache.org/content/repositories/snapshots<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Frepository.apache.org%2Fcontent%2Frepositories%2Fsnapshots&data=02%7C01%7Caharui%40adobe.com%7C5eb63ff23edc4e4289d108d59d4b3b12%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636587868802712227&sdata=HUobY9ny1QL2qgeDoKXHT05gkF1d30x7th3p3zbpZt8%3D&reserved=0>
 was cached in the local repository, resolution will not be reat
tempted until the update interval of apache-plugins-snapshots has elapsed or 
updates are forced @
[ERROR] Unresolveable build extension: Plugin 
org.apache.royale.compiler:royale-maven-plugin:0.9.2-SNAPSHOT or one of its 
dependencies could not be resolved: The following artifact
s could not be resolved: 
org.apache.royale.compiler:royale-maven-plugin:jar:0.9.2-SNAPSHOT, 
org.apache.royale.compiler:compiler-jx:jar:0.9.2-SNAPSHOT: Failure to find 
org.apache.ro<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Forg.apache.ro&data=02%7C01%7Caharui%40adobe.com%7C5eb63ff23edc4e4289d108d59d4b3b12%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636587868802712227&sdata=nRIardb2oyNBKmAxZY4Ngxm9%2BPYlwH6bX4BNnZrBs94%3D&reserved=0>
yale.compiler:royale-maven-plugin:jar:0.9.2-SNAPSHOT in 
https://repository.apache.org/content/repositories/snapshots<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Frepository.apache.org%2Fcontent%2Frepositories%2Fsnapshots&data=02%7C01%7Caharui%40adobe.com%7C5eb63ff23edc4e4289d108d59d4b3b12%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636587868802712227&sdata=HUobY9ny1QL2qgeDoKXHT05gkF1d30x7th3p3zbpZt8%3D&reserved=0>
 was cached in the local repository, resolution will not be reat
tempted until the update interval of apache-plugins-snapshots has elapsed or 
updates are forced @
[ERROR] Unknown packaging: swc @ line 31, column 14
 @
[ERROR] The build could not read 2 projects -> [Help 1]
[ERROR]
[ERROR]   The project org.apache.royale.framework:projects:0.9.2-SNAPSHOT 
(D:\dev\git\emulation_works\royale-asjs\frameworks\projects\pom.xml) has 1 error
[ERROR]     Unresolveable build extension: Plugin 
org.apache.royale.compiler:royale-maven-plugin:0.9.2-SNAPSHOT or one of its 
dependencies could not be resolved: The following arti
facts could not be resolved: 
org.apache.royale.compiler:royale-maven-plugin:jar:0.9.2-SNAPSHOT, 
org.apache.royale.compiler:compiler-jx:jar:0.9.2-SNAPSHOT: Failure to find 
org.apach
e.royale.compiler:royale-maven-plugin:jar:0.9.2-SNAPSHOT in 
https://repository.apache.org/content/repositories/snapshots<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Frepository.apache.org%2Fcontent%2Frepositories%2Fsnapshots&data=02%7C01%7Caharui%40adobe.com%7C5eb63ff23edc4e4289d108d59d4b3b12%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636587868802712227&sdata=HUobY9ny1QL2qgeDoKXHT05gkF1d30x7th3p3zbpZt8%3D&reserved=0>
 was cached in the local repository, resolution will not be
reattempted until the update interval of apache-plugins-snapshots has elapsed 
or updates are forced -> [Help 2]
[ERROR]
[ERROR]   The project org.apache.royale.framework:BasicTheme:0.9.2-SNAPSHOT 
(D:\dev\git\emulation_works\royale-asjs\frameworks\themes\Basic\pom.xml) has 2 
errors
[ERROR]     Unresolveable build extension: Plugin 
org.apache.royale.compiler:royale-maven-plugin:0.9.2-SNAPSHOT or one of its 
dependencies could not be resolved: The following arti
facts could not be resolved: 
org.apache.royale.compiler:royale-maven-plugin:jar:0.9.2-SNAPSHOT, 
org.apache.royale.compiler:compiler-jx:jar:0.9.2-SNAPSHOT: Failure to find 
org.apach
e.royale.compiler:royale-maven-plugin:jar:0.9.2-SNAPSHOT in 
https://repository.apache.org/content/repositories/snapshots<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Frepository.apache.org%2Fcontent%2Frepositories%2Fsnapshots&data=02%7C01%7Caharui%40adobe.com%7C5eb63ff23edc4e4289d108d59d4b3b12%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636587868802712227&sdata=HUobY9ny1QL2qgeDoKXHT05gkF1d30x7th3p3zbpZt8%3D&reserved=0>
 was cached in the local repository, resolution will not be
reattempted until the update interval of apache-plugins-snapshots has elapsed 
or updates are forced -> [Help 2]
[ERROR]     Unknown packaging: swc @ line 31, column 14
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FMAVEN%2FProjectBuildingException&data=02%7C01%7Caharui%40adobe.com%7C5eb63ff23edc4e4289d108d59d4b3b12%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636587868802712227&sdata=qO7Rtn7eHtO6M8KCWU8jACcJXAgz2quHp8%2B%2BOW9Tw9Y%3D&reserved=0>
[ERROR] [Help 2] 
http://cwiki.apache.org/confluence/display/MAVEN/PluginManagerException<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FMAVEN%2FPluginManagerException&data=02%7C01%7Caharui%40adobe.com%7C5eb63ff23edc4e4289d108d59d4b3b12%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636587868802712227&sdata=0OTJzurEVm4XowzxNH7i3AVCaQuOmqpdH0UMqZhfA00%3D&reserved=0>


08.04.2018 13:56 tarihinde Piotr Zarzycki yazdı:
Serkan,

It depends where you will feel comfortable. Maven scripts are quite clean and 
self explanatory. With ANT it does not so obvious. However you probably won't 
change anything in scripts.

If ANT worked for you go with ANT. Going with Maven you will be able to rebuild 
one module and test it. With ANT it is probably also possible.

Piotr

2018-04-08 12:50 GMT+02:00 Serkan Taş 
<serkan....@likyateknoloji.com<mailto:serkan....@likyateknoloji.com>>:

Here is the last result :

1.     git clone 
https://github.com/apache/royale-asjs.git<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs.git&data=02%7C01%7Caharui%40adobe.com%7C79ddabf4e3994a9db38908d59d1bde7c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636587665481338047&sdata=Vt%2FkEc6N8JZOQ6lviXl5apzi8hwZFJMlYPVWklcSItc%3D&reserved=0>

2.    cd royale-asjs

3.     git checkout feature/MXRoyale

4.    ant all : failed; details in the mail below

5.    cd ..\royale-typedefs

6.    ant : completed with success

7.    cd ..\royale-asjs

8.    ant main : completed with success

9.    ant frameworks : completed with success

10.    cd D:\dev\git\emulation_works\royale-asjs\frameworks\projects\MXRoyale

11.    ant : completed with success

If it is ok, i can move on with this.

Piotr, i just saw your mail, do you want me to move with maven ?




1.     git clone 
https://github.com/apache/royale-asjs.git<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs.git&data=02%7C01%7Caharui%40adobe.com%7C79ddabf4e3994a9db38908d59d1bde7c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636587665481338047&sdata=Vt%2FkEc6N8JZOQ6lviXl5apzi8hwZFJMlYPVWklcSItc%3D&reserved=0>

2.     git checkout feature/MXRoyale

        Folder view :

        [cid:part4.FE09B00B.18222F61@likyateknoloji.com]

3.    ant all

        Folder View :

        [cid:part5.E66097EA.6992B0F3@likyateknoloji.com]

        Fails and the result :
        
https://drive.google.com/open?id=1XZNfN8exZ_x_F4bTY5xIfxO328eWHIQ4<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdrive.google.com%2Fopen%3Fid%3D1XZNfN8exZ_x_F4bTY5xIfxO328eWHIQ4&data=02%7C01%7Caharui%40adobe.com%7C5eb63ff23edc4e4289d108d59d4b3b12%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636587868802712227&sdata=gqiI0YQUN7erfTG%2BmL5Y7enmqEelkyX8vvvHQuliddg%3D&reserved=0>

Next : i am going to check-out all tree repo manually and then build with ant 
saperately.

08.04.2018 10:02 tarihinde Alex Harui yazdı:
If you are using Maven, you may need to build the royale-compiler and 
royale-typedefs repos first.  See the README in each of those repos.  You can 
also use Ant instead of Maven.

HTH,
-Alex

From: Serkan Taş 
<serkan....@likyateknoloji.com<mailto:serkan....@likyateknoloji.com>>
Reply-To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
<users@royale.apache.org<mailto:users@royale.apache.org>>
Date: Saturday, April 7, 2018 at 11:41 PM
To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
<users@royale.apache.org<mailto:users@royale.apache.org>>
Subject: MXRoyale build problem


Hi Alex,

Here is the steps and result (i spent some time but could not find a 
resolution) :

git clone 
https://github.com/apache/royale-asjs.git<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs.git&data=02%7C01%7Caharui%40adobe.com%7C79ddabf4e3994a9db38908d59d1bde7c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636587665481338047&sdata=Vt%2FkEc6N8JZOQ6lviXl5apzi8hwZFJMlYPVWklcSItc%3D&reserved=0>

cd royale-asjs

git checkout feature/MXRoyale

mvn celan

Result :

[X]


07.04.2018 17:51 tarihinde Alex Harui yazdı:

Hi Serkan,

That would be great.  We need the help.

We have a wiki page about Emulation components here [1].
And one person has been learning how to help in this long thread[2].

[1] has an API list, but it does not take into account your API usage.  If
you want to integrate your list with the current list, that might be
useful.

Let us know if you have other questions or need help getting started.

Thanks,
-Alex

[1] 
https://github.com/apache/royale-asjs/wiki/emulation-components<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fwiki%2Femulation-components&data=02%7C01%7Caharui%40adobe.com%7C79ddabf4e3994a9db38908d59d1bde7c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636587665481338047&sdata=BVdRuWskUsnCNLp1IM49Dvi3%2BN6zg5O0VmBJ9hRG60M%3D&reserved=0>
[2]
https://lists.apache.org/thread.html/f05b54c5721a3c96a6ef5f74180461240ab1a3<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.apache.org%2Fthread.html%2Ff05b54c5721a3c96a6ef5f74180461240ab1a3&data=02%7C01%7Caharui%40adobe.com%7C79ddabf4e3994a9db38908d59d1bde7c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636587665481338047&sdata=r1FEpWeuAka37dOHYtAYofsM2Ol5rq6h8LhSWkQTUUw%3D&reserved=0>f764dc9b4f0cb0e33a@%3Cusers.royale.apache.org%3E<mailto:f764dc9b4f0cb0e33a@%3Cusers.royale.apache.org%3E>

On 4/7/18, 4:17 AM, "Serkan Taş" 
<serkan....@likyateknoloji.com><mailto:serkan....@likyateknoloji.com> wrote:



Hi Alex,

I am going to be happy to help you and can try to do something valuable
for the process of emulation creation.

Serkan

07.04.2018 09:20 tarihinde Alex Harui yazdı:


Hi Serkan,

You are correct that are several buttons.  Basic Button just creates a
simple HTML <button>.  There are limits to how nice you can make it
look.
Other buttons try to make nicer looking buttons that you can control
more
aspects of the visuals.

We are in the process of creating even more buttons that emulate the
most
popular APIs on MX and Spark Button.  It might be better for you to help
us create and polish these emulations.  Then you may not have to change
your code as much.

HTH,
-Alex

On 4/6/18, 1:05 PM, "Serkan Taş" 
<serkan....@likyateknoloji.com><mailto:serkan....@likyateknoloji.com> wrote:



Hi,

I see that there are several buttons, js, svg and now j. I was using mx
and s ones previously.

I am not sure which one fits best, need advice.

Second one, is there any equivalent of Form and FormItem structure ?

It is takin time tp make the examples work on moonshine and check for
the needed component if exist and then learn :)

Thanks in advance

Regards,

Serkan.











--

Piotr Zarzycki

Patreon: 
https://www.patreon.com/piotrzarzycki<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C5eb63ff23edc4e4289d108d59d4b3b12%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636587868802712227&sdata=1hhNPwc8Fnhy3SD7%2Fw4CMckgUbdPnvAzqAUsga0Htlo%3D&reserved=0>




--

Piotr Zarzycki

Patreon: 
https://www.patreon.com/piotrzarzycki<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C5eb63ff23edc4e4289d108d59d4b3b12%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636587868802712227&sdata=1hhNPwc8Fnhy3SD7%2Fw4CMckgUbdPnvAzqAUsga0Htlo%3D&reserved=0>

Reply via email to