Are you missing the '-' before 'source-path'?  The compiler might be thinking 
that is the main source file.

HTH,
-Alex

On 7/18/18, 9:59 AM, "bhau" <[email protected]> wrote:

    Hi,
    
    I am getting following error when compiling with compc command. 
    Any help is appreciated. 
    
    
D:\Software\ApacheRoyale\apache-royale-0.9.3-bin-js\royale-asjs\js\bin>.\compc
    source-path=D:\Learn\MyFirstRoyaleApp\src\FlexUIPlatform\src-flexui 
    -output=flexuiplatform.swc
    -include-sources=D:\Learn\MyFirstRoyaleApp\src\FlexUIPlatform\src-flexui 
    -compiler.show-actionscript-warnings
    Using Royale Compiler codebase:
    D:\Software\ApacheRoyale\apache-royale-0.9.3-bin-js\royale-asjs\js\bin\..\..
    Using Royale SDK:
    D:\Software\ApacheRoyale\apache-royale-0.9.3-bin-js\royale-asjs\js\bin\..\..
    args:
    
-sdk-js-lib=D:\Software\ApacheRoyale\apache-royale-0.9.3-bin-js\royale-asjs\js\bin\..\..\frameworks\js\Royale\generated-sources
    source-path=D:\Learn\MyFirstRoyaleApp\src\FlexUIPlatform\src-flexui
    -output=flexuiplatform.swc
    -include-sources=D:\Learn\MyFirstRoyaleApp\src\FlexUIPlatform\src-flexui
    -compiler.show-actionscript-warnings
    target:JSRoyale
    COMPCJSCRoyale
    java.util.NoSuchElementException
    java.util.NoSuchElementException java.util.ArrayList$Itr.next(Unknown
    
Source)com.google.common.collect.Iterators.getOnlyElement(Iterators.java:308)com.google.common.collect.Iterables.getOnlyElement(Iterables.java:294)org.apache.royale.compiler.internal.targets.JSTarget.getRootClassCompilationUnit(JSTarget.java:219)org.apache.royale.compiler.internal.targets.JSTarget.buildAndCollectProblems(JSTarget.java:190)org.apache.royale.compiler.internal.targets.JSTarget.build(JSTarget.java:114)org.apache.royale.compiler.internal.targets.JSTarget.build(JSTarget.java:226)org.apache.royale.compiler.clients.COMPJSCRoyale.buildApplication(COMPJSCRoyale.java:408)org.apache.royale.compiler.clients.COMPJSCRoyale.buildJSTarget(COMPJSCRoyale.java:373)org.apache.royale.compiler.clients.COMPJSCRoyale.buildArtifact(COMPJSCRoyale.java:365)org.apache.royale.compiler.clients.COMPJSCRoyale.compile(COMPJSCRoyale.java:163)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:240)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:197)org.apache.royale.compiler.clients.COMPJSC._mainNoExit(COMPJSC.java:210)org.apache.royale.compiler.clients.COMPJSC.mainNoExit(COMPJSC.java:140)org.apache.royale.compiler.clients.COMPJSC.staticMainNoExit(COMPJSC.java:125)org.apache.royale.compiler.clients.COMPJSC.main(COMPJSC.java:108)
    
    
    27.453418911 seconds
    
    Thanks,
    --Bhau
    
    
    
    --
    Sent from: 
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-development.20373.n8.nabble.com%2F&amp;data=02%7C01%7Caharui%40adobe.com%7Ca89afb19209a4d73ff0908d5eccfc9e3%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C636675299539423387&amp;sdata=I15egzK1jvC6Qym7G%2FRbpFMuoNjbrjFQj39qvqcnKDg%3D&amp;reserved=0
    

Reply via email to