Use " to replace double quotation marks in Ant strings.
On 8/17/07, Krzysztof Kucybała <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have a problem. I'm trying to have ant substitute something in a few
> files. Here's the sample:
>
> <
> replaceregexp
> file="${artifactsdir}/${label}/${env}/src/include/c
I haven't been monitoring this thread very closely, but if I'm not off
base, the following points may explain some of what you are seeing. I'm
not a TCP expert, but have been burned in the past and had to learn the
following the hard way.
-- When you "close" a socket, it actually remains in a
This doesn't work either :o(
To show the bigger picture, I have a line in a php file, that looks like
this:
// Choose your wassup host
define("WS_WASSUPHOST", "somehost.somedomain.net");
during build I need to be able to substitute this
somehost.somedomain.net with another one that comes fro
yes, that is where I placed those files. Still get that error, but the email
does actually get sent just dumps error message and I can't make it go
away!
-Original Message-
From: Steve Loughran [mailto:[EMAIL PROTECTED]
Sent: Friday, August 17, 2007 3:55 AM
To: Ant Users List
Subject: Re:
>
> You could leave that or you have to use and encode the
> xml-charachter (<>&...).
Now that I look again the declaration is not really necessary :P
I have a little perl script for masking - for my own need:
>
> ---8-<---8-<---8-<---8-<---8-<---8-<---8-<---8-<-
I will be out of the office starting 08/17/2007 and will not return until
08/18/2007.
You can contact via my mobile ph# 603 930 0390 for any critical information
other wise please contact Ed Hayes
I won't be available in SameTime
Thank You
--Padma
-
You must also escape the \ character
<
replaceregexp
file="${artifactsdir}/${label}/${env}/src/include/configuration_wassup.php"
match='define(\\"WS_WASSUPHOST\\" *, *\\".*\\");'
replace='define(\\"WS_WASSUPHOST\\", \\"${dev.bck.mmc.ws_wassuphost}\\");'
/>
-O
Hi,
I have a problem. I'm trying to have ant substitute something in a few
files. Here's the sample:
<
replaceregexp
file="${artifactsdir}/${label}/${env}/src/include/configuration_wassup.php"
match='define("WS_WASSUPHOST" *, *".*");'
replace='define("WS_WASSUPHOST", "${dev.bck.mmc.ws_wa
You are embedding xml statements in and this is not allowed, you could
use instead.
But you have also a xml declaration in your echo
You could leave that or you have to use and encode the xml-charachter
(<>&...).
I have a little perl script for masking - for my own need:
---8-<---8-<
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
Hello,
I have an a build file which generates another build file and then
executes it. I am creating the 2nd build file via an echo task to the file.
Something like this :
this is deploy.xml :
teknokrat wrote:
I am using ant 1.7. I need to pass urls as properties. Unfortunately
these have parameters in them i.e. -Dtest.url=http://x.y.z?a=b&c=d
ant barfs on these - is there any way this can be done
Not ant; your shell. escape them according to the specific rules of your
shell
--
Wei Feng Niu wrote:
Hi,
I have a target to detect whether a port is listening, like the
following:
=
Erica A Ramsey wrote:
hi, i am trying to mail file via ant. I wrote a simple test and it hangs.
here it is.
Latest binaries for ${application.name} version
${version}
always loo
One step further ...
You could use for reading the url.
Jan
-Ursprüngliche Nachricht-
Von: Peter Reilly [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 17. August 2007 10:59
An: Ant Users List
Betreff: Re: how do I pass properties containing & char
If you are using unix/linux, just quo
If you are using unix/linux, just quote the parameter:
>ant "-Dtest.url=http://x.y.z?a=b&c=d";
Buildfile: build.xml
y:
[echo] http://x.y.z?a=b&c=d
If you are using dos, it is probably impossible to get the stuff
though the quagmire that is cmd.
Use a property file: build.properties
test.u
I dont think that Ant changes some characters.
I think the shell does. E.g. shells usually changte '*' to a list of files.
What you could do is writing these urls into a properties file and load that
file.
I dont know any possibility of masking the characters ...
Jan
-Ursprüngliche Nachri
I am using ant 1.7. I need to pass urls as properties. Unfortunately
these have parameters in them i.e. -Dtest.url=http://x.y.z?a=b&c=d
ant barfs on these - is there any way this can be done
-
To unsubscribe, e-mail: [EMAIL PR
If you reduce checkevery="5" to checkevery="1", the issue will come out
more frequently
Best regards
Weifeng Niu
Tel: +86 10 8528 1188 ext. 1724
[EMAIL PROTECTED]
-Original Message-
From: Wei Feng Niu [mailto:[EMAIL PROTECTED]
Sent: Friday, August 17, 2007 3:30 PM
To: user@ant.apache.o
Hi,
I have a target to detect whether a port is listening, like the
following:
===
20 matches
Mail list logo