You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@royale.apache.org by Harbs <ha...@gmail.com> on 2022/02/16 12:13:15 UTC

ant build failing

compile:
    [javac] /Apache/royale-compiler/compiler-jx/build.xml:92: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds

main:
     [echo] Building /Apache/royale-compiler/compiler-jx/lib/jsc.jar
     [echo] Building /Apache/royale-compiler/compiler-jx/lib/mxmlc.jar
     [echo] Building /Apache/royale-compiler/compiler-jx/lib/compc.jar
     [echo] Building /Apache/royale-compiler/compiler-jx/lib/asdoc.jar

compiler.jx.tests:

test:

js.swc:
     [java] args:
     [java] -targets=SWF
     [java] -load-config=/Apache/royale-compiler/compiler-jx/src/test/../../../compiler-externc/target/compile-as-config.xml
     [java] -output=/Apache/royale-compiler/compiler-jx/src/test/../../../compiler-externc/target/js.swc
     [java] target:SWF
     [java] COMPC
     [java] Loading configuration: /Apache/royale-compiler/compiler-externc/target/compile-as-config.xml
     [java] 
     [java] 390130 bytes written to /Apache/royale-compiler/compiler-externc/target/js.swc in 1.699 seconds
     [java] 2.0266871 seconds

custom.swc:
     [java] args:
     [java] -load-config=/Apache/royale-compiler/compiler-jx/src/test/../../target/compile-js-config.xml
     [java] -output=/Apache/royale-compiler/compiler-jx/src/test/../../target/custom.swc
     [java] target:SWF
     [java] target:JSRoyale
     [java] COMPC
     [java] Loading configuration: /Apache/royale-compiler/compiler-jx/target/compile-js-config.xml
     [java] 
     [java] 5929 bytes written to /Apache/royale-compiler/compiler-jx/target/custom.swc in 0.349 seconds
     [java] COMPCJSCRoyale
     [java] Exception in thread "main" java.lang.NoSuchFieldError: config
     [java]     at org.apache.royale.compiler.clients.COMPJSCRoyale.setupTargetFile(COMPJSCRoyale.java:800)
     [java]     at org.apache.royale.compiler.clients.COMPJSCRoyale.compile(COMPJSCRoyale.java:171)
     [java]     at org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:264)
     [java]     at org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:221)
     [java]     at org.apache.royale.compiler.clients.COMPJSC._mainNoExit(COMPJSC.java:190)
     [java]     at org.apache.royale.compiler.clients.COMPJSC.mainNoExit(COMPJSC.java:113)
     [java]     at org.apache.royale.compiler.clients.COMPJSC.staticMainNoExit(COMPJSC.java:98)
     [java]     at org.apache.royale.compiler.clients.COMPJSC.main(COMPJSC.java:81)

BUILD FAILED
/Apache/royale-asjs/build.xml:1882: The following error occurred while executing this line:
/Apache/royale-asjs/build.xml:1969: The following error occurred while executing this line:
/Apache/royale-compiler/build.xml:113: The following error occurred while executing this line:
/Apache/royale-compiler/compiler-jx/build.xml:172: The following error occurred while executing this line:
/Apache/royale-compiler/compiler-jx/src/test/build.xml:56: Java returned: 1

Re: ant build failing

Posted by Harbs <ha...@gmail.com>.
Never mind. Needed to wipe...

> On Feb 16, 2022, at 2:13 PM, Harbs <ha...@gmail.com> wrote:
> 
> compile:
>    [javac] /Apache/royale-compiler/compiler-jx/build.xml:92: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
> 
> main:
>     [echo] Building /Apache/royale-compiler/compiler-jx/lib/jsc.jar
>     [echo] Building /Apache/royale-compiler/compiler-jx/lib/mxmlc.jar
>     [echo] Building /Apache/royale-compiler/compiler-jx/lib/compc.jar
>     [echo] Building /Apache/royale-compiler/compiler-jx/lib/asdoc.jar
> 
> compiler.jx.tests:
> 
> test:
> 
> js.swc:
>     [java] args:
>     [java] -targets=SWF
>     [java] -load-config=/Apache/royale-compiler/compiler-jx/src/test/../../../compiler-externc/target/compile-as-config.xml
>     [java] -output=/Apache/royale-compiler/compiler-jx/src/test/../../../compiler-externc/target/js.swc
>     [java] target:SWF
>     [java] COMPC
>     [java] Loading configuration: /Apache/royale-compiler/compiler-externc/target/compile-as-config.xml
>     [java] 
>     [java] 390130 bytes written to /Apache/royale-compiler/compiler-externc/target/js.swc in 1.699 seconds
>     [java] 2.0266871 seconds
> 
> custom.swc:
>     [java] args:
>     [java] -load-config=/Apache/royale-compiler/compiler-jx/src/test/../../target/compile-js-config.xml
>     [java] -output=/Apache/royale-compiler/compiler-jx/src/test/../../target/custom.swc
>     [java] target:SWF
>     [java] target:JSRoyale
>     [java] COMPC
>     [java] Loading configuration: /Apache/royale-compiler/compiler-jx/target/compile-js-config.xml
>     [java] 
>     [java] 5929 bytes written to /Apache/royale-compiler/compiler-jx/target/custom.swc in 0.349 seconds
>     [java] COMPCJSCRoyale
>     [java] Exception in thread "main" java.lang.NoSuchFieldError: config
>     [java]     at org.apache.royale.compiler.clients.COMPJSCRoyale.setupTargetFile(COMPJSCRoyale.java:800)
>     [java]     at org.apache.royale.compiler.clients.COMPJSCRoyale.compile(COMPJSCRoyale.java:171)
>     [java]     at org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:264)
>     [java]     at org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:221)
>     [java]     at org.apache.royale.compiler.clients.COMPJSC._mainNoExit(COMPJSC.java:190)
>     [java]     at org.apache.royale.compiler.clients.COMPJSC.mainNoExit(COMPJSC.java:113)
>     [java]     at org.apache.royale.compiler.clients.COMPJSC.staticMainNoExit(COMPJSC.java:98)
>     [java]     at org.apache.royale.compiler.clients.COMPJSC.main(COMPJSC.java:81)
> 
> BUILD FAILED
> /Apache/royale-asjs/build.xml:1882: The following error occurred while executing this line:
> /Apache/royale-asjs/build.xml:1969: The following error occurred while executing this line:
> /Apache/royale-compiler/build.xml:113: The following error occurred while executing this line:
> /Apache/royale-compiler/compiler-jx/build.xml:172: The following error occurred while executing this line:
> /Apache/royale-compiler/compiler-jx/src/test/build.xml:56: Java returned: 1