On Oct 20, 2015, at 6:29 PM, Alex Harui <aha...@adobe.com> wrote:

>> I’m now getting to the point of expanding the FalconJX nightly where it
>> fails:
> 
> Is it possible you simply got a bad download?  I guess I will take the
> time to add an MD5 check on the download.  When you get an error, please
> try to provide a bit more (or the entire) console log so I have a bit more
> context to work from.  There could be a redirect or a funky URL resolution
> earlier in the log that resulted in something other than a zip being
> downloaded.

It does seem like I got a bad download. The zip would not expand manually 
either.

I just ran the script again, and it got much further. (more below)

> 
> On 10/20/15, 4:14 AM, "Harbs" <harbs.li...@gmail.com> wrote:
> 
>> It looks like the script requires a number of other env vars setup:
>> FALCONJX_HOME
>> GOOG_HOME
>> etc.
>> 
>> Can I suggest that the script checks for ALL env vars at the start of the
>> script so all missing vars are discovered right away?
>> 
> 
> 
> In theory, FALCONJX_HOME and GOOG_HOME are now optional.  Did you get an
> error?  If so, please provide the console output.

I did get an error, but I’m not getting it now. I don’t remember exactly what 
the error was. Odd. Restarting Terminal made no difference. I wonder if 
restarting my computer would.

> On 10/20/15, 3:52 AM, "Harbs" <harbs.li...@gmail.com> wrote:
> 
>> The script looks kind of odd to me. Why is it testing for both a
>> directory and file? (or am I not understanding it)
>> 
>>   <available file="${env.FLASHPLAYER_DEBUGGER}"
>>       type="dir"
>>       property="FLASHPLAYER_DEBUGGER"
>> value="${env.FLASHPLAYER_DEBUGGER}" />
>> 
>>   <available file="${env.FLASHPLAYER_DEBUGGER}"
>>       type="file"
>>       property="FLASHPLAYER_DEBUGGER"
>> value="${env.FLASHPLAYER_DEBUGGER}" />
>> 
> 
> I guess I incorrectly thought that on Mac it could point to the .app
> folder.  I will fix the script.

I’m not sure. My path was simply wrong. Don’t make assumptions based on what I 
wrote.

> 
> On 10/20/15, 3:45 AM, "Harbs" <harbs.li...@gmail.com> wrote:
> 
>> It seems like the problem was that I did not have ant specified in the
>> ANT_HOME path. Odd. I thought it should be the parent directory.
>> 
> 
> 
> In case it helps others, what did you finally set it to?  I’m also curious
> about why your computer wasn’t already set up with ANT_HOME and
> FLASHPLAYER_DEBUGGER given that you’ve been running at least TLF builds
> and probably SDK builds as well.

I have an env.properties file which has these definitions:
env.AIR_HOME=/Users/harbs/Documents/ApacheFlex/frameworks/AIRSDK_Compiler
env.FLASHPLAYER_DEBUGGER=/Users/harbs/Documents/ApacheFlex/frameworks/Flash 
Player Debugger.app/Contents/MacOS/Flash Player Debugger
env.PLAYERGLOBAL_HOME=/Users/harbs/Documents/ApacheFlex/frameworks/libs/player

To get ANT_HOME to work, I set it to:
export ANT_HOME=/usr/local/bin/ant

Originally, I assumed it needed to point to the parent folder and set it to:
export ANT_HOME=/usr/local/bin

The above is just a link. The original is here on my system:
/usr/local/Cellar/ant/1.9.4/libexec/bin/ant

The same comments about the parent folder apply.

I’m now getting an error here:

Core:

clean:

compile:
Compiling libs/Core.swc
FLEX_HOME: 
/Users/harbs/Documents/ApacheFlex/FlexJS0.5.0/apache-flex-flexjs-0.5.0-src
FALCON_HOME: 
/Users/harbs/Documents/ApacheFlex/FlexJS0.5.0/falconjx/compiler/generated/dist/sdk
Created dir: 
/Users/harbs/Documents/ApacheFlex/FlexJS0.5.0/apache-flex-flexjs-0.5.0-src/frameworks/projects/Core/js/out
Loading configuration: 
/Users/harbs/Documents/ApacheFlex/FlexJS0.5.0/apache-flex-flexjs-0.5.0-src/frameworks/projects/Core/compile-config.xml

409131 bytes written to 
/Users/harbs/Documents/ApacheFlex/FlexJS0.5.0/apache-flex-flexjs-0.5.0-src/frameworks/libs/Core.swc
 in 3.699 seconds

test:

clean:

compile:
Compiling FlexUnitFlexJSApplication.swf
FLEX_HOME: 
/Users/harbs/Documents/ApacheFlex/FlexJS0.5.0/apache-flex-flexjs-0.5.0-src
FALCON_HOME: 
/Users/harbs/Documents/ApacheFlex/FlexJS0.5.0/falconjx/compiler/generated/dist/sdk
FLEXUNIT_HOME: /Users/harbs/Documents/ApacheFlex/flex-flexunit
Loading configuration: 
/Users/harbs/Documents/ApacheFlex/FlexJS0.5.0/apache-flex-flexjs-0.5.0-src/frameworks/flex-config.xml

135896 bytes written to 
/Users/harbs/Documents/ApacheFlex/FlexJS0.5.0/apache-flex-flexjs-0.5.0-src/frameworks/projects/Core/as/tests/FlexUnitFlexJSApplication.swf
 in 3.713 seconds
/Users/harbs/Documents/ApacheFlex/flex-flexunit/FlexUnit4/target/flexunit-4.3.0-20140410-as3_4.12.0.swc
Warning: The definition mx.utils.ObjectUtil depended on by 
org.flexunit.runner.Description in the SWC 
/Users/harbs/Documents/ApacheFlex/flex-flexunit/FlexUnit4/target/flexunit-4.3.0-20140410-as3_4.12.0.swc
 could not be found

/Users/harbs/Documents/ApacheFlex/flex-flexunit/FlexUnit4/target/flexunit-4.3.0-20140410-as3_4.12.0.swc
Warning: The definition mx.utils.StringUtil depended on by 
flexunit.framework.AsyncTestHelper in the SWC 
/Users/harbs/Documents/ApacheFlex/flex-flexunit/FlexUnit4/target/flexunit-4.3.0-20140410-as3_4.12.0.swc
 could not be found

/Users/harbs/Documents/ApacheFlex/flex-flexunit/FlexUnit4/target/flexunit-4.3.0-20140410-as3_4.12.0.swc
Warning: The definition mx.utils.ObjectUtil depended on by 
flexunit.framework.Assert in the SWC 
/Users/harbs/Documents/ApacheFlex/flex-flexunit/FlexUnit4/target/flexunit-4.3.0-20140410-as3_4.12.0.swc
 could not be found

/Users/harbs/Documents/ApacheFlex/flex-flexunit/FlexUnit4/target/flexunit-4.3.0-20140410-as3_4.12.0.swc
Warning: The definition mx.utils.StringUtil depended on by 
flexunit.framework.Assert in the SWC 
/Users/harbs/Documents/ApacheFlex/flex-flexunit/FlexUnit4/target/flexunit-4.3.0-20140410-as3_4.12.0.swc
 could not be found


test:
Created dir: 
/Users/harbs/Documents/ApacheFlex/FlexJS0.5.0/apache-flex-flexjs-0.5.0-src/frameworks/projects/Core/as/tests/out
Validating task attributes ...
Generating default values ...
Using the following settings for the test run:
        FLEX_HOME: 
[/Users/harbs/Documents/ApacheFlex/FlexJS0.5.0/apache-flex-flexjs-0.5.0-src]
        haltonfailure: [false]
        headless: [false]
        display: [99]
        localTrusted: [true]
        player: [flash]
        command: [/Applications/Safari.app/Contents/MacOS/Safari]
        port: [1024]
        swf: 
[/Users/harbs/Documents/ApacheFlex/FlexJS0.5.0/apache-flex-flexjs-0.5.0-src/frameworks/projects/Core/as/tests/FlexUnitFlexJSApplication.swf]
        timeout: [90000ms]
        toDir: 
[/Users/harbs/Documents/ApacheFlex/FlexJS0.5.0/apache-flex-flexjs-0.5.0-src/frameworks/projects/Core/as/tests/out]
Setting up server process ...
Starting server ...
Opening server socket on port [1024].
Waiting for client connection ...
Entry 
[/Users/harbs/Documents/ApacheFlex/FlexJS0.5.0/apache-flex-flexjs-0.5.0-src/frameworks/projects/Core/as/tests]
 already available in local trust file at 
[/Users/harbs/Library/Preferences/Macromedia/Flash 
Player/#Security/FlashPlayerTrust/flexUnit.cfg].
Executing '/Applications/Safari.app/Contents/MacOS/Safari' with arguments:
'/Users/harbs/Documents/ApacheFlex/FlexJS0.5.0/apache-flex-flexjs-0.5.0-src/frameworks/projects/Core/as/tests/FlexUnitFlexJSApplication.swf'

The ' characters around the executable and arguments are
not part of the command.


Stopping server ...
End of test data reached, sending acknowledgement to player ...
Closing client connection ...
Closing server on port [1024] ...

BUILD FAILED
/Users/harbs/Documents/ApacheFlex/FlexJS0.5.0/ApproveFlexJS.xml:381: The 
following error occurred while executing this line:
/Users/harbs/Documents/ApacheFlex/FlexJS0.5.0/apache-flex-flexjs-0.5.0-src/build.xml:431:
 The following error occurred while executing this line:
/Users/harbs/Documents/ApacheFlex/FlexJS0.5.0/apache-flex-flexjs-0.5.0-src/frameworks/build.xml:79:
 The following error occurred while executing this line:
/Users/harbs/Documents/ApacheFlex/FlexJS0.5.0/apache-flex-flexjs-0.5.0-src/frameworks/build.xml:225:
 The following error occurred while executing this line:
/Users/harbs/Documents/ApacheFlex/FlexJS0.5.0/apache-flex-flexjs-0.5.0-src/frameworks/projects/Core/build.xml:44:
 The following error occurred while executing this line:
/Users/harbs/Documents/ApacheFlex/FlexJS0.5.0/apache-flex-flexjs-0.5.0-src/frameworks/projects/Core/as/tests/build.xml:150:
 java.util.concurrent.ExecutionException: Socket timeout waiting for flexunit 
report
        at java.util.concurrent.FutureTask.report(FutureTask.java:122)
        at java.util.concurrent.FutureTask.get(FutureTask.java:188)
        at org.flexunit.ant.tasks.TestRun.run(Unknown Source)
        at org.flexunit.ant.tasks.FlexUnitTask.execute(Unknown Source)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at 
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:435)
        at org.apache.tools.ant.Target.performTasks(Target.java:456)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
        at 
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1248)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:441)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at 
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:435)
        at org.apache.tools.ant.Target.performTasks(Target.java:456)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
        at 
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1248)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:441)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at 
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:435)
        at org.apache.tools.ant.Target.performTasks(Target.java:456)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
        at 
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1248)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:441)
        at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at 
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:435)
        at org.apache.tools.ant.Target.performTasks(Target.java:456)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
        at 
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1248)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:441)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at 
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:435)
        at org.apache.tools.ant.Target.performTasks(Target.java:456)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
        at 
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1248)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:441)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at 
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:435)
        at org.apache.tools.ant.Target.performTasks(Target.java:456)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
        at 
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1248)
        at org.apache.tools.ant.Main.runBuild(Main.java:851)
        at org.apache.tools.ant.Main.startAnt(Main.java:235)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Caused by: Socket timeout waiting for flexunit report
        at org.flexunit.ant.FlexUnitSocketServer.start(Unknown Source)
        at org.flexunit.ant.FlexUnitSocketThread.call(Unknown Source)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.net.SocketTimeoutException: Accept timed out
        at java.net.PlainSocketImpl.socketAccept(Native Method)
        at 
java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:398)
        at java.net.ServerSocket.implAccept(ServerSocket.java:530)
        at java.net.ServerSocket.accept(ServerSocket.java:498)
        at org.flexunit.ant.FlexUnitSocketServer.openClientSocket(Unknown 
Source)
        ... 6 more

Total time: 9 minutes 4 seconds

Reply via email to