Simon Jeffrey schrieb:
This version below works :) !!! Very good to know, and really the
easiest, most straight-forward way to handle double qoutes in your
source and target strings.
token='JAVA_OPTIONS="${JAVA_OPTIONS}"'
value='JAVA_OPTIONS="${JAVA_OPTIONS}
-Dweblogic.ProductionMo
This version below works :) !!! Very good to know, and really the
easiest, most straight-forward way to handle double qoutes in your
source and target strings.
"The HTML entity for " is ", not "e;
(http://www.w3.org/TR/html401/sgml/entities.html#h-24.4.1). Did the OP
have a typo in his e-mail,
Rick Genter schrieb:
The HTML entity for " is ", not "e;
(http://www.w3.org/TR/html401/sgml/entities.html#h-24.4.1). Did the OP
have a typo in his e-mail, or did he try the wrong entity?
don't know if he had a typo in it, but you're right,
of course it should be " instead of "e;
but i think =
On Tue, Jun 24, 2008 at 2:43 PM, Eric Marshall
<[EMAIL PROTECTED]> wrote:
> I have the following dependset declaration in one of our project's build
> files:
My advice is to use Ant-Contrib's rather than Ant's ;-)
Usually it's much more natural to use, and typically works the first time. --DD
${JAVA_OPTIONS} appears in this file many times. I only want this
specific instance (JAVA_OPTIONS="${JAVA_OPTIONS}") to be replaced, not
the others.
Thanks, Jeff
-Original Message-
From: Gilbert Rebhan [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 24, 2008 2:28 PM
To: Ant Users List
Su
Gilbert Rebhan schrieb:
Simon Jeffrey schrieb:
I am trying to execute the command below as part of our weblogic
install.
Yes the string is part of a file.
I have tried using "e;, \", and \Q \E, but none of these options has
worked.
I was not aware of the regexp option.
untested, try with =
> From: Gilbert Rebhan [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 24, 2008 1:15 PM
> To: Ant Users List
> Subject: Re: How do I escape the " in the replace command?
>
> Simon Jeffrey schrieb:
> > I am trying to execute the command below as part of our weblogic
> > install.
> >
> > Yes the s
Simon Jeffrey schrieb:
I am trying to execute the command below as part of our weblogic
install.
Yes the string is part of a file.
I have tried using "e;, \", and \Q \E, but none of these options has
worked.
I was not aware of the regexp option.
untested, try with =
if that doesn't wor
I am trying to execute the command below as part of our weblogic
install.
Yes the string is part of a file.
I have tried using "e;, \", and \Q \E, but none of these options has
worked.
I was not aware of the regexp option.
Thanks, Jeff
-Original Message-
From: Gilbert Rebhan [mailt
Simon Jeffrey schrieb:
I am new to ant and I am trying to use the replace command to replace a
string that contains the " character.
you have to provide more details =
What did you try already ?
Have you tried with regexp ?
Where comes that string from, is it part of a file ?
How does the file
I have the following dependset declaration
in one of our project's build files:
with the intention that any newer project source file
or any newer external dependent jar will cause our project's
jar file to be removed.
The problem I'm having under Red Hat Linux 4.4 is
that wi
Hi,
We do something like this:
Thanks
-Original Message-
From: ext Karr, David [mailto:[EMAIL PROTECTED]
Sent: 24 June 2008 16:39
To: Ant Users List
Sub
I am new to ant and I am trying to use the replace command to replace a
string that contains the " character.
Thanks
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
It might be possible to mix in the capabilities of the "xmltask"
library. This has the ability to call a target for every occurrence of
a particular xpath result value. If you could find a way to generate an
xml doc with one element for each file name (perhaps using xmltask
itself), you could the
On Tue, 24 Jun 2008, Andy Stevens <[EMAIL PROTECTED]> wrote:
> Perhaps one day some of this behaviour might be included in the java
> task, or someone will come up with an task that combines
> the two,
Indeed, this has been thought about many times, but so far no code has
been generated b those
2008/6/24 Stefan Bodewig <[EMAIL PROTECTED]>:
> In most cases Ant's behavior probably is exactly what is intended by
> many people. You don't want to lose your real work when removing
> backups recursively (deleting the directories that don't contain any
> backups because no file matched the incl
-Original Message-
From: Andy Stevens [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 24, 2008 1:40 PM
To: user@ant.apache.org
Subject: Is it possible to run a target for each file in a fileset?
/*
[...]
The only problem with the above is that jslint.js doesn't output the
filename of th
On Tue, 24 Jun 2008, Andrew Clegg <[EMAIL PROTECTED]> wrote:
> I have just had a couple of thoughts which I'll post here for the
> benefit of others who might be in a similar situation.
>
> I think my original problem is because each of the subdirectories in
> the autosrc tree contains an ignored
Hi,
I'm trying to include jslint in the build script for one of our web
apps, using Rhino to run the jslint.js javascript file.
Initially, I used
(an earlier target copies main.js from the original source folder to
the build directory ${bui
I have just had a couple of thoughts which I'll post here for the
benefit of others who might be in a similar situation.
I think my original problem is because each of the subdirectories in
the autosrc tree contains an ignored .svn directory, meaning that none
of them are ever completely empty, so
2008/6/24 Stefan Bodewig <[EMAIL PROTECTED]>:
> I don't think your directories info and src match the includes pattern
> **/* which means "at least one directory level deeper than base".
> What happens if you remove the includes attribute completely?
That works! Thanks. But this means the manual
-Original Message-
From: Simple Easy [mailto:[EMAIL PROTECTED]
Sent: Monday, June 23, 2008 5:53 AM
To: user@ant.apache.org
Subject: How can I override property value?
/*
Hi,
I would like to override the property value entered by task. How
can I go about doing that?
*/
/*
*/
that's wro
22 matches
Mail list logo