Bugs item #2047880, was opened at 2008-08-12 14:34
Message generated for change (Comment added) made by drieseng
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=2047880&group_id=31650
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
>Category: Core
Group: None
>Status: Closed
>Resolution: Invalid
Priority: 5
Private: No
Submitted By: Ron Inbar (roninbar)
>Assigned to: Gert Driesen (drieseng)
Summary: <copy> ignores current directory
Initial Comment:
If 'file' or 'tofile' are specified using relative paths, they are always
resolved relative to the .build file's directory, not to the current directory,
so <cd> has no effect.
----------------------------------------------------------------------
>Comment By: Gert Driesen (drieseng)
Date: 2008-08-12 17:42
Message:
Logged In: YES
user_id=707851
Originator: NO
This is by design. You can use the directory::get-current-directory
function to force the path to be relative to the current directory.
For example:
<copy
file="${path::combine(directory::get-current-directory(),'abc.txt')}"
todir="..." />
Hope this helps
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=2047880&group_id=31650
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
nant-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-developers