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 <christofer.d...@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: omup...@gmail.com <omup...@gmail.com> im Auftrag von OmPrakash
> Muppirala <bigosma...@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
>

Reply via email to