Hi,
Is there a task in Ant that I can check if the file exists in myfile.tar.gz
file without extracting it?
Here is the content of myfile.tar.gz after extracted.
Dir1/
fileA
fileB
dir2/
fileC
I want to check if fileC exists in myfile.tar.gz without extracting
myfile.tar.gz. is
thanks Nicolas. I'll look into it.
2011/5/7 Nicolas Lalevée
> I think this kind of condition will do the proper job:
>
>
>
>
>
>
>
>
>
> Nicolas
>
> Le 6 mai 2011 à 19:14, Matt Benson a écrit :
>
> > On
Hi,
Is there a task in Ant that I can check if the file exists in myfile.tar.gz
file without extracting it?
Here is the content of myfile.tar.gz after extracted.
Dir1/
fileA
fileB
dir2/
fileC
I want to check if fileC exists in myfile.tar.gz without extracting
myfile.tar.gz. is
Hi,
I am trying to run a java command using exec task in ant.
I ran into the error because one of the java command argument has space between.
Any idea? Please help.
Thanks,
Here is my ant task in build.xml file:
I will have it ready for you today.
Testing it
-Original Message-
From: Mark Salter [mailto:[EMAIL PROTECTED]
Sent: Sunday, November 16, 2008 2:47 AM
To: Ant Users List
Subject: Re: AW: AW: token filtering
Rez wrote:
> That's what we really need, more examples. Some
> of the current e
It worked. thanks
-Original Message-
From: Matt Benson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 07, 2008 11:03 AM
To: Ant Users List
Subject: RE: find file in specify directory and its sub-directory
pathsep="${line.separator}"
--- Ben Tu <[EMAIL PROTECTED]>
AM
To: Ant Users List
Subject: Re: find file in specify directory and its sub-directory
Are your sed commands trying to strip off the leading
./ , then escape dollar signs found? If so, the
second probably wouldn't be relevant:
Something like that?
HTH,
Matt
--- Ben Tu <[EMAIL P
-directory
You might check the resourcecount target
On Tue, 7 Oct 2008, Ben Tu wrote:
> Hi,
> I would like to accomplish the similar task below in ant script.
> Does anyone know how?
>
> find . -name '*.class' | sed -e 's/^.\///g' -e '
Hi,
I would like to accomplish the similar task below in ant script.
Does anyone know how?
find . -name '*.class' | sed -e 's/^.\///g' -e 's/\$/\\\$/g' | sort > log.txt
thanks
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addi