You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@royale.apache.org by Carlos Rovira <ca...@apache.org> on 2018/12/28 08:11:16 UTC

Build SDK with ANT fails in test

Hi

latest changes are still causing some problems in build. Can you point me
to some flag I can use to avoid this tests when building SDK with ANT while
this problems are fixed?
thanks

main:

    [mkdir] Created dir:
/Users/carlosrovira/Dev/Royale/Source/royale-compiler/compiler-externc/target/junit-temp/externs

    [unjar] Expanding:
/Users/carlosrovira/Dev/Royale/Source/royale-compiler/compiler-jx/lib/google/closure-compiler/compiler.jar
into
/Users/carlosrovira/Dev/Royale/Source/royale-compiler/compiler-externc/target/junit-temp/externs

    [unzip] Expanding:
/Users/carlosrovira/Dev/Royale/Source/royale-compiler/compiler-externc/target/junit-temp/externs/externs.zip
into
/Users/carlosrovira/Dev/Royale/Source/royale-compiler/compiler-externc/target/downloads


compile.unit.tests:

   [delete] Deleting directory
/Users/carlosrovira/Dev/Royale/Source/royale-compiler/compiler-externc/target/test-classes

    [mkdir] Created dir:
/Users/carlosrovira/Dev/Royale/Source/royale-compiler/compiler-externc/target/test-classes

     [copy] Copying 12 files to
/Users/carlosrovira/Dev/Royale/Source/royale-compiler/compiler-externc/target/test-classes

    [javac] Compiling 15 source files to
/Users/carlosrovira/Dev/Royale/Source/royale-compiler/compiler-externc/target/test-classes

    [javac]
/Users/carlosrovira/Dev/Royale/Source/royale-compiler/compiler-externc/src/test/java/org/apache/royale/compiler/internal/codegen/typedefs/TestConstructor.java:33:
error: cannot find symbol

    [javac] import com.google.javascript.rhino.jstype.JSType.Nullability;

    [javac]                                                 ^

    [javac]   symbol:   class Nullability

    [javac]   location: class JSType

    [javac]
/Users/carlosrovira/Dev/Royale/Source/royale-compiler/compiler-externc/src/test/java/org/apache/royale/compiler/internal/codegen/typedefs/TestConstructor.java:87:
error: cannot find symbol

    [javac]                 evaluateParam(FooOptVarArgs.getConstructor(),
"arg1").toAnnotationString(Nullability.EXPLICIT));

    [javac]
                          ^

    [javac]   symbol:   variable Nullability

    [javac]   location: class TestConstructor

    [javac]
/Users/carlosrovira/Dev/Royale/Source/royale-compiler/compiler-externc/src/test/java/org/apache/royale/compiler/internal/codegen/typedefs/TestConstructor.java:90:
error: cannot find symbol

    [javac]                 evaluateParam(FooOptVarArgs.getConstructor(),
"opt_arg2").toAnnotationString(Nullability.EXPLICIT));

    [javac]
                              ^

    [javac]   symbol:   variable Nullability

    [javac]   location: class TestConstructor

    [javac]
/Users/carlosrovira/Dev/Royale/Source/royale-compiler/compiler-externc/src/test/java/org/apache/royale/compiler/internal/codegen/typedefs/TestConstructor.java:93:
error: cannot find symbol

    [javac]                 evaluateParam(FooOptVarArgs.getConstructor(),
"var_args").toAnnotationString(Nullability.EXPLICIT));

    [javac]
                              ^

    [javac]   symbol:   variable Nullability

    [javac]   location: class TestConstructor

    [javac] 4 errors


BUILD FAILED

/Users/carlosrovira/Dev/Royale/Source/royale-asjs/build.xml:1942: The
following error occurred while executing this line:

/Users/carlosrovira/Dev/Royale/Source/royale-asjs/build.xml:2029: The
following error occurred while executing this line:

/Users/carlosrovira/Dev/Royale/Source/royale-compiler/build.xml:67: The
following error occurred while executing this line:

/Users/carlosrovira/Dev/Royale/Source/royale-compiler/compiler-externc/build.xml:140:
The following error occurred while executing this line:

/Users/carlosrovira/Dev/Royale/Source/royale-compiler/compiler-externc/build.xml:145:
The following error occurred while executing this line:

/Users/carlosrovira/Dev/Royale/Source/royale-compiler/compiler-externc/src/test/build.xml:60:
Compile failed; see the compiler error output for details.


Total time: 3 seconds

Error:Build stopped - build SDK with ANT

-- 
Carlos Rovira
http://about.me/carlosrovira

Re: Build SDK with ANT fails in test

Posted by Carlos Rovira <ca...@apache.org>.
Thanks Alex,

that worked :)

El vie., 28 dic. 2018 a las 9:24, Alex Harui (<ah...@adobe.com.invalid>)
escribió:

> The CI servers are building successfully.
>
> Run "ant wipe-all" in royale-compiler, then "ant".
>
> -Alex
>
> On 12/28/18, 12:11 AM, "Carlos Rovira" <ca...@apache.org> wrote:
>
>     Hi
>
>     latest changes are still causing some problems in build. Can you point
> me
>     to some flag I can use to avoid this tests when building SDK with ANT
> while
>     this problems are fixed?
>     thanks
>
>     main:
>
>         [mkdir] Created dir:
>
> /Users/carlosrovira/Dev/Royale/Source/royale-compiler/compiler-externc/target/junit-temp/externs
>
>         [unjar] Expanding:
>
> /Users/carlosrovira/Dev/Royale/Source/royale-compiler/compiler-jx/lib/google/closure-compiler/compiler.jar
>     into
>
> /Users/carlosrovira/Dev/Royale/Source/royale-compiler/compiler-externc/target/junit-temp/externs
>
>         [unzip] Expanding:
>
> /Users/carlosrovira/Dev/Royale/Source/royale-compiler/compiler-externc/target/junit-temp/externs/externs.zip
>     into
>
> /Users/carlosrovira/Dev/Royale/Source/royale-compiler/compiler-externc/target/downloads
>
>
>     compile.unit.tests:
>
>        [delete] Deleting directory
>
> /Users/carlosrovira/Dev/Royale/Source/royale-compiler/compiler-externc/target/test-classes
>
>         [mkdir] Created dir:
>
> /Users/carlosrovira/Dev/Royale/Source/royale-compiler/compiler-externc/target/test-classes
>
>          [copy] Copying 12 files to
>
> /Users/carlosrovira/Dev/Royale/Source/royale-compiler/compiler-externc/target/test-classes
>
>         [javac] Compiling 15 source files to
>
> /Users/carlosrovira/Dev/Royale/Source/royale-compiler/compiler-externc/target/test-classes
>
>         [javac]
>
> /Users/carlosrovira/Dev/Royale/Source/royale-compiler/compiler-externc/src/test/java/org/apache/royale/compiler/internal/codegen/typedefs/TestConstructor.java:33:
>     error: cannot find symbol
>
>         [javac] import
> com.google.javascript.rhino.jstype.JSType.Nullability;
>
>         [javac]                                                 ^
>
>         [javac]   symbol:   class Nullability
>
>         [javac]   location: class JSType
>
>         [javac]
>
> /Users/carlosrovira/Dev/Royale/Source/royale-compiler/compiler-externc/src/test/java/org/apache/royale/compiler/internal/codegen/typedefs/TestConstructor.java:87:
>     error: cannot find symbol
>
>         [javac]
>  evaluateParam(FooOptVarArgs.getConstructor(),
>     "arg1").toAnnotationString(Nullability.EXPLICIT));
>
>         [javac]
>                               ^
>
>         [javac]   symbol:   variable Nullability
>
>         [javac]   location: class TestConstructor
>
>         [javac]
>
> /Users/carlosrovira/Dev/Royale/Source/royale-compiler/compiler-externc/src/test/java/org/apache/royale/compiler/internal/codegen/typedefs/TestConstructor.java:90:
>     error: cannot find symbol
>
>         [javac]
>  evaluateParam(FooOptVarArgs.getConstructor(),
>     "opt_arg2").toAnnotationString(Nullability.EXPLICIT));
>
>         [javac]
>                                   ^
>
>         [javac]   symbol:   variable Nullability
>
>         [javac]   location: class TestConstructor
>
>         [javac]
>
> /Users/carlosrovira/Dev/Royale/Source/royale-compiler/compiler-externc/src/test/java/org/apache/royale/compiler/internal/codegen/typedefs/TestConstructor.java:93:
>     error: cannot find symbol
>
>         [javac]
>  evaluateParam(FooOptVarArgs.getConstructor(),
>     "var_args").toAnnotationString(Nullability.EXPLICIT));
>
>         [javac]
>                                   ^
>
>         [javac]   symbol:   variable Nullability
>
>         [javac]   location: class TestConstructor
>
>         [javac] 4 errors
>
>
>     BUILD FAILED
>
>     /Users/carlosrovira/Dev/Royale/Source/royale-asjs/build.xml:1942: The
>     following error occurred while executing this line:
>
>     /Users/carlosrovira/Dev/Royale/Source/royale-asjs/build.xml:2029: The
>     following error occurred while executing this line:
>
>     /Users/carlosrovira/Dev/Royale/Source/royale-compiler/build.xml:67: The
>     following error occurred while executing this line:
>
>
> /Users/carlosrovira/Dev/Royale/Source/royale-compiler/compiler-externc/build.xml:140:
>     The following error occurred while executing this line:
>
>
> /Users/carlosrovira/Dev/Royale/Source/royale-compiler/compiler-externc/build.xml:145:
>     The following error occurred while executing this line:
>
>
> /Users/carlosrovira/Dev/Royale/Source/royale-compiler/compiler-externc/src/test/build.xml:60:
>     Compile failed; see the compiler error output for details.
>
>
>     Total time: 3 seconds
>
>     Error:Build stopped - build SDK with ANT
>
>     --
>     Carlos Rovira
>
> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7Cbda1726615804210c09b08d66c9c1c02%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636815815117460506&amp;sdata=%2BF782JxseaB1dky2SKaiV58nXkz%2FBZfbhDu6HiLUwM8%3D&amp;reserved=0
>
>
>

-- 
Carlos Rovira
http://about.me/carlosrovira

Re: Build SDK with ANT fails in test

Posted by Alex Harui <ah...@adobe.com.INVALID>.
The CI servers are building successfully.

Run "ant wipe-all" in royale-compiler, then "ant".

-Alex

On 12/28/18, 12:11 AM, "Carlos Rovira" <ca...@apache.org> wrote:

    Hi
    
    latest changes are still causing some problems in build. Can you point me
    to some flag I can use to avoid this tests when building SDK with ANT while
    this problems are fixed?
    thanks
    
    main:
    
        [mkdir] Created dir:
    /Users/carlosrovira/Dev/Royale/Source/royale-compiler/compiler-externc/target/junit-temp/externs
    
        [unjar] Expanding:
    /Users/carlosrovira/Dev/Royale/Source/royale-compiler/compiler-jx/lib/google/closure-compiler/compiler.jar
    into
    /Users/carlosrovira/Dev/Royale/Source/royale-compiler/compiler-externc/target/junit-temp/externs
    
        [unzip] Expanding:
    /Users/carlosrovira/Dev/Royale/Source/royale-compiler/compiler-externc/target/junit-temp/externs/externs.zip
    into
    /Users/carlosrovira/Dev/Royale/Source/royale-compiler/compiler-externc/target/downloads
    
    
    compile.unit.tests:
    
       [delete] Deleting directory
    /Users/carlosrovira/Dev/Royale/Source/royale-compiler/compiler-externc/target/test-classes
    
        [mkdir] Created dir:
    /Users/carlosrovira/Dev/Royale/Source/royale-compiler/compiler-externc/target/test-classes
    
         [copy] Copying 12 files to
    /Users/carlosrovira/Dev/Royale/Source/royale-compiler/compiler-externc/target/test-classes
    
        [javac] Compiling 15 source files to
    /Users/carlosrovira/Dev/Royale/Source/royale-compiler/compiler-externc/target/test-classes
    
        [javac]
    /Users/carlosrovira/Dev/Royale/Source/royale-compiler/compiler-externc/src/test/java/org/apache/royale/compiler/internal/codegen/typedefs/TestConstructor.java:33:
    error: cannot find symbol
    
        [javac] import com.google.javascript.rhino.jstype.JSType.Nullability;
    
        [javac]                                                 ^
    
        [javac]   symbol:   class Nullability
    
        [javac]   location: class JSType
    
        [javac]
    /Users/carlosrovira/Dev/Royale/Source/royale-compiler/compiler-externc/src/test/java/org/apache/royale/compiler/internal/codegen/typedefs/TestConstructor.java:87:
    error: cannot find symbol
    
        [javac]                 evaluateParam(FooOptVarArgs.getConstructor(),
    "arg1").toAnnotationString(Nullability.EXPLICIT));
    
        [javac]
                              ^
    
        [javac]   symbol:   variable Nullability
    
        [javac]   location: class TestConstructor
    
        [javac]
    /Users/carlosrovira/Dev/Royale/Source/royale-compiler/compiler-externc/src/test/java/org/apache/royale/compiler/internal/codegen/typedefs/TestConstructor.java:90:
    error: cannot find symbol
    
        [javac]                 evaluateParam(FooOptVarArgs.getConstructor(),
    "opt_arg2").toAnnotationString(Nullability.EXPLICIT));
    
        [javac]
                                  ^
    
        [javac]   symbol:   variable Nullability
    
        [javac]   location: class TestConstructor
    
        [javac]
    /Users/carlosrovira/Dev/Royale/Source/royale-compiler/compiler-externc/src/test/java/org/apache/royale/compiler/internal/codegen/typedefs/TestConstructor.java:93:
    error: cannot find symbol
    
        [javac]                 evaluateParam(FooOptVarArgs.getConstructor(),
    "var_args").toAnnotationString(Nullability.EXPLICIT));
    
        [javac]
                                  ^
    
        [javac]   symbol:   variable Nullability
    
        [javac]   location: class TestConstructor
    
        [javac] 4 errors
    
    
    BUILD FAILED
    
    /Users/carlosrovira/Dev/Royale/Source/royale-asjs/build.xml:1942: The
    following error occurred while executing this line:
    
    /Users/carlosrovira/Dev/Royale/Source/royale-asjs/build.xml:2029: The
    following error occurred while executing this line:
    
    /Users/carlosrovira/Dev/Royale/Source/royale-compiler/build.xml:67: The
    following error occurred while executing this line:
    
    /Users/carlosrovira/Dev/Royale/Source/royale-compiler/compiler-externc/build.xml:140:
    The following error occurred while executing this line:
    
    /Users/carlosrovira/Dev/Royale/Source/royale-compiler/compiler-externc/build.xml:145:
    The following error occurred while executing this line:
    
    /Users/carlosrovira/Dev/Royale/Source/royale-compiler/compiler-externc/src/test/build.xml:60:
    Compile failed; see the compiler error output for details.
    
    
    Total time: 3 seconds
    
    Error:Build stopped - build SDK with ANT
    
    -- 
    Carlos Rovira
    https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7Cbda1726615804210c09b08d66c9c1c02%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636815815117460506&amp;sdata=%2BF782JxseaB1dky2SKaiV58nXkz%2FBZfbhDu6HiLUwM8%3D&amp;reserved=0