ra pas n'importe quel effet
légalement obligatoire. Étant donné que les email peuvent
facilement être sujets à la manipulation, nous ne pouvons accepter
aucune responsabilité pour le contenu fourni.
Subject: RE: Ant: want to copy a file if it exists
Date: Fri, 30 Jul 2010 08:43:30 -040
message sert à l'information seulement et n'aura pas n'importe
quel effet légalement obligatoire. Étant donné que les email peuvent facilement
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité
pour le contenu fourni.
> Subject: RE: Ant: want to cop
List
Subject: Re: Ant: want to copy a file if it exists
Use the 'available' task to check if a file exists. There is also an 'if' task
which is part of antcontrib that you can use to execute tasks conditionally
--- On Thu, 7/29/10, eric.w...@thomsonreuters.com
Just use .
will fail if the requested file does not exist.
mailto:eric.w...@thomsonreuters.com]
>Gesendet: Donnerstag, 29. Juli 2010 23:09
>An: user@ant.apache.org
>Betreff: Ant: want to copy a file if it exists
>
>I want to check to see if a file exist and if so then copy it
Use the 'available' task to check if a file exists. There is also an 'if' task
which is part of antcontrib that you can use to execute tasks conditionally
--- On Thu, 7/29/10, eric.w...@thomsonreuters.com
wrote:
From: eric.w...@thomsonreuters.com
Subject: Ant: want
I want to check to see if a file exist and if so then copy it. What is
the best way for performing this conditional task?
Thanks, eric
dtype=include&bug_id=&votes=&chfieldfrom=&chfieldto=Now&chfieldvalue=&field0-0-0=noop&type0-0-0=noop&value0-0-0=
> >for
> a list of open bugs in order of priority. Should be a good starting
> point if you want to contribute.
>
> Cheers
> Avlesh
&g
w&chfieldvalue=&field0-0-0=noop&type0-0-0=noop&value0-0-0=>for
a list of open bugs in order of priority. Should be a good starting
point if you want to contribute.
Cheers
Avlesh
On Mon, Jun 8, 2009 at 10:37 AM, divyanshu singh
wrote:
> hi everyone
>
> i am engineering s
hi everyone
i am engineering student and currently doing internship in IBM, this is
the first time i am using ant scripts, and i find it really good especially
for java developers
i am completely new to this but want to learn things and contribute to ant
scripts development can someone guide
ssarily endorse content contained within this transmission.
> Date: Fri, 20 Feb 2009 13:10:20 +0200
> Subject: I want to send (explicit) quiet output to the screen and (automatic)
> verbose output to a log file
> From: dylan.fa...@gmail.com
> To: user@ant.apache.org
>
&g
formation to
>various log files.
>
>This is all easy. I have written a couple of simple macros, which makes
it
>even easier and gives me more control.
>
>I want to know if there is an easy and automatic way to at the same
time as
>the above, send the automatically generated v
various log files.
This is all easy. I have written a couple of simple macros, which makes it
even easier and gives me more control.
I want to know if there is an easy and automatic way to at the same time as
the above, send the automatically generated verbose information to a log
file, without
Hi all,
Iam using ant war task to generate application war file.Iam able to include
all the directories and files needed from application folder,
but iam not able to include application folder itself. I found that out when
i inflated the war file i created i.e all the files in the war file are
inf
You could start another buildfile with these tasks:
Jan
>-Ursprüngliche Nachricht-
>Von: Gilbert Rebhan [mailto:[EMAIL PROTECTED]
>Gesendet: Freitag, 20. April 2007 20:21
>An: Ant Users List
>Betreff: Re: I want to ref to another build.xml and execute it
Hi,
Denis Bessmertnyj wrote:
Inside
you may even call a specific target with =
just have a look on the ant task as Sean already
mentioned =
http://ant.apache.org/manual/CoreTasks/ant.html
Regards, Gilbert
-
To unsubs
Hi there,
Have a look at the documentation
(http://ant.apache.org/manual/index.html)
Look at the "Ant" core task.
HTH Sean
-Original Message-
From: Denis Bessmertnyj [mailto:[EMAIL PROTECTED]
Sent: Friday, April 20, 2007 10:23 AM
To: Ant Users List
Subject: I want to ref
Inside thank you
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I would like to add checking to not process empty xml files (0 bytes) which
may be saved in my basedir.
Then use an explicit nested instead of a basedir, with a
file-size-based selector in the fileset. --DD
-
To unsubscribe, e
Hi,
I have following task in my build:
I would like to add checking to not process empty xml files (0 bytes) which
may be saved in my basedir.
ANT version 1.6.5
thanks in advance,
Adam.
--
View this message in context:
http://www.nabble.com/XSL-task%2C-I-want-to-not-process-empty-XML-file
So if I'm building a war or a jar and want to include
either or file.xml.prod as file.xml or file.xml.dev as file.xml how can I do
that?
Can a mapper help where by it translates the .prod to "" ie. chops it off when
appropriate.
I'm guessing that I cannot use mappers in a war
, Res Pons <[EMAIL PROTECTED]> wrote:
> Google and download Ant-Contrib to take advantage of the if-then-else
> feature.
>
> Original Message Follows
> From: "Shweta Bodade" <[EMAIL PROTECTED]>
> Reply-To: "Ant Users List"
> To: "Ant
Google and download Ant-Contrib to take advantage of the if-then-else
feature.
Original Message Follows
From: "Shweta Bodade" <[EMAIL PROTECTED]>
Reply-To: "Ant Users List"
To: "Ant Users List"
Subject: And I want to input two args at a time through
This example is quite similar to what you want to do. It offers the user a
choice of where to upload some files; the user can choose server Alpha as
the target of the upload, or server Beta, or both.
The upload target depends on the getserver task so the getserver task
executes first. The
Can I have multiple choices for deploying target
I mean if an input message is given on selecting between three choices
and I want to execute two of them one after the other
How can I do that
For eg
And I want to input two args at a time through console
Can you hlep me
gt; instance.
>
> You aren't understanding my problem. Of course I know how to call using
> different JDKs. The problem is finding these JDKs on the path in the first
> place. I want to find the JDKs on the path and pick the latest ones for 1.3,
> 1.4, etc.
I think you have to:
.
You aren't understanding my problem. Of course I know how to call
using different JDKs. The problem is finding these JDKs on the path in
the first place. I want to find the JDKs on the path and pick the
latest ones for 1.3, 1.4, etc.
. The problem is finding these JDKs on the path in the
first place. I want to find the JDKs on the path and pick the latest
ones for 1.3, 1.4, etc.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [
Sorry, misinterpreted your post.
-Original Message-
From: Scott Simpson [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 06, 2005 7:21 PM
To: user@ant.apache.org
Subject: Re: Want to build under multiple JDKs
Dick, Brian E. wrote:
> There is a java.version property. Maybe you can
Subject: Want to build under multiple JDKs
We have some Java code that I want to build under multiple JDKs in Ant.
I have both JDK 1.3 and JDK 1.4 installed and I need to build certain
code under each version of the JDK. Any suggestions? I was thinking I
might have to create a custom task to look
Dick, Brian E. wrote:
There is a java.version property. Maybe you can use that instead of
checking the PATH.
That won't work. I want to use two different JDKs in the same build. The
java.version property just tells me the one it found. This also implies
that I have to spawn the JDK as a sep
There is a java.version property. Maybe you can use that instead of
checking the PATH.
-Original Message-
From: Scott Simpson [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 06, 2005 6:42 PM
To: user@ant.apache.org
Subject: Want to build under multiple JDKs
We have some Java code
We have some Java code that I want to build under multiple JDKs in Ant.
I have both JDK 1.3 and JDK 1.4 installed and I need to build certain
code under each version of the JDK. Any suggestions? I was thinking I
might have to create a custom task to look down the PATH and find the
latest
32 matches
Mail list logo