You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by OmPrakash Muppirala <bi...@gmail.com> on 2016/03/19 11:30:09 UTC

Building FlexJS/Falcon

>
>
> But compiler.jx.tests needs "Ant extern.swcs" first so I think it is more
> like:
>
> ant clean (or wipe or wipe-all)
> cd compiler
> ant
> cd ../compiler.tests
> ant
> cd ../compiler.jx
> ant
> cd ..
> ant extern.swcs
> cd compiler.jx.tests
> ant
>

So, I am trying these steps to compile Falcon (to compile FlexJS)   In the
ant compiler.tests step, it is failing with this error:

Buildfile: C:\p\flexroot\git\flex-falcon\compiler.tests\build.xml

download:

prepare:

junit-jar-check:

junit-jar:

main:

compile.unit.tests:
    [mkdir] Created dir:
C:\p\flexroot\git\flex-falcon\compiler.tests\classes
    [javac] Compiling 71 source files to
C:\p\flexroot\git\flex-falcon\compiler.
tests\classes

unit.tests:
    [mkdir] Created dir:
C:\p\flexroot\git\flex-falcon\compiler.tests\results
    [junit] Running
org.apache.flex.compiler.internal.css.CSSArrayPropertyValueT
ests
    [junit] environment property - FLEX_HOME = C:\p\flexroot\git\flex-sdk
    [junit] environment property - PLAYERGLOBAL_HOME = C:\Program
Files\Adobe\Ad
obe Flash Builder 4.7 (64
Bit)\sdks\4.14.1_with_AIR_20Beta\frameworks\libs\playe
r
    [junit] environment property - PLAYERGLOBAL_VERSION = 11.1
    [junit] environment property - TLF_HOME = C:\p\flexroot\git\flex-tlf
    [junit] environment property - AIR_HOME = C:\Program Files\Adobe\Adobe
Flash
 Builder 4.7 (64 Bit)\sdks\4.14.1_with_AIR_20Beta
    [junit] environment property - FLASHPLAYER_DEBUGGER =
C:\p\flexroot\flash_pl
ayer_debugger\flashplayer_17_sa_debug.exe
    [junit] environment property - ASJS_HOME = C:\p\flexroot\git\flex-asjs
    [junit]
C:\p\flexroot\git\flex-falcon\compiler.tests\temp\CSSArrayPropertyVa
lueTests5327416715292952454.mxml(0): This tag could not be resolved to an
Action
Script class. It will be ignored.
    [junit]
C:\p\flexroot\git\flex-falcon\compiler.tests\temp\CSSArrayPropertyVa
lueTests4570695150001796803.mxml(0): This tag could not be resolved to an
Action
Script class. It will be ignored.
    [junit] Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed:
0.61
8 sec

BUILD FAILED
C:\p\flexroot\git\flex-falcon\compiler.tests\build.xml:103: Tests failed

Total time: 5 seconds


Any idea what's going wrong?

Thanks,
Om

AW: Building FlexJS/Falcon

Posted by Christofer Dutz <ch...@c-ware.de>.
But having updated my curruent ANT version and having run the build again I too am getting errors:

Ant build completed with 14 errors and 166 warnings in 2m 29s at 19.03.16, 12:38

Will investigate this. 

Chris
________________________________________
Von: Christofer Dutz <ch...@c-ware.de>
Gesendet: Samstag, 19. März 2016 11:49
An: dev@flex.apache.org
Betreff: AW: Building FlexJS/Falcon

Hi Om,

You might have to wrap the environment variables with double quotes as they have spaces in them.
Inside the build a lot of string-concatenation is done, and if they contain spaces they might mess up the command line.

Chris

________________________________________
Von: omuppi1@gmail.com <om...@gmail.com> im Auftrag von OmPrakash Muppirala <bi...@gmail.com>
Gesendet: Samstag, 19. März 2016 11:30
An: dev@flex.apache.org
Betreff: Building FlexJS/Falcon

>
>
> But compiler.jx.tests needs "Ant extern.swcs" first so I think it is more
> like:
>
> ant clean (or wipe or wipe-all)
> cd compiler
> ant
> cd ../compiler.tests
> ant
> cd ../compiler.jx
> ant
> cd ..
> ant extern.swcs
> cd compiler.jx.tests
> ant
>

So, I am trying these steps to compile Falcon (to compile FlexJS)   In the
ant compiler.tests step, it is failing with this error:

Buildfile: C:\p\flexroot\git\flex-falcon\compiler.tests\build.xml

download:

prepare:

junit-jar-check:

junit-jar:

main:

compile.unit.tests:
    [mkdir] Created dir:
C:\p\flexroot\git\flex-falcon\compiler.tests\classes
    [javac] Compiling 71 source files to
C:\p\flexroot\git\flex-falcon\compiler.
tests\classes

unit.tests:
    [mkdir] Created dir:
C:\p\flexroot\git\flex-falcon\compiler.tests\results
    [junit] Running
org.apache.flex.compiler.internal.css.CSSArrayPropertyValueT
ests
    [junit] environment property - FLEX_HOME = C:\p\flexroot\git\flex-sdk
    [junit] environment property - PLAYERGLOBAL_HOME = C:\Program
Files\Adobe\Ad
obe Flash Builder 4.7 (64
Bit)\sdks\4.14.1_with_AIR_20Beta\frameworks\libs\playe
r
    [junit] environment property - PLAYERGLOBAL_VERSION = 11.1
    [junit] environment property - TLF_HOME = C:\p\flexroot\git\flex-tlf
    [junit] environment property - AIR_HOME = C:\Program Files\Adobe\Adobe
Flash
 Builder 4.7 (64 Bit)\sdks\4.14.1_with_AIR_20Beta
    [junit] environment property - FLASHPLAYER_DEBUGGER =
C:\p\flexroot\flash_pl
ayer_debugger\flashplayer_17_sa_debug.exe
    [junit] environment property - ASJS_HOME = C:\p\flexroot\git\flex-asjs
    [junit]
C:\p\flexroot\git\flex-falcon\compiler.tests\temp\CSSArrayPropertyVa
lueTests5327416715292952454.mxml(0): This tag could not be resolved to an
Action
Script class. It will be ignored.
    [junit]
C:\p\flexroot\git\flex-falcon\compiler.tests\temp\CSSArrayPropertyVa
lueTests4570695150001796803.mxml(0): This tag could not be resolved to an
Action
Script class. It will be ignored.
    [junit] Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed:
0.61
8 sec

BUILD FAILED
C:\p\flexroot\git\flex-falcon\compiler.tests\build.xml:103: Tests failed

Total time: 5 seconds


Any idea what's going wrong?

Thanks,
Om

Re: Building FlexJS/Falcon

Posted by OmPrakash Muppirala <bi...@gmail.com>.
I figured out what the problem was.  I was using playerglobal.swc 21.0,
whereas 11.0 is hardcoded in compiler.tests build.xml.
I have applied a fix to the env-template.properties so others will
hopefully not run into this issue.

Thanks,
Om

On Sat, Mar 19, 2016 at 3:49 AM, Christofer Dutz <ch...@c-ware.de>
wrote:

> Hi Om,
>
> You might have to wrap the environment variables with double quotes as
> they have spaces in them.
> Inside the build a lot of string-concatenation is done, and if they
> contain spaces they might mess up the command line.
>
> Chris
>
> ________________________________________
> Von: omuppi1@gmail.com <om...@gmail.com> im Auftrag von OmPrakash
> Muppirala <bi...@gmail.com>
> Gesendet: Samstag, 19. März 2016 11:30
> An: dev@flex.apache.org
> Betreff: Building FlexJS/Falcon
>
> >
> >
> > But compiler.jx.tests needs "Ant extern.swcs" first so I think it is more
> > like:
> >
> > ant clean (or wipe or wipe-all)
> > cd compiler
> > ant
> > cd ../compiler.tests
> > ant
> > cd ../compiler.jx
> > ant
> > cd ..
> > ant extern.swcs
> > cd compiler.jx.tests
> > ant
> >
>
> So, I am trying these steps to compile Falcon (to compile FlexJS)   In the
> ant compiler.tests step, it is failing with this error:
>
> Buildfile: C:\p\flexroot\git\flex-falcon\compiler.tests\build.xml
>
> download:
>
> prepare:
>
> junit-jar-check:
>
> junit-jar:
>
> main:
>
> compile.unit.tests:
>     [mkdir] Created dir:
> C:\p\flexroot\git\flex-falcon\compiler.tests\classes
>     [javac] Compiling 71 source files to
> C:\p\flexroot\git\flex-falcon\compiler.
> tests\classes
>
> unit.tests:
>     [mkdir] Created dir:
> C:\p\flexroot\git\flex-falcon\compiler.tests\results
>     [junit] Running
> org.apache.flex.compiler.internal.css.CSSArrayPropertyValueT
> ests
>     [junit] environment property - FLEX_HOME = C:\p\flexroot\git\flex-sdk
>     [junit] environment property - PLAYERGLOBAL_HOME = C:\Program
> Files\Adobe\Ad
> obe Flash Builder 4.7 (64
> Bit)\sdks\4.14.1_with_AIR_20Beta\frameworks\libs\playe
> r
>     [junit] environment property - PLAYERGLOBAL_VERSION = 11.1
>     [junit] environment property - TLF_HOME = C:\p\flexroot\git\flex-tlf
>     [junit] environment property - AIR_HOME = C:\Program Files\Adobe\Adobe
> Flash
>  Builder 4.7 (64 Bit)\sdks\4.14.1_with_AIR_20Beta
>     [junit] environment property - FLASHPLAYER_DEBUGGER =
> C:\p\flexroot\flash_pl
> ayer_debugger\flashplayer_17_sa_debug.exe
>     [junit] environment property - ASJS_HOME = C:\p\flexroot\git\flex-asjs
>     [junit]
> C:\p\flexroot\git\flex-falcon\compiler.tests\temp\CSSArrayPropertyVa
> lueTests5327416715292952454.mxml(0): This tag could not be resolved to an
> Action
> Script class. It will be ignored.
>     [junit]
> C:\p\flexroot\git\flex-falcon\compiler.tests\temp\CSSArrayPropertyVa
> lueTests4570695150001796803.mxml(0): This tag could not be resolved to an
> Action
> Script class. It will be ignored.
>     [junit] Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed:
> 0.61
> 8 sec
>
> BUILD FAILED
> C:\p\flexroot\git\flex-falcon\compiler.tests\build.xml:103: Tests failed
>
> Total time: 5 seconds
>
>
> Any idea what's going wrong?
>
> Thanks,
> Om
>

AW: Building FlexJS/Falcon

Posted by Christofer Dutz <ch...@c-ware.de>.
Hi Om,

You might have to wrap the environment variables with double quotes as they have spaces in them.
Inside the build a lot of string-concatenation is done, and if they contain spaces they might mess up the command line.

Chris

________________________________________
Von: omuppi1@gmail.com <om...@gmail.com> im Auftrag von OmPrakash Muppirala <bi...@gmail.com>
Gesendet: Samstag, 19. März 2016 11:30
An: dev@flex.apache.org
Betreff: Building FlexJS/Falcon

>
>
> But compiler.jx.tests needs "Ant extern.swcs" first so I think it is more
> like:
>
> ant clean (or wipe or wipe-all)
> cd compiler
> ant
> cd ../compiler.tests
> ant
> cd ../compiler.jx
> ant
> cd ..
> ant extern.swcs
> cd compiler.jx.tests
> ant
>

So, I am trying these steps to compile Falcon (to compile FlexJS)   In the
ant compiler.tests step, it is failing with this error:

Buildfile: C:\p\flexroot\git\flex-falcon\compiler.tests\build.xml

download:

prepare:

junit-jar-check:

junit-jar:

main:

compile.unit.tests:
    [mkdir] Created dir:
C:\p\flexroot\git\flex-falcon\compiler.tests\classes
    [javac] Compiling 71 source files to
C:\p\flexroot\git\flex-falcon\compiler.
tests\classes

unit.tests:
    [mkdir] Created dir:
C:\p\flexroot\git\flex-falcon\compiler.tests\results
    [junit] Running
org.apache.flex.compiler.internal.css.CSSArrayPropertyValueT
ests
    [junit] environment property - FLEX_HOME = C:\p\flexroot\git\flex-sdk
    [junit] environment property - PLAYERGLOBAL_HOME = C:\Program
Files\Adobe\Ad
obe Flash Builder 4.7 (64
Bit)\sdks\4.14.1_with_AIR_20Beta\frameworks\libs\playe
r
    [junit] environment property - PLAYERGLOBAL_VERSION = 11.1
    [junit] environment property - TLF_HOME = C:\p\flexroot\git\flex-tlf
    [junit] environment property - AIR_HOME = C:\Program Files\Adobe\Adobe
Flash
 Builder 4.7 (64 Bit)\sdks\4.14.1_with_AIR_20Beta
    [junit] environment property - FLASHPLAYER_DEBUGGER =
C:\p\flexroot\flash_pl
ayer_debugger\flashplayer_17_sa_debug.exe
    [junit] environment property - ASJS_HOME = C:\p\flexroot\git\flex-asjs
    [junit]
C:\p\flexroot\git\flex-falcon\compiler.tests\temp\CSSArrayPropertyVa
lueTests5327416715292952454.mxml(0): This tag could not be resolved to an
Action
Script class. It will be ignored.
    [junit]
C:\p\flexroot\git\flex-falcon\compiler.tests\temp\CSSArrayPropertyVa
lueTests4570695150001796803.mxml(0): This tag could not be resolved to an
Action
Script class. It will be ignored.
    [junit] Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed:
0.61
8 sec

BUILD FAILED
C:\p\flexroot\git\flex-falcon\compiler.tests\build.xml:103: Tests failed

Total time: 5 seconds


Any idea what's going wrong?

Thanks,
Om