ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scot P. Floess" <sflo...@nc.rr.com>
Subject Re: Gunzip error
Date Thu, 22 Jan 2009 19:36:36 GMT

That's wierd...

What about before the gunzip call do this:

     <exec  executable = "ls">
         <arg  line = "-la ${bundles.ASE}${compressedASE.AIX}"/>
     </exec>

     <gunzip...



On Thu, 22 Jan 2009, Faded-Maximus wrote:

>
> I really appreciate the help!
>
> Added the few lines you requested, it appears the GZ_EXISTS variable isn't
> set, so apparently the gzipped file isn't "available."
>
> But I don't know why it's not available, it physically is and the
> permissions seem to be okay..
>
>
> Scot P. Floess-2 wrote:
>>
>>
>> OK...so permissions not a problem - next ;)
>>
>> Hmm...interesting...
>>
>> What about prior to the gunzip call do this
>>
>> <target...
>>     ...
>>    <condition  property = "GZ_EXISTS">
>>       <available  file = "${bundles.ASE}${compressedASE.AIX}"/>
>>    </condition>
>>
>>    <echo  message = "EXISTS = ${GZ_EXISTS}"/>
>>
>>    <gunzip...
>> </target>
>>
>> On Thu, 22 Jan 2009, Faded-Maximus wrote:
>>
>>>
>>> doing ls -la on the gzip file, I have -rw-rw-r--
>>>
>>> All the parent directors show the following permissions: drwxrwxr-x
>>>
>>> Scot P. Floess-2 wrote:
>>>>
>>>>
>>>> What about permissions on the parent dir where the tgz is located?
>>>> Meaning write permissions for the build user?
>>>>
>>>> "If dest is omitted, the parent dir of src is taken."
>>>>
>>>> Can you do an "ls -la" on both the gzip file?  It does feel like read
>>>> permissions are not allowed...  Just wanting to make extra sure ;)
>>>>
>>>> Also...if you do an "ls -la" on 2 directories up from the tgz...what
>>>> does
>>>> the parent dir show as permissions?
>>>>
>>>>
>>>> On Thu, 22 Jan 2009, Faded-Maximus wrote:
>>>>
>>>>>
>>>>> It's not silly, sometimes things like that are indeed the problem. As
>>>>> for
>>>>> an
>>>>> answer, yes I am able to manually unzip it via the command line.
>>>>>
>>>>>
>>>>> Scot P. Floess-2 wrote:
>>>>>>
>>>>>>
>>>>>> OK - my silly question...
>>>>>>
>>>>>> From the command line can you manually gunzip it?
>>>>>>
>>>>>> On Thu, 22 Jan 2009, Faded-Maximus wrote:
>>>>>>
>>>>>>>
>>>>>>> Thanks for the reply. Yes, it has read and write permissions,
so it's
>>>>>>> not
>>>>>>> a
>>>>>>> permissions mistake.
>>>>>>>
>>>>>>> Dale Anson wrote:
>>>>>>>>
>>>>>>>> Does you build user have permission to read the file?
>>>>>>>>
>>>>>>>>
>>>>>>>> On Thu, Jan 22, 2009 at 9:51 AM, Faded-Maximus
>>>>>>>> <fadedmaximus@gmail.com>wrote:
>>>>>>>>
>>>>>>>>>
>>>>>>>>> I have been trying to figure this out for the last few
hours to no
>>>>>>>>> avail.
>>>>>>>>>
>>>>>>>>> The code works fine on my one linux account and after
editing a few
>>>>>>>>> variables and using it on the build account, I am receiving
an
>>>>>>>>> error
>>>>>>>>> message.
>>>>>>>>>
>>>>>>>>> [install]$ ant build.ASE
>>>>>>>>> Buildfile: build.xml
>>>>>>>>>
>>>>>>>>> tidy.ASE:
>>>>>>>>>     [echo] Cleaning the ASE folders...
>>>>>>>>>     [echo] The ASE folders have been cleaned.
>>>>>>>>>
>>>>>>>>> unzip.ASE:
>>>>>>>>>     [echo] Unzipping the ASE bundles...
>>>>>>>>>     [echo] DEBUG (location of .tgz)
>>>>>>>>> /users/build/main/release/AIX.tgz
>>>>>>>>>
>>>>>>>>> BUILD FAILED
>>>>>>>>> /users/build/build.xml:305: the archive doesn't
>>>>>>>>>  exist
>>>>>>>>>
>>>>>>>>> Total time: 0 seconds
>>>>>>>>>
>>>>>>>>> The code is as follows:
>>>>>>>>>
>>>>>>>>>        <target name="unzip.ASE" description="Unzips
Bundles.">
>>>>>>>>>                <echo message="Unzipping the ASE bundles..."
/>
>>>>>>>>>                <echo message="DEBUG (location of .tgz):
>>>>>>>>> ${bundles.ASE}${compressedASE.AIX}" />
>>>>>>>>>                  <gunzip src="${bundles.ASE}${compressedASE.AIX}"
>>>>>>>>> />
>>>>>>>>> ....
>>>>>>>>>
>>>>>>>>> This is where it's failing, with that error message.
The weird
>>>>>>>>> thing
>>>>>>>>> is
>>>>>>>>> the
>>>>>>>>> archive does physically exist in that location:
>>>>>>>>>
>>>>>>>>> [release]$ pwd
>>>>>>>>> /users/build/main/release
>>>>>>>>> [release]$ ls
>>>>>>>>> AIX.tgz          Linux.tgz
>>>>>>>>> [release]$
>>>>>>>>>
>>>>>>>>> Any ideas?
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> View this message in context:
>>>>>>>>> http://www.nabble.com/Gunzip-error-tp21608282p21608282.html
>>>>>>>>> Sent from the Ant - Users mailing list archive at Nabble.com.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ---------------------------------------------------------------------
>>>>>>>>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>>>>>>>>> For additional commands, e-mail: user-help@ant.apache.org
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> View this message in context:
>>>>>>> http://www.nabble.com/Gunzip-error-tp21608282p21609288.html
>>>>>>> Sent from the Ant - Users mailing list archive at Nabble.com.
>>>>>>>
>>>>>>>
>>>>>>> ---------------------------------------------------------------------
>>>>>>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>>>>>>> For additional commands, e-mail: user-help@ant.apache.org
>>>>>>>
>>>>>>>
>>
>>>>>>
>>>>>> Scot P. Floess
>>>>>> 27 Lake Royale
>>>>>> Louisburg, NC  27549
>>>>>>
>>>>>> 252-478-8087 (Home)
>>>>>> 919-754-4592 (Work)
>>>>>>
>>>>>> Chief Architect JPlate   http://sourceforge.net/projects/jplate
>>>>>> Chief Architect JavaPIM  http://sourceforge.net/projects/javapim
>>>>>>
>>>>>> Architect Keros          http://sourceforge.net/projects/keros
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>>>>>> For additional commands, e-mail: user-help@ant.apache.org
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>> --
>>>>> View this message in context:
>>>>> http://www.nabble.com/Gunzip-error-tp21608282p21610271.html
>>>>> Sent from the Ant - Users mailing list archive at Nabble.com.
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>>>>> For additional commands, e-mail: user-help@ant.apache.org
>>>>>
>>>>>
>>>>
>>>> Scot P. Floess
>>>> 27 Lake Royale
>>>> Louisburg, NC  27549
>>>>
>>>> 252-478-8087 (Home)
>>>> 919-754-4592 (Work)
>>>>
>>>> Chief Architect JPlate   http://sourceforge.net/projects/jplate
>>>> Chief Architect JavaPIM  http://sourceforge.net/projects/javapim
>>>>
>>>> Architect Keros          http://sourceforge.net/projects/keros
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>>>> For additional commands, e-mail: user-help@ant.apache.org
>>>>
>>>>
>>>>
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Gunzip-error-tp21608282p21610704.html
>>> Sent from the Ant - Users mailing list archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>>> For additional commands, e-mail: user-help@ant.apache.org
>>>
>>>
>>
>> Scot P. Floess
>> 27 Lake Royale
>> Louisburg, NC  27549
>>
>> 252-478-8087 (Home)
>> 919-754-4592 (Work)
>>
>> Chief Architect JPlate   http://sourceforge.net/projects/jplate
>> Chief Architect JavaPIM  http://sourceforge.net/projects/javapim
>>
>> Architect Keros          http://sourceforge.net/projects/keros
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>> For additional commands, e-mail: user-help@ant.apache.org
>>
>>
>>
>
> -- 
> View this message in context: http://www.nabble.com/Gunzip-error-tp21608282p21611117.html
> Sent from the Ant - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>

Scot P. Floess
27 Lake Royale
Louisburg, NC  27549

252-478-8087 (Home)
919-754-4592 (Work)

Chief Architect JPlate   http://sourceforge.net/projects/jplate
Chief Architect JavaPIM  http://sourceforge.net/projects/javapim

Architect Keros          http://sourceforge.net/projects/keros

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message