Re: Setting an absolute path to an other PC

2008-07-01 Thread Gilbert Rebhan
Stéphane Vandenbogaerde schrieb: Actually, I don't code in Java. I use Ant with Eclipse only for Buckminster (used for C++ projects). I am delighted to see that I can use the Windows syntax. i strongly recommend using the unix syntax with ant, means always use '/' instead of '\' if possible.

Re: Setting an absolute path to an other PC

2008-07-01 Thread Stéphane Vandenbogaerde
ar.gz' from UNC: > > > > > > > > Hope this helps, > > Raymond > > > -Original Message- > From: Stéphane Vandenbogaerde [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 01, 2008 6:48 AM > To: Ant Users List > Subject: Re: Setting an abso

RE: Setting an absolute path to an other PC

2008-07-01 Thread Raymond Berg (ALLETE)
ow to extract a sample archive 'sample.tar.gz' from UNC: Hope this helps, Raymond -Original Message- From: Stéphane Vandenbogaerde [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 01, 2008 6:48 AM To: Ant Users List Subject: Re: Setting an absolute path to an other PC 2008

Re: Setting an absolute path to an other PC

2008-07-01 Thread Stéphane Vandenbogaerde
2008/7/1 Raymond Berg (ALLETE) <[EMAIL PROTECTED]>: > This question is a little unclear. Do you wish to untar this to a remote > machine with a UNC network share (\\server\share) ? I want to untar from a remote machine with a UNC network share. > As of Ant 1.7.0, UNC names are allowable absol

RE: Setting an absolute path to an other PC

2008-07-01 Thread Raymond Berg (ALLETE)
this is not what you meant. Cheers, Raymond -Original Message- From: Stéphane Vandenbogaerde [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 01, 2008 5:24 AM To: user@ant.apache.org Subject: Setting an absolute path to an other PC Hello, How can I set an an absolute path (for the untar

Setting an absolute path to an other PC

2008-07-01 Thread Stéphane Vandenbogaerde
Hello, How can I set an an absolute path (for the untar task) to a remote PC ? Thanks.

Avoid absolute path names

2006-06-15 Thread Asensio, Rodrigo
Hi, eclipse 3.2, ant 1.6 I need to add files to the cvs and Im doing this Im using an apply task because exec doesn't allow a fileset The

AW: Absolute path properties...

2006-03-28 Thread Jan.Materne
>I am working on a project that consists of multiple modules. >Each module has an identical folder structure within it. >Initially I started by having multiple build scripts (one for >each module) but this was a little problematic because there >are some dependancies between the modules. It see

Re: Absolute path properties...

2006-03-28 Thread Wesley Hall
On 3/28/06, Matt Benson <[EMAIL PROTECTED]> wrote: > > --- Wesley Hall <[EMAIL PROTECTED]> wrote: > > > Hello all, > > > > I am in a situation where it makes sense for my ant > > script to compile two > > path properties into one but because ant resolves > > all location properties to > > absolute

Re: Absolute path properties...

2006-03-28 Thread Matt Benson
--- Wesley Hall <[EMAIL PROTECTED]> wrote: > Hello all, > > I am in a situation where it makes sense for my ant > script to compile two > path properties into one but because ant resolves > all location properties to > absolute paths this is problematic. Let's say I > have... > > > > > then >

Absolute path properties...

2006-03-28 Thread Wesley Hall
Hello all, I am in a situation where it makes sense for my ant script to compile two path properties into one but because ant resolves all location properties to absolute paths this is problematic. Let's say I have... then ${parent.dir}/${child.dir} will resolve to two absolute paths seperat

RE: how to detect relative or absolute path value

2005-08-31 Thread Matt Benson
Please explain exactly what you are trying to do in terms of Ant XML; i.e. provide an example. -Matt --- [EMAIL PROTECTED] wrote: > Well, I've tried location but even if the input > property is an absolute > path like /usr/tmp, Ant will append basedir and > create a property

RE: how to detect relative or absolute path value

2005-08-26 Thread sten.rosendahl
Well, I've tried location but even if the input property is an absolute path like /usr/tmp, Ant will append basedir and create a property /my/basedir/usr/tmp. I'm using Ant 1.6.2 on Linux. Sten -Original Message- From: Burgess, Benjamin [mailto:[EMAIL PROTECTED] Sent: Wednesd

Re: how to detect relative or absolute path value

2005-08-24 Thread Alexey N. Solofnenko
Have you tried location="${another.path.property}"/>? In that case "path" property will have an absolute path of another.path.property. - Alexey. [EMAIL PROTECTED] wrote: My Ant script needs to know if a property value is a relative or absolute path in order to deci

RE: how to detect relative or absolute path value

2005-08-24 Thread Burgess, Benjamin
Instead of using value, use location for the property and it should convert it o an absolute path automatically. Ben -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 24, 2005 1:10 PM To: user@ant.apache.org Subject: how to detect relative or

how to detect relative or absolute path value

2005-08-24 Thread sten.rosendahl
My Ant script needs to know if a property value is a relative or absolute path in order to decide if to prepend a root path or not. Can Ant do this without custom tasks? Sten Rosendahl - To unsubscribe, e-mail: [EMAIL

Re: absolute path

2005-04-07 Thread Antoine Levy-Lambert
Inside ant you can resolve a full path by doing this somejar.path=${somejar.path}" > > --- Rodolfo García Esteban/CYII > <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I need to specify a absolute path, not relative to > > base, how can I do? &g

RE: absolute path

2005-04-07 Thread Roberto Juarez
de abril de 2005 8:32 > Para: Ant Users List > Asunto: RE: absolute path > > Yes but in the command copy and in classpath the path are relatives I need > a parameter which accepts absolute path in path. > > Thanks > > Rodolfo > ___

RE: absolute path

2005-04-06 Thread Rodolfo García Esteban/CYII
Yes but in the command copy and in classpath the path are relatives I need a parameter which accepts absolute path in path. Thanks Rodolfo ___ "Roberto Juarez" <[EMAIL PROTECTED]> 06/04/2005 16:49 Por favor, responda a

Re: absolute path

2005-04-06 Thread Rodolfo García Esteban/CYII
onda a "Ant Users List" Para: Ant Users List cc: (cco: Rodolfo García Esteban/CYII) Asunto: Re: absolute path --- Rodolfo García Esteban/CYII <[EMAIL PROTECTED]> wrote: > Hi, > > I need to specify a absolute path, not relative to > b

RE: absolute path

2005-04-06 Thread Roberto Juarez
Hi, there is an easy option. You may define an environment variable that holds your absolute path and read the value of that variable. Easy. Cheers, Roberto. > -Mensaje original- > De: Matt Benson [SMTP:[EMAIL PROTECTED] > Enviado el: miércoles, 06 de abril de 2005 16:

Re: absolute path

2005-04-06 Thread Matt Benson
--- Rodolfo García Esteban/CYII <[EMAIL PROTECTED]> wrote: > Hi, > > I need to specify a absolute path, not relative to > base, how can I do? Depends on the context. You will have to explain a little more what you want. -Matt >

absolute path

2005-04-06 Thread Rodolfo García Esteban/CYII
Hi, I need to specify a absolute path, not relative to base, how can I do? Thanks Rodolfo

Re: Problem with fileset having members containing absolute path names

2005-03-15 Thread Peter Reilly
Holger Rauch wrote: Hi Peter! Thanks a lot for your quick reply! On Tue, 15 Mar 2005, Peter Reilly wrote: One can have a top-level fileset on unix. What happens on Windows? Do I have to use some other value for dir there? There is no top-level directory on windows. Each file system has i

Re: Problem with fileset having members containing absolute path names

2005-03-15 Thread Holger Rauch
Hi Peter! Thanks a lot for your quick reply! On Tue, 15 Mar 2005, Peter Reilly wrote: > One can have a top-level fileset on unix. What happens on Windows? Do I have to use some other value for dir there? > [...) > However, the filename specs in the includes still need to be relative > so they

Re: Problem with fileset having members containing absolute path names

2005-03-15 Thread Peter Reilly
] files2: Peter Kristian Perkins wrote: I've never used a top level fileset before, didn't think you could do that. I would use a which contained the fileset. Holger Rauch wrote: Hi! I've run into a problem using filesets whose members contain absolute path names. The follow

Re: Problem with fileset having members containing absolute path names

2005-03-15 Thread Kristian Perkins
I've never used a top level fileset before, didn't think you could do that. I would use a which contained the fileset. Holger Rauch wrote: Hi! I've run into a problem using filesets whose members contain absolute path names. The following short build script illustrates t

Problem with fileset having members containing absolute path names

2005-03-15 Thread Holger Rauch
Hi! I've run into a problem using filesets whose members contain absolute path names. The following short build script illustrates the problem. My questions are: Why is the property files.converted (supposed to hold the fileset's contents) empty even though the files actually exist on

Re: finding the absolute path of each file in a fileset

2004-03-30 Thread Matt Benson
Shakun: I think using a with your task might actually serve your purposes better. -Matt __ Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. http://taxes.yahoo.com/filing.html