Serkan,
You are pretty close to the good results. You have to take
airglobal and place here ->
.m2\repository\com\adobe\air\framework\airglobal\20.0\airglobal-20.0.swc
You will need also probably playerglobal.swc. Those files you can
find in the Apache Flex SDK if you have some downloaded. Probably
not in the version 20, but you can use it.
Thanks,
Piotr
2018-04-09 21:54 GMT+02:00 Serkan Taş
<[email protected]
<mailto:[email protected]>>:
Hi Alex,
Sorry for the delay.
1. I deleted the folder royale-asjs and then clone,
check-out from scratch but failed again.
2. Then i checked the pom file :
https://github.com/apache/royale-asjs/blob/feature/MXRoyale/frameworks/projects/MXRoyale/pom.xml
<https://github.com/apache/royale-asjs/blob/feature/MXRoyale/frameworks/projects/MXRoyale/pom.xml>
3. Replaced all 0.9.2 with 0.9.3
4. switched to folder :
D:\dev\git\emulation_works\royale-asjs\frameworks\projects\MXRoyale
4. mvn clean : success
5. mvn install : failed with global player and fixed
according to piotr's mail :
.m2\repository\com\adobe\air\framework\airglobal\20.0\airglobal-20.0.swc
and I'm taking it from Apache Flex SDK
which frameworks\libs\air\airglobal.swc.
5. mvn install : failed with error below :
D:\dev\git\emulation_works\royale-asjs\frameworks\projects\MXRoyale\src\main\royale\mx\controls\beads\CSSImageAndTextButtonView.as(122):
col: 27 Error: Call to a possibly undefined
method $addChild through a reference with static type UIBase.
UIBase(value).$addChild(upSprite);
^
D:\dev\git\emulation_works\royale-asjs\frameworks\projects\MXRoyale\src\main\royale\mx\controls\beads\CheckBoxView.as(132):
col: 27 Error: Call to a possibly undefined method $addC
hild through a reference with static type UIBase.
UIBase(value).$addChild(upSprite);
^
D:\dev\git\emulation_works\royale-asjs\frameworks\projects\MXRoyale\src\main\royale\mx\controls\beads\CheckBoxView.as(236):
col: 33 Error: Call to a possibly undefined method $addC
hild through a reference with static type UIBase.
UIBase(_strand).$addChild(upAndSelectedSprite);
^
D:\dev\git\emulation_works\royale-asjs\frameworks\projects\MXRoyale\src\main\royale\mx\controls\beads\CheckBoxView.as(244):
col: 33 Error: Call to a possibly undefined method $addC
hild through a reference with static type UIBase.
UIBase(_strand).$addChild(upSprite);
^
D:\dev\git\emulation_works\royale-asjs\frameworks\projects\MXRoyale\src\main\royale\mx\controls\beads\RadioButtonView.as(133):
col: 27 Error: Call to a possibly undefined method $a
ddChild through a reference with static type UIBase.
UIBase(value).$addChild(upSprite);
^
D:\dev\git\emulation_works\royale-asjs\frameworks\projects\MXRoyale\src\main\royale\mx\controls\beads\RadioButtonView.as(134):
col: 27 Error: Call to a possibly undefined method $a
ddChild through a reference with static type UIBase.
UIBase(value).$addChild(downSprite);
^
D:\dev\git\emulation_works\royale-asjs\frameworks\projects\MXRoyale\src\main\royale\mx\controls\beads\RadioButtonView.as(135):
col: 27 Error: Call to a possibly undefined method $a
ddChild through a reference with static type UIBase.
UIBase(value).$addChild(overSprite);
^
D:\dev\git\emulation_works\royale-asjs\frameworks\projects\MXRoyale\src\main\royale\mx\controls\beads\RadioButtonView.as(136):
col: 27 Error: Call to a possibly undefined method $a
ddChild through a reference with static type UIBase.
UIBase(value).$addChild(upAndSelectedSprite);
^
D:\dev\git\emulation_works\royale-asjs\frameworks\projects\MXRoyale\src\main\royale\mx\controls\beads\RadioButtonView.as(137):
col: 27 Error: Call to a possibly undefined method $a
ddChild through a reference with static type UIBase.
UIBase(value).$addChild(downAndSelectedSprite);
^
D:\dev\git\emulation_works\royale-asjs\frameworks\projects\MXRoyale\src\main\royale\mx\controls\beads\RadioButtonView.as(138):
col: 27 Error: Call to a possibly undefined method $a
ddChild through a reference with static type UIBase.
UIBase(value).$addChild(overAndSelectedSprite);
^
D:\dev\git\emulation_works\royale-asjs\frameworks\projects\MXRoyale\src\main\royale\mx\core\Application.as(358):
col: 19 Error: Access of possibly undefined property $parent.
var p:* = $parent;
^
D:\dev\git\emulation_works\royale-asjs\frameworks\projects\MXRoyale\src\main\royale\mx\core\UIComponent.as(56):
col: 8 Warning: Definition
org.apache.royale.core.TextLineMetrics co
uld not be found.
import org.apache.royale.core.TextLineMetrics;
^
D:\dev\git\emulation_works\royale-asjs\frameworks\projects\MXRoyale\src\main\royale\mx\core\UIComponent.as(1147):
col: 25 Error: Overriding a function that is not marked for
overri
de
public function get measuredWidth():Number
^
D:\dev\git\emulation_works\royale-asjs\frameworks\projects\MXRoyale\src\main\royale\mx\core\UIComponent.as(1163):
col: 25 Error: Overriding a function that is not marked for
overri
de
public function set measuredWidth(value:Number):void
^
D:\dev\git\emulation_works\royale-asjs\frameworks\projects\MXRoyale\src\main\royale\mx\core\UIComponent.as(1189):
col: 25 Error: Overriding a function that is not marked for
overri
de
public function get measuredHeight():Number
^
D:\dev\git\emulation_works\royale-asjs\frameworks\projects\MXRoyale\src\main\royale\mx\core\UIComponent.as(1205):
col: 25 Error: Overriding a function that is not marked for
overri
de
public function set measuredHeight(value:Number):void
^
D:\dev\git\emulation_works\royale-asjs\frameworks\projects\MXRoyale\src\main\royale\mx\core\UIComponent.as(1265):
col: 13 Error: Attempted access of inaccessible property
_explicit
Width through a reference with static type UIComponent.
_explicitWidth = NaN;
^
D:\dev\git\emulation_works\royale-asjs\frameworks\projects\MXRoyale\src\main\royale\mx\core\UIComponent.as(1321):
col: 13 Error: Attempted access of inaccessible property
_explicit
Height through a reference with static type UIComponent.
_explicitHeight = NaN;
^
D:\dev\git\emulation_works\royale-asjs\frameworks\projects\MXRoyale\src\main\royale\mx\core\UIComponent.as(2980):
col: 46 Error: Type was not found or was not a compile-time
consta
nt: TextLineMetrics.
public function measureText(text:String):TextLineMetrics
^
D:\dev\git\emulation_works\royale-asjs\frameworks\projects\MXRoyale\src\main\royale\mx\controls\beads\CSSImageAndTextButtonView.as(122):
col: 27 Call to a possibly undefined method
$addChild through a reference with static type UIBase.
UIBase(value).$addChild(upSprite);
^
D:\dev\git\emulation_works\royale-asjs\frameworks\projects\MXRoyale\src\main\royale\mx\controls\beads\CheckBoxView.as(132):
col: 27 Call to a possibly undefined method $addChild th
rough a reference with static type UIBase.
UIBase(value).$addChild(upSprite);
^
D:\dev\git\emulation_works\royale-asjs\frameworks\projects\MXRoyale\src\main\royale\mx\controls\beads\CheckBoxView.as(236):
col: 33 Call to a possibly undefined method $addChild th
rough a reference with static type UIBase.
UIBase(_strand).$addChild(upAndSelectedSprite);
^
D:\dev\git\emulation_works\royale-asjs\frameworks\projects\MXRoyale\src\main\royale\mx\controls\beads\CheckBoxView.as(244):
col: 33 Call to a possibly undefined method $addChild th
rough a reference with static type UIBase.
UIBase(_strand).$addChild(upSprite);
^
D:\dev\git\emulation_works\royale-asjs\frameworks\projects\MXRoyale\src\main\royale\mx\controls\beads\RadioButtonView.as(133):
col: 27 Call to a possibly undefined method $addChild
through a reference with static type UIBase.
UIBase(value).$addChild(upSprite);
^
D:\dev\git\emulation_works\royale-asjs\frameworks\projects\MXRoyale\src\main\royale\mx\controls\beads\RadioButtonView.as(134):
col: 27 Call to a possibly undefined method $addChild
through a reference with static type UIBase.
UIBase(value).$addChild(downSprite);
^
D:\dev\git\emulation_works\royale-asjs\frameworks\projects\MXRoyale\src\main\royale\mx\controls\beads\RadioButtonView.as(135):
col: 27 Call to a possibly undefined method $addChild
through a reference with static type UIBase.
UIBase(value).$addChild(overSprite);
^
D:\dev\git\emulation_works\royale-asjs\frameworks\projects\MXRoyale\src\main\royale\mx\controls\beads\RadioButtonView.as(136):
col: 27 Call to a possibly undefined method $addChild
through a reference with static type UIBase.
UIBase(value).$addChild(upAndSelectedSprite);
^
D:\dev\git\emulation_works\royale-asjs\frameworks\projects\MXRoyale\src\main\royale\mx\controls\beads\RadioButtonView.as(137):
col: 27 Call to a possibly undefined method $addChild
through a reference with static type UIBase.
UIBase(value).$addChild(downAndSelectedSprite);
^
D:\dev\git\emulation_works\royale-asjs\frameworks\projects\MXRoyale\src\main\royale\mx\controls\beads\RadioButtonView.as(138):
col: 27 Call to a possibly undefined method $addChild
through a reference with static type UIBase.
UIBase(value).$addChild(overAndSelectedSprite);
^
D:\dev\git\emulation_works\royale-asjs\frameworks\projects\MXRoyale\src\main\royale\mx\core\Application.as(358):
col: 19 Access of possibly undefined property $parent.
var p:* = $parent;
^
D:\dev\git\emulation_works\royale-asjs\frameworks\projects\MXRoyale\src\main\royale\mx\core\UIComponent.as(56):
col: 8 Definition org.apache.royale.core.TextLineMetrics
could not b
e found.
import org.apache.royale.core.TextLineMetrics;
^
D:\dev\git\emulation_works\royale-asjs\frameworks\projects\MXRoyale\src\main\royale\mx\core\UIComponent.as(1147):
col: 25 Overriding a function that is not marked for override
public function get measuredWidth():Number
^
D:\dev\git\emulation_works\royale-asjs\frameworks\projects\MXRoyale\src\main\royale\mx\core\UIComponent.as(1163):
col: 25 Overriding a function that is not marked for override
public function set measuredWidth(value:Number):void
^
D:\dev\git\emulation_works\royale-asjs\frameworks\projects\MXRoyale\src\main\royale\mx\core\UIComponent.as(1189):
col: 25 Overriding a function that is not marked for override
public function get measuredHeight():Number
^
D:\dev\git\emulation_works\royale-asjs\frameworks\projects\MXRoyale\src\main\royale\mx\core\UIComponent.as(1205):
col: 25 Overriding a function that is not marked for override
public function set measuredHeight(value:Number):void
^
D:\dev\git\emulation_works\royale-asjs\frameworks\projects\MXRoyale\src\main\royale\mx\core\UIComponent.as(1265):
col: 13 Attempted access of inaccessible property
_explicitWidth t
hrough a reference with static type UIComponent.
_explicitWidth = NaN;
^
D:\dev\git\emulation_works\royale-asjs\frameworks\projects\MXRoyale\src\main\royale\mx\core\UIComponent.as(1321):
col: 13 Attempted access of inaccessible property _explicitHeight
through a reference with static type UIComponent.
_explicitHeight = NaN;
^
D:\dev\git\emulation_works\royale-asjs\frameworks\projects\MXRoyale\src\main\royale\mx\core\UIComponent.as(2980):
col: 46 Type was not found or was not a compile-time
constant: Tex
tLineMetrics.
public function measureText(text:String):TextLineMetrics
^
4.325211432 seconds
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 7.806 s
[INFO] Finished at: 2018-04-09T22:49:02+03:00
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.royale.compiler:royale-maven-plugin:0.9.3-SNAPSHOT:compile-as
(default-compile-as) on project MXRoyale: There were errors
during the build
. Got return code 3 -> [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/MojoExecutionException
<http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException>
09.04.2018 10:35 tarihinde Alex Harui yazdı:
OK, the merge went smoothly so I pushed it. Serkan, you can
try again with Maven.
HTH,
-Alex
From: Alex Harui <[email protected] <mailto:[email protected]>>
Reply-To: "[email protected]
<mailto:[email protected]>" <[email protected]
<mailto:[email protected]>>
Date: Monday, April 9, 2018 at 12:19 AM
To: "[email protected]
<mailto:[email protected]>" <[email protected]
<mailto:[email protected]>>
Subject: Re: MXRoyale build problem
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 <[email protected]
<mailto:[email protected]>>
Reply-To: "[email protected]
<mailto:[email protected]>" <[email protected]
<mailto:[email protected]>>
Date: Sunday, April 8, 2018 at 5:21 AM
To: "[email protected]
<mailto:[email protected]>" <[email protected]
<mailto:[email protected]>>
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ş
<[email protected]
<mailto:[email protected]>>:
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ş
<[email protected]
<mailto:[email protected]>>:
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 :
3. ant all
Folder View :
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ş <[email protected]
<mailto:[email protected]>>
Reply-To: "[email protected]
<mailto:[email protected]>"
<[email protected]
<mailto:[email protected]>>
Date: Saturday, April 7, 2018 at 11:41 PM
To: "[email protected]
<mailto:[email protected]>"
<[email protected]
<mailto:[email protected]>>
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 :
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ş"<[email protected]>
<mailto:[email protected]> 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ş"<[email protected]>
<mailto:[email protected]> 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>_
-- Piotr Zarzycki
Patreon: _https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>_