You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by Jeffry Houser <je...@dot-com-it.com> on 2012/07/14 02:37:13 UTC
Building Apache Flex
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-incubati
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-incubati
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-incubati
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?
--
Jeffry Houser
Technical Entrepreneur
203-379-0773
--
http://www.flextras.com?c=104
UI Flex Components: Tested! Supported! Ready!
--
http://www.theflexshow.com
http://www.jeffryhouser.com
http://www.asktheflexpert.com
--
Part of the DotComIt Brain Trust
Re: Building Apache Flex
Posted by Igor Costa <ig...@gmail.com>.
Mostly related to server no the build.
----------------------------
Igor Costa
www.igorcosta.com
www.igorcosta.org
On Fri, Jul 13, 2012 at 10:01 PM, Jeffry Houser <je...@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-incubati
>>
>> 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-incubati
>>
>> 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-incubati
>>
>> 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?
>>
>>
>
> --
> Jeffry Houser
> Technical Entrepreneur
> 203-379-0773
> --
> http://www.flextras.com?c=104
> UI Flex Components: Tested! Supported! Ready!
> --
> http://www.theflexshow.com
> http://www.jeffryhouser.com
> http://www.asktheflexpert.com
> --
> Part of the DotComIt Brain Trust
>
>
Re: Building Apache Flex
Posted by Carol Frampton <cf...@adobe.com>.
On 7/13/12 9 :01PM, "Jeffry Houser" <je...@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
Re: Building Apache Flex
Posted by Jeffry Houser <je...@dot-com-it.com>.
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-incubati
>
> 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-incubati
>
> 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-incubati
>
> 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?
>
--
Jeffry Houser
Technical Entrepreneur
203-379-0773
--
http://www.flextras.com?c=104
UI Flex Components: Tested! Supported! Ready!
--
http://www.theflexshow.com
http://www.jeffryhouser.com
http://www.asktheflexpert.com
--
Part of the DotComIt Brain Trust