Is there any task to find the drive name from a given file/directory path
? "dirname" task can't help in this regards as it takes the full path
until that filename. I only need that drive name.
Thanks
Hasan
-
To unsubscribe, e
Hi Gurus
I have a problem and need some help here.
I have 2 hosts. A, B
A has property A.exist = 1, B has property B.exist=0.
Both are online in that if I use , they both respond but
I only want to use A and not B.
How do I set up in to allow me to use A only if A.exist = 1 ?
---
There is a propertyregex task in ant-contrib that you can use to extract
part of a property's value to a new property.
-Original Message-
From: mindspin311 [mailto:[EMAIL PROTECTED]
Sent: Monday, March 31, 2008 2:33 PM
To: user@ant.apache.org
Subject: Re: Need to find current directory (n
Wow, completely overlooked basename, but that only really solves this
specific problem. I was really hoping to find out if there was a way to
parse a string or property. Let's say I'm using svn update and it returns
'At revision 100'. I put that string into a property.
Now, how do I extract just
Hello,
So I have been banging my head against a wall it seems because I have
been trying to automate the database build and deployment process for
our software. The goal I have is using ANT and the sql task, to execute
an existing .sql file that was developed and placed in SVN. I am having
an
Try
mindspin311 wrote:
If I have the following path: /blah/foo/trunk/
I want to be able to assign just "trunk" to a property, similar to dirname:
This returns the whole path. I just want it to return the last element of a
directory.
--
Scot P. Floess
27 Lake Royale
Louisburg, NC
Peter
On Mon, Mar 31, 2008 at 8:51 PM, mindspin311 <[EMAIL PROTECTED]> wrote:
>
> If I have the following path: /blah/foo/trunk/
>
> I want to be able to assign just "trunk" to a property, similar to dirname:
>
>
>
> This returns the whole path. I just want it to return the last ele
If I have the following path: /blah/foo/trunk/
I want to be able to assign just "trunk" to a property, similar to dirname:
This returns the whole path. I just want it to return the last element of a
directory.
--
View this message in context:
http://www.nabble.com/Need-to-find-current