I didn't notice, maybe there is.

If there is then great. :)

I think now that I have looked with word wrap below, the FlashPlayer.exe is not getting copied to the temp dir when running the falcon tests. It seems only the functional tests are failing and that is why.

I can build falcon fine now. Its just I don't like the fact I had to build the sdk to get the compiler. But if there is a subtask I can run just to get compiler.jar, then I am an idiot and need to open my eyes.

Mike


Quoting Alex Harui <aha...@adobe.com>:

If you only want the jar and not run tests, I thought there was a sub-task
you could run.


On 3/17/13 7:59 AM, "Michael Schmalle" <apa...@teotigraphix.com> wrote:

Here is a stack trace when running the build of compiler.tests




    [junit] 2086 bytes written to
C:\Users\Work\Documents\git-apache\flex-falcon\compiler.tests\temp\MXMLPropert
yStringTests1425684253960474506.swf in 0.305
seconds
     [junit] java.io.IOException: Cannot run program
"C:\Users\Work\Documents\git-apache\flex-falcon\compiler.tests\temp\FlashPlaye
r.exe": CreateProcess error=2, The system cannot find the file
specified
     [junit]  at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
     [junit]  at java.lang.Runtime.exec(Runtime.java:593)
     [junit]  at java.lang.Runtime.exec(Runtime.java:466)
[junit] at mxml.tags.MXMLFeatureTestsBase.compileAndRun(Unknown Source)
     [junit]  at
properties.MXMLPropertyStringTests.MXMLPropertyStringTests_tag_text(Unknown
Source)
     [junit]  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [junit]  at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     [junit]  at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.j
ava:25)
     [junit]  at java.lang.reflect.Method.invoke(Method.java:597)
     [junit]  at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.ja
va:45)
     [junit]  at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.jav
a:15)
     [junit]  at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java
:42)
     [junit]  at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:
20)
[junit] at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
     [junit]  at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:
68)
     [junit]  at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:
47)
     [junit]  at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
     [junit]  at
org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
     [junit]  at
org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
     [junit]  at
org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
     [junit]  at
org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
     [junit]  at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
     [junit]  at
junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)
     [junit]  at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunn
er.java:518)
     [junit]  at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestR
unner.java:1052)
     [junit]  at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRun
ner.java:879)
     [junit] Caused by: java.io.IOException: CreateProcess error=2,
The system cannot find the file specified
     [junit]  at java.lang.ProcessImpl.create(Native Method)
     [junit]  at java.lang.ProcessImpl.<init>(ProcessImpl.java:81)
     [junit]  at java.lang.ProcessImpl.start(ProcessImpl.java:30)
     [junit]  at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
     [junit]  ... 25 more
     [junit] java.io.IOException: Cannot run program
"C:\Users\Work\Documents\git-apache\flex-falcon\compiler.tests\temp\FlashPlaye
r.exe": CreateProcess error=2, The system cannot find the file
specified
     [junit] 2098 bytes written to
C:\Users\Work\Documents\git-apache\flex-falcon\compiler.tests\temp\MXMLPropert
yStringTests5287004435668676379.swf in 0.356
seconds
     [junit]  at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
     [junit]  at java.lang.Runtime.exec(Runtime.java:593)
     [junit]  at java.lang.Runtime.exec(Runtime.java:466)
[junit] at mxml.tags.MXMLFeatureTestsBase.compileAndRun(Unknown Source)
     [junit]  at
properties.MXMLPropertyStringTests.MXMLPropertyStringTests_tag_tag(Unknown
Source)
     [junit]  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [junit]  at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     [junit]  at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.j
ava:25)
     [junit]  at java.lang.reflect.Method.invoke(Method.java:597)
     [junit]  at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.ja
va:45)
     [junit]  at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.jav
a:15)
     [junit]  at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java
:42)
     [junit]  at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:
20)
[junit] at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
     [junit]  at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:
68)
     [junit]  at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:
47)
     [junit]  at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
     [junit]  at
org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
     [junit]  at
org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
     [junit]  at
org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
     [junit]  at
org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
     [junit]  at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
     [junit]  at
junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)
     [junit]  at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunn
er.java:518)





Quoting Michael Schmalle <apa...@teotigraphix.com>:

On this note;

I have done my duty...

I can confirm all tests pass int eh falcon.jx.tests except the 4
that depend on flexjs.

So I'm good to go other than the text layout barf.

Falcon was successfully built as well after my half ass attempt at the sdk.

All the tests that don't depend on swfs passed for falcon but the
rest did a horrible death with file not found. Not going to worry
about this. I don't understand how this stuff messes up if the build
files are correct.

Mike

Quoting Michael Schmalle <apa...@teotigraphix.com>:


Hey,

I have managed to build Falcon after a half ass attempt to build
the sdk, which failed at text layout or something, don't know the
build went for 45 minutes then died, looks like it built most.

But for falcon, we still have;

<property name="sdk.branch"
value="${compiler}/../../../sdk/branches/develop"/>

I had to change it to;

<property name="sdk.branch" value="${compiler}/../../flex-sdk"/>

I have all the repos side by side, Erik how did you get all this
stuff to build? Did you recreate the old directory structure?

These build files are way to brittle for my taste.

Mike

--
Michael Schmalle - Teoti Graphix, LLC
http://www.teotigraphix.com
http://blog.teotigraphix.com



--
Michael Schmalle - Teoti Graphix, LLC
http://www.teotigraphix.com
http://blog.teotigraphix.com



--
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui



--
Michael Schmalle - Teoti Graphix, LLC
http://www.teotigraphix.com
http://blog.teotigraphix.com

Reply via email to