ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher" <jakarta-...@ehatchersolutions.com>
Subject Re: converting a file reference to a URL
Date Mon, 17 Sep 2001 00:50:40 GMT
As for (1) I don't know of a way to do this, except using the <script> task.

(2) - check out the <parallel> task in Ant 1.4, it'll do what you are
asking.

    Erik


----- Original Message -----
From: "David Jordan" <David.Jordan@objectidentity.com>
To: <ant-user@jakarta.apache.org>
Sent: Sunday, September 16, 2001 5:15 PM
Subject: converting a file reference to a URL


>
> 1.
> I have a file/directory in my build directory (or subdirectory)
> and I would like to convert this to a valid URL.
> I am running on Windows.
> Whenever you use a directory in Ant, it converts it to the
> underlying OS representation (which uses backslash).
> But I want to execute a Java program that expects a URL,
> which uses forward slashes between directory names.
> How do you do this in ant?
>
> 2.
> Is it possible to kick off several tasks or <java> commands
> in parallel? Just listing two <java> in a target runs them serially.
>
>
> David Jordan
> mailto:david.jordan@objectidentity.com
> Object Identity, Inc.
> www.objectidentity.com
>
>
>
>


Mime
View raw message