gValue);
self.log(i);
if (i >= 0)
{
project.setProperty("isSubstring","true");
}
]]>
From: Scot P. Floess
To: Eric Fetzer
Sent: Thu, January 21, 2010 12:48:23 PM
Subject: Re: AppendToProperty
time: 0 seconds
____
From: Scot P. Floess
To: Eric Fetzer
Sent: Thu, January 21, 2010 11:20:33 AM
Subject: Re: AppendToProperty MacroDef
Eric:
I didn't get a chance to look into any of this today. Making up some
hours for coming in late on Monday :( Well
al with an @:
string myString = @"C:\Program Files\JavaScript\is\goofy";
Thanks,
Eric
From: Scot P. Floess
To: Ant Users List
Sent: Thu, January 21, 2010 9:08:03 AM
Subject: Re: AppendToProperty MacroDef
Interesting... OK :(
On Thu, 21 Jan 201
Sent: Thu, January 21, 2010 8:48:29 AM
Subject: Re: AppendToProperty MacroDef
Will you echo ${myProp} itself? For example before the first
propertyregex...
Sorry, I don't have time right this minute to look at this and type in the
example :)
On Thu, 21 Jan 2010, Eric Fetzer wrote:
A
: AppendToProperty MacroDef
Will you echo ${myProp} itself? For example before the first
propertyregex...
Sorry, I don't have time right this minute to look at this and type in the
example :)
On Thu, 21 Jan 2010, Eric Fetzer wrote:
> And to leverage your \n example:
>
>
>
>
>
ubject: Re: AppendToProperty MacroDef
And to leverage your \n example:
Produces:
main:
[echo] tmpProp is: C:\noDog\Hates\Big\Juicy\Bones
[echo] tmpProp is: C:\\noDog\\Hates\\Big\\Juicy\\Bones
[echo] tmpProp is: C:\noDog\\Hates\
a:257)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
Total time: 0 seconds
From: Eric Fetzer
To: Ant Users List
Sent: Thu, January 21, 2010 8:28:07 AM
Subject: Re: AppendToProperty MacroDef
Let me give you a better example Scot. Substit
: AppendToProperty MacroDef
Let me give you a better example Scot. Substitution seems to ignore escape
characters entirely. As the task is written now, I don't imagine there is a
way to replace \'s.
Produces:
main:
[echo] tmpP
104)
Total time: 0 seconds
From: Scot P. Floess
To: Ant Users List
Sent: Thu, January 21, 2010 8:09:33 AM
Subject: Re: AppendToProperty MacroDef
I might be wrong but I think the output you are seeing is correct - as in
the \ is escapeed thereby printing only
true;
I'll take a look at how to achieve this tomorrow. Thanks!
Eric
From: Scot P. Floess
To: Ant Users List
Sent: Wed, January 20, 2010 2:21:41 PM
Subject: Re: AppendToProperty MacroDef
Mmm - you may need to do this before your first propertyregex
Basicall
Thanks,
Eric
From: Eric Fetzer
To: Ant Users List
Sent: Wed, January 20, 2010 1:40:34 PM
Subject: Re: AppendToProperty MacroDef
Beautiful, thanks Scott!
On Jan 20, 2010, at 1:18 PM, "Scot
Of(string1) >= 0) then return true;
I'll take a look at how to achieve this tomorrow. Thanks!
Eric
____
From: Scot P. Floess
To: Ant Users List
Sent: Wed, January 20, 2010 2:21:41 PM
Subject: Re: AppendToProperty MacroDef
Mmm - you may need to do this before your first propertyregex
re
From: Scot P. Floess
To: Ant Users List
Sent: Wed, January 20, 2010 2:21:41 PM
Subject: Re: AppendToProperty MacroDef
Mmm - you may need to do this before your first propertyregex
Basically the above will escape the \
On Wed, 20 Jan 2010, Eric Fetzer wr
Sent: Wed, January 20, 2010 2:21:41 PM
Subject: Re: AppendToProperty MacroDef
Mmm - you may need to do this before your first propertyregex
regexp="\\" replace="" globale="true"/>
Basically the above will escape the \
On Wed, 20 Jan 2010, Eric Fet
ue;
I'll take a look at how to achieve this tomorrow. Thanks!
Eric
From: Scot P. Floess
To: Ant Users List
Sent: Wed, January 20, 2010 2:21:41 PM
Subject: Re: AppendToProperty MacroDef
Mmm - you may need to do this before your first propertyregex
Ba
not with slashes. Anyone see a better way?
Thanks,
Eric
From: Eric Fetzer
To: Ant Users List
Sent: Wed, January 20, 2010 1:40:34 PM
Subject: Re: AppendToProperty MacroDef
Beautiful, thanks Scott!
On Jan 20
ubject: Re: AppendToProperty MacroDef
Beautiful, thanks Scott!
On Jan 20, 2010, at 1:18 PM, "Scot P. Floess" wrote:
You could use Ant Contrib's var task - probably be a little easier :)
On Wed, 20 Jan 2010, Eric Fetzer wrote:
Hi all. I wrote a MacroDef to append a string
Beautiful, thanks Scott!
On Jan 20, 2010, at 1:18 PM, "Scot P. Floess" wrote:
You could use Ant Contrib's var task - probably be a little easier :)
On Wed, 20 Jan 2010, Eric Fetzer wrote:
Hi all. I wrote a MacroDef to append a string to a property. All works as
planned unt
You could use Ant Contrib's var task - probably be a little easier :)
value="$...@{var.propertyname}}@{var.stringAppend}"/>
On Wed, 20 Jan 2010, Eric Fetzer wrote:
Hi all. I wrote a MacroDef to append a string to a property. All works as planned until
you slip a "\" in t
Why not to use instead? With you can
pragmatically access parameters instead of macro substitution.
- Alexey.
On 20.01.2010 12:10, Eric Fetzer wrote:
Hi all. I wrote a MacroDef to append a string to a property. All works as planned until
you slip a "\" in there and then it gets jacked up.
Hi all. I wrote a MacroDef to append a string to a property. All works as
planned until you slip a "\" in there and then it gets jacked up. My
javascripting has MUCH to be desired. Any help?
21 matches
Mail list logo