Wow...
Try a smaller file...see what happens :)
On Thu, 22 Jan 2009, Faded-Maximus wrote:
Doesn't seem to like either .tgz or .tar.gz. The filesize is ~300MB.
glenn opdycke-hansen wrote:
Could there be an issue with the file name, especially the extension?
(.tgz
vs .tar.gz)
Also, I have noted that there is a problem with large archive files.
--glenn
On Thu, Jan 22, 2009 at 1:49 PM, Faded-Maximus
<fadedmaxi...@gmail.com>wrote:
After adding the ls -la command:
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 the .tgz) :
/users/build/main/release/AIX.tgz
[exec] -rw-rw-r-- 1 build build 313387257 Jan 22 10:50 /users/bu
ild/main/release/AIX.tgz
BUILD FAILED
/lrap7bld1/users/build/p4depot/FM/RAP/install/build.xml:311: the archive
doesn't
exist
One workaround I was thinking was just to tar -zxvf the file in the
directory since the commandline sees it, (but apparently ANT doesn't?)
and
do the remainder of the work I have to do... but then when I try to
repackage it in that location I presume it is going to cause errors
again...
Scot P. Floess-2 wrote:
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
<fadedmaxi...@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-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@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-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@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-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@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-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@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-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@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-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@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-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@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-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@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-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org
--
View this message in context:
http://www.nabble.com/Gunzip-error-tp21608282p21611747.html
Sent from the Ant - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org
--
View this message in context:
http://www.nabble.com/Gunzip-error-tp21608282p21613073.html
Sent from the Ant - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@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-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org