Hi

At a guess, if it's hanging on that "Loading configuration" line, then your xml 
config needs to change.

My suggestions would be to start by stripping out all of the external SWC 
libraries that you're trying to use - these may need replacing/migrating too; 
then if it's still hanging on the "Loading configuration: 
C:\devenv\ii\trunk\components\FlexUIPlatform\build\resources\flex\gradle-flex-config.xml"
 message, you could try editing that file (or e.g. copying to 
gradel-royale-config.xml and editing that) and take out elements of this which 
don't look like they're needed..

Worst case, you may need to load up the Royale compiler into Eclipse and see 
what's actually happening (Alex wrote a good guide for this at 
https://github.com/apache/royale-compiler/wiki/Developer-Guide). I just checked 
but can't see any way of getting the compiler to output any more verbose 
details to the command line.

Your application seems pretty complex from looking at all those dependencies, 
so it may be worth starting with a simpler/basic example just to get used to 
the tools and options. Or if you share your flex-config xml file then someone 
might be able to spot a problem with it.. 

Hope that helps..

    Andrew


-----Original Message-----
From: chembali [mailto:chemb...@hotmail.com] 
Sent: 27 June 2018 10:28
To: dev@royale.apache.org
Subject: [EXTERNAL] Re: Migrating Enterprise Flex Application

Another road block. The command to compile the first component using compc is 
the following.

C:\devenv\ii\trunk\tools\flex\flex4.1-adobe\bin\compc -compiler.locale=en_US 
-load-config=C:\devenv\ii\trunk\components\FlexUIPlatform\build/resources/flex/gradle-flex-config.xml
-compiler.source-path=C:\devenv\ii\trunk\components\FlexUIPlatform/src-flexui
-compiler.source-path=C:\devenv\ii\trunk\components\FlexUIPlatform/src-gen/flexui
-include-sources+=C:\devenv\ii\trunk\components\FlexUIPlatform\src-flexu
-include-sources+i\com 
-include-sources+=C:\devenv\ii\trunk\components\FlexUIPlatform\src-flexu
-include-sources+i\cosm 
-include-sources+=C:\devenv\ii\trunk\components\FlexUIPlatform\src-gen\f
-include-sources+lexui\com
-compiler.source-path=C:\devenv\ii\trunk\components\FlexUIPlatform/res-flexui/locale/{locale}
-compiler.external-library-path+=C:\devenv\ii\trunk\components\FlexUIPlatform\lib-flexui\flexlib.swc
-compiler.external-library-path+=C:\devenv\ii\trunk\components\FlexUIPlatform\lib-flexui\automation.swc
-compiler.external-library-path+=C:\devenv\ii\trunk\components\FlexUIPlatform\lib-flexui\Cairngorm.swc
-compiler.external-library-path+=C:\devenv\ii\trunk\components\FlexUIPlatform\lib-flexui\CairngormEnterprise.swc
-compiler.external-library-path+=C:\devenv\ii\trunk\components\FlexUIPlatform\lib-flexui\diagrammer.swc
-compiler.external-library-path+=C:\devenv\ii\trunk\components\FlexUIPlatform\lib-flexui\drumbeatinsight.swc
-compiler.external-library-path+=C:\devenv\ii\trunk\components\FlexUIPlatform\lib-flexui\FlexSpy.swc
-compiler.external-library-path+=C:\devenv\ii\trunk\components\FlexUIPlatform\lib-flexui\granite.swc
-compiler.external-library-path+=C:\devenv\ii\trunk\components\FlexUIPlatform\lib-flexui\kap-layouts-1.6.2.swc
-compiler.external-library-path+=C:\devenv\ii\trunk\components\FlexUIPlatform\lib-flexui\kap-licence-1.6.1-commercial.swc
-compiler.external-library-path+=C:\devenv\ii\trunk\components\FlexUIPlatform\lib-flexui\MaskedTextInput.swc
-compiler.external-library-path+=C:\devenv\ii\trunk\components\FlexUIPlatform\lib-flexui\multicolumnform.swc
-compiler.external-library-path+=C:\devenv\ii\trunk\components\FlexUIPlatform\lib-flexui\svg-1.6.2.swc
-compiler.external-library-path+=C:\devenv\ii\trunk\components\FlexUIPlatform\build\flex\flexuiplatform-asset.swc
-output=C:\devenv\ii\trunk\components\FlexUIPlatform\build\flex\flexuiplatform.swc

This command works fine and creates the .swc file.

I just changed 'C:\devenv\ii\trunk\tools\flex\flex4.1-adobe\bin\compc' to 
'C:/devenv/apache-royale/royale-asjs/bin/compc' to invoke the Royale compc and 
it is hanging.

Here is the output..

C:\devenv\ii\trunk\components\InfogixInsight>C:/devenv/apache-royale/royale-asjs
/bin/compc -compiler.locale=en_US
-load-config=C:\devenv\ii\trunk\components\Fle
xUIPlatform\build/resources/flex/gradle-flex-config.xml
-compiler.source-path=C:
\devenv\ii\trunk\components\FlexUIPlatform/src-flexui
-compiler.source-path=C:\d
evenv\ii\trunk\components\FlexUIPlatform/src-gen/flexui
-include-sources+=C:\dev
env\ii\trunk\components\FlexUIPlatform\src-flexui\com
-include-sources+=C:\deven
v\ii\trunk\components\FlexUIPlatform\src-flexui\cosm
-include-sources+=C:\devenv
\ii\trunk\components\FlexUIPlatform\src-gen\flexui\com
-compiler.source-path=C:\
devenv\ii\trunk\components\FlexUIPlatform/res-flexui/locale/{locale}
-compiler.e
xternal-library-path+=C:\devenv\ii\trunk\components\FlexUIPlatform\lib-f
xternal-library-path+lexui\fl
exlib.swc
-compiler.external-library-path+=C:\devenv\ii\trunk\components\FlexUIP
latform\lib-flexui\automation.swc
-compiler.external-library-path+=C:\devenv\ii\
trunk\components\FlexUIPlatform\lib-flexui\Cairngorm.swc
-compiler.external-libr
ary-path+=C:\devenv\ii\trunk\components\FlexUIPlatform\lib-flexui\Cairng
ary-path+ormEnter
prise.swc
-compiler.external-library-path+=C:\devenv\ii\trunk\components\FlexUIP
latform\lib-flexui\diagrammer.swc
-compiler.external-library-path+=C:\devenv\ii\
trunk\components\FlexUIPlatform\lib-flexui\drumbeatinsight.swc
-compiler.externa
l-library-path+=C:\devenv\ii\trunk\components\FlexUIPlatform\lib-flexui\FlexSpy.
swc
-compiler.external-library-path+=C:\devenv\ii\trunk\components\FlexUIPlatfor
m\lib-flexui\granite.swc
-compiler.external-library-path+=C:\devenv\ii\trunk\com
ponents\FlexUIPlatform\lib-flexui\kap-layouts-1.6.2.swc
-compiler.external-libra
ry-path+=C:\devenv\ii\trunk\components\FlexUIPlatform\lib-flexui\kap-lic
ry-path+ence-1.6
.1-commercial.swc
-compiler.external-library-path+=C:\devenv\ii\trunk\components
\FlexUIPlatform\lib-flexui\MaskedTextInput.swc
-compiler.external-library-path+=
C:\devenv\ii\trunk\components\FlexUIPlatform\lib-flexui\multicolumnform.swc
-com
piler.external-library-path+=C:\devenv\ii\trunk\components\FlexUIPlatform\lib-fl
exui\svg-1.6.2.swc
-compiler.external-library-path+=C:\devenv\ii\trunk\component
s\FlexUIPlatform\build\flex\flexuiplatform-asset.swc
-output=C:\devenv\ii\trunk\
components\FlexUIPlatform\build\flex\flexuiplatform.swc
Using Royale SDK: C:\devenv\apache-royale\royale-asjs
Loading configuration:
C:\devenv\ii\trunk\components\FlexUIPlatform\build\resour
ces\flex\gradle-flex-config.xml

It is hanging at this point. Any ideas? How do I debug this issue? Any help is 
greatly appreciated.



--
Sent from: 
https://clicktime.symantec.com/a/1/KUW-qQ_Wii0-6xSmDCFDLIgAV0TxixSDVy9aYqqDgUw=?d=d9pXJzXUV4iOPwwIx2c2iHFerJ20H0PuEP1lunt1zoWUbSGRdgf5ObwpHICqCs8s2wwSz7xL2FbRUHg8hUSTL-RSQRpAMAW7ePyXBU58Dd1r3x23wmqZUR71sfbwQ-mFZI-F1rUOnnkzmQmIKnysyIOdmKbMHRkqokfwSPMxcUK1hn9zPvxI1iCpzfR3NdAfQidKEUWb-QtgbGOhJT4QwFl5o2B58HTmqWqWbENHJN7Vz6bArHn5KQr2cvf3k7EKjdpxr9fD--a5KcSacugLIWXH4yBg6vJlbS88isO7XnwuxxEvKywqVjH2a85vyzcVI7H64yxSiotkyoXppiab1rgaT-_36Sw1g2_x4fdOwcvtba2hq02tUYETqchShDYSmjb7YJ7d3G_SBrJ0479EOZ7-bjM3BZqy&u=http%3A%2F%2Fapache-royale-development.20373.n8.nabble.com%2F

Reply via email to