On 7/13/12 9 :01PM, "Jeffry Houser" <jef...@dot-com-it.com> wrote:

>
>  And I tried again 10-15 minutes later and it did not appear to trip up
>on this, so I can assume it was a temporary Internet or Server problem.
>
>On 7/13/2012 8:37 PM, Jeffry Houser wrote:
>>
>>  I am coming at building Apache Flex from a stance of a fair amount of
>> ignorance.  I spent a handful of hours downloading and setting up
>> pre-requisites ( ANT, Cygwin, etc.. ).
>>
>>  I'm making progress, but the latest error I'm receiving is below. If
>> I understand it is a download error.  I interpret this to mean that
>> either something is wrong with the file on the server or my connection
>> to the server, or.. ??
>>
>>
>> BUILD FAILED
>> 
>>C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.8.0-i
>>ncubati 
>>
>> ng-src\build.xml:115: The following error occurred while executing
>> this line:
>> 
>>C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.8.0-i
>>ncubati 
>>
>> ng-src\modules\build.xml:64: The following error occurred while
>> executing this l
>> ine:
>> 
>>C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.8.0-i
>>ncubati 
>>
>> ng-src\modules\downloads.xml:411: java.net.SocketException: Unexpected
>> end of fi
>> le from server
>>         at 
>> sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:727)
>>         at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:589)
>>         at 
>> sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:724)
>>         at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:589)
>>         at 
>> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
>> nection.java:1319)
>>         at 
>> java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:468
>> )
>>         at 
>> org.apache.tools.ant.taskdefs.Get$GetThread.openConnection(Get.java:6
>> 69)
>>         at 
>> org.apache.tools.ant.taskdefs.Get$GetThread.openConnection(Get.java:6
>> 84)
>>         at org.apache.tools.ant.taskdefs.Get$GetThread.get(Get.java:579)
>>         at org.apache.tools.ant.taskdefs.Get$GetThread.run(Get.java:569)
>>
>>
>>  Any ideas?

Not very pretty but as you've discovered if you get some kind of
connection error during the "thirdparty-downloads" phase you can just
execute the ant command again and it is smart enough to pick up where it
left off.

Definitely something we could improve going forward.

Carol

Reply via email to