er is only one character). So if my original string is 1.2.3, my
> resulting string will be 010203.
>
>
>
> I have been using NAnt lately and it has some built in functions for
> doing this sort of string manipulation. Now I need to implement the
> same logic in Ant scripts. I h
On Mon, May 4, 2009 at 10:27 AM, Beth Hechanova wrote:
> I have been using NAnt lately and it has some built in functions for
> doing this sort of string manipulation. Now I need to implement the
> same logic in Ant scripts. I have been looking for something similar in
> Ant, but I
it has some built in functions for
doing this sort of string manipulation. Now I need to implement the
same logic in Ant scripts. I have been looking for something similar in
Ant, but I have yet to come across anything. I am using Ant v1.7.1.
Thanks,
Beth
"
> regexp="/"
> replace="_"/>
>
>
>
>
>
> On Jan 8, 2008 7:57 PM, DJ Kingsolver <[EMAIL PROTECTED]> wrote:
> > Hi all,
> >
> > I need to do a simple string manipulation, but I'm finding it harder
> than I
Try this using the AntContrib task:
On Jan 8, 2008 7:57 PM, DJ Kingsolver <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I need to do a simple string manipulation, but I'm finding it harder than I
> expected.
>
> Sa
nt as well. Use
bsf.jar and rhino.jar (rename to js.jar)
> -Original Message-
> From: DJ Kingsolver [mailto:[EMAIL PROTECTED]
> Sent: 09 January 2008 00:58
> To: user@ant.apache.org
> Subject: String Manipulation
>
> Hi all,
>
> I need to do a simple string manip
t;[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I need to do a simple string manipulation, but I'm finding it harder than I
> expected.
>
> Say I have a property like this:
>
>
> I'd like to set another property like this:
>
>
> So, would write &qu
Hi all,
I need to do a simple string manipulation, but I'm finding it harder than I
expected.
Say I have a property like this:
I'd like to set another property like this:
So, would write "[echo] foo_bar_baz"
What is a good way to achieve this?
I've thought
Hello Rodrigo,
the basename task does this out of the box.
Open the Ant manual.
Regards,
Antoine
Rodrigo Monteiro wrote:
> Hello all,
>
> I'm new in Ant... so this might be an easy question.
>
> I pass in the command line an parameter
> ant -Dtest=/tmp/tmp2/tmp3 -buildfile teste.xml
> What I need
Hi Scot,
On 10/25/06, Scot P. Floess <[EMAIL PROTECTED]> wrote:
Ant contrib has a nice propertyregex task if you need to do regular
expressions.
However, if this property contains a path and file name (which I believe
is the case), try the basename task.
It's what I was looking for.
Thanks!
Ant contrib has a nice propertyregex task if you need to do regular
expressions.
However, if this property contains a path and file name (which I believe
is the case), try the basename task.
Rodrigo Monteiro wrote:
Hello all,
I'm new in Ant... so this might be an easy question.
I pass in
Hello all,
I'm new in Ant... so this might be an easy question.
I pass in the command line an parameter
ant -Dtest=/tmp/tmp2/tmp3 -buildfile teste.xml
What I need to do is to get only the content of ${test} after the last
"/", in this case "tmp3".
How can I do that?
regards,
Rodrigo.
-
12 matches
Mail list logo