I left my windows machine at the office.  I think I'm on 1.8 or so.  But I
do recall documentation on ant about whether it follows redirects or not.


On 4/30/13 3:07 PM, "Gordon Smith" <gosm...@adobe.com> wrote:

> That URL works for me. Thanks.
> 
> What version of Ant are you using on Windows? I'm using 1.7.1.
> 
> - Gordon
> 
> -----Original Message-----
> From: Alex Harui [mailto:aha...@adobe.com]
> Sent: Tuesday, April 30, 2013 2:39 PM
> To: dev@flex.apache.org
> Subject: Re: flex-sdk build failure
> 
> For me, there is a third [get] line that says ".... moved to ...."
> 
> Try changing the URL to https://java.net/downloads/javacc/javacc-5.0.tar.gz
> 
> I'm wondering if your cygwin or ant setup prevents redirects.
> 
> On 4/30/13 2:33 PM, "Gordon Smith" <gosm...@adobe.com> wrote:
> 
>>> And then an error?
>> 
>> Yes, the same error, because the file is 0 bytes. The output is below.
>> 
>>> Did you get a redirect in the console?
>> 
>> I don't think so. How does it show up?
>> 
>> - Gordon
>> 
>> javacc-jar-check:
>> 
>> javacc-jar:
>> 
>> download-zip:
>> 
>> get-zip:
>>       [get] Getting: http://java.net/downloads/javacc/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
>> 
>> -----Original Message-----
>> From: Alex Harui [mailto:aha...@adobe.com]
>> Sent: Tuesday, April 30, 2013 2:30 PM
>> To: dev@flex.apache.org
>> Subject: Re: flex-sdk build failure
>> 
>> And then an error?
>> 
>> I noticed that I still didn't get the URL quite right.  Did you get a
>> redirect in the console?  Try fixing the URL so there is no redirect.
>> 
>> 
>> On 4/30/13 2:25 PM, "Gordon Smith" <gosm...@adobe.com> wrote:
>> 
>>>  [get] Getting: http://java.net/downloads/javacc/javacc-5.0.tar.gz
>>> 
>>> - Gordon
>>> 
>>> -----Original Message-----
>>> From: Alex Harui [mailto:aha...@adobe.com]
>>> Sent: Tuesday, April 30, 2013 2:16 PM
>>> To: dev@flex.apache.org
>>> Subject: Re: flex-sdk build failure
>>> 
>>> Cygwin.  I changed the download url for javacc, what is it reporting
>>> now in your console?
>>> 
>>> 
>>> On 4/30/13 2:06 PM, "Gordon Smith" <gosm...@adobe.com> wrote:
>>> 
>>>> Windows with Command Prompt or Windows with Cygwin?
>>>> 
>>>> - Gordon
>>>> 
>>>> -----Original Message-----
>>>> From: Alex Harui [mailto:aha...@adobe.com]
>>>> Sent: Tuesday, April 30, 2013 1:36 PM
>>>> To: dev@flex.apache.org
>>>> Subject: Re: flex-sdk build failure
>>>> 
>>>> I ran on Windows.  It is still building, but it downloaded javacc
>>>> correctly.
>>>> 
>>>> 
>>>> On 4/30/13 12:54 PM, "Alex Harui" <aha...@adobe.com> wrote:
>>>> 
>>>>> No, I'm on mac.
>>>>> 
>>>>> 
>>>>> On 4/30/13 12:49 PM, "Gordon Smith" <gosm...@adobe.com> wrote:
>>>>> 
>>>>>> I had the same problem after pulling your change. Do you use Cygwin?
>>>>>> 
>>>>>> - Gordon
>>>>>> 
>>>>>> 
>>>>>> -----Original Message-----
>>>>>> From: Alex Harui [mailto:aha...@adobe.com]
>>>>>> Sent: Tuesday, April 30, 2013 12:16 PM
>>>>>> To: dev@flex.apache.org
>>>>>> Subject: Re: flex-sdk build failure
>>>>>> 
>>>>>> 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
>>>>>> 
>>>> 
>>>> --
>>>> 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
>> 
> 
> --
> 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