I was able to reproduce your situation.

I updated the build script to use the latest URL and it seemed to work for
me.  I think ant doesn't follow redirects all of the time.  Hopefully the
new URL is a more permanent home and not temporary.


On 4/30/13 11:46 AM, "Gordon Smith" <gosm...@adobe.com> wrote:

> I've been doing 'ant clean main' and I've verified that 'ant clean' by itself
> deletes that file (and the entire 'in' directory).
> 
> The console output is the same:
> 
> ...
> commons-jars:
> 
> javacc-jar-check:
> 
> javacc-jar:
> 
> download-zip:
> 
> get-zip:
>       [get] Getting:
> http://java.net/projects/javacc/downloads/download/javacc-5.0.tar.gz
>       [get] To: D:\asf\flex-sdk\in\javacc-5.0.tar.gz
> 
> check-sum:
> 
> untar-file:
> 
> BUILD FAILED
> D:\asf\flex-sdk\build.xml:128: The following error occurred while executing
> this line:
> D:\asf\flex-sdk\modules\build.xml:64: The following error occurred while
> executing this line:
> D:\asf\flex-sdk\modules\downloads.xml:399: The following error occurred while
> executing this line:
> D:\asf\flex-sdk\modules\downloads.xml:149: The following error occurred while
> executing this line:
> D:\asf\flex-sdk\modules\downloads.xml:189: Error while expanding
> D:\asf\flex-sdk\in\javacc-5.0.tar.gz
> 
> - Gordon
> 
> -----Original Message-----
> From: Alex Harui [mailto:aha...@adobe.com]
> Sent: Tuesday, April 30, 2013 11:10 AM
> To: dev@flex.apache.org
> Subject: Re: flex-sdk build failure
> 
> I assume you've manually deleted that 0 byte file before each attempt to
> build?  I've had bad downloads create a bad fail that doesn't have delete
> permissions.
> 
> What is the console output around that download now?  Is it the same as
> before?
> 
> 
> On 4/30/13 10:55 AM, "Gordon Smith" <gosm...@adobe.com> wrote:
> 
>> That doesn't seem to be the problem. I can download this file
>> manually. But Ant is downloading a 0 byte file. It must be a problem
>> in the Ant script. Is this a new addition?
>> 
>> - Gordon
>> 
>> -----Original Message-----
>> From: Alex Harui [mailto:aha...@adobe.com]
>> Sent: Monday, April 29, 2013 10:09 PM
>> To: dev@flex.apache.org
>> Subject: Re: flex-sdk build failure
>> 
>> I think every once in a while, that download fails for a while.  Maybe
>> that server goes off-line or something.
>> 
>> 
>> On 4/29/13 9:17 PM, "Gordon Smith" <gosm...@adobe.com> wrote:
>> 
>>> I get the following build failure doing 'ant clean main' in Cygwin:
>>> 
>>> 
>>> ...
>>> commons-jars:
>>> 
>>> javacc-jar-check:
>>> 
>>> javacc-jar:
>>> 
>>> download-zip:
>>> 
>>> get-zip:
>>>       [get] Getting:
>>> http://java.net/projects/javacc/downloads/download/javacc-5.0.tar.gz
>>>       [get] To: D:\asf\flex-sdk\in\javacc-5.0.tar.gz
>>> 
>>> check-sum:
>>> 
>>> untar-file:
>>> 
>>> BUILD FAILED
>>> D:\asf\flex-sdk\build.xml:128: The following error occurred while
>>> executing this line:
>>> D:\asf\flex-sdk\modules\build.xml:64: The following error occurred
>>> while executing this line:
>>> D:\asf\flex-sdk\modules\downloads.xml:399: The following error
>>> occurred while executing this line:
>>> D:\asf\flex-sdk\modules\downloads.xml:149: The following error
>>> occurred while executing this line:
>>> D:\asf\flex-sdk\modules\downloads.xml:189: Error while expanding
>>> D:\asf\flex-sdk\in\javacc-5.0.tar.gz
>>> 
>>> 
>>> Any ideas about why it can't expand javacc-5.0.tar.gz?
>>> 
>>> - Gordon
>> 
>> --
>> Alex Harui
>> Flex SDK Team
>> Adobe Systems, Inc.
>> http://blogs.adobe.com/aharui
>> 
> 
> --
> Alex Harui
> Flex SDK Team
> Adobe Systems, Inc.
> http://blogs.adobe.com/aharui
> 

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

Reply via email to