> From: Abbey Sparrow [mailto:[EMAIL PROTECTED]
>
> Is this the only way to do this, or is there some other,
> better method I am missing?
As others have indicated, is the way to go,
and still as indicated, it can be tricky to get right.
I used to do that, but now I have a nice little task that
On Sun, 2005-03-06 at 22:37, Abbey Sparrow wrote:
> I have been looking at pathconvert, on jeffery and martin's suggestion
> (and am a little amazed I didn't see it earlier), however... it seems I
> either have to standardize on the platform ant is running on or create
> some logic to convert th
Ants' Pathconvert task will enable you to convert one path ointo another, and
supports nested
mapper tasks that can do search&replace, or even (in version 1.6.2) "flatten"
all paths into sole
jar filenames for easy J2EE deployement.
--- Abbey Sparrow <[EMAIL PROTECTED]> wrote:
> I am currently
I have been looking at pathconvert, on jeffery and martin's suggestion
(and am a little amazed I didn't see it earlier), however... it seems I
either have to standardize on the platform ant is running on or create
some logic to convert the os.name property to the valid target strings
for the pa
--
Jeffrey E. Care ([EMAIL PROTECTED])
WebSphere Build SWAT Team Lead
WebSphere Build Tooling Lead (Project Mantis)
https://w3.opensource.ibm.com/projects/mantis
Abbey Sparrow <[EMAIL PROTECTED]> wrote on 03/06/2005 03:01:15 AM:
> I am currently jumping through a couple of hoops in order to g
Yes, I think that qualifies as jumping through hoops. ;-) You might want
to try for this, which will get you down to just a few
lines. One gotcha to keep in mind - you'll want to canonicalise your root
path first so that the substring always matches.
(Sorry, I don't have an example handy right