Bugs item #1526481, was opened at 2006-07-21 15:57
Message generated for change (Comment added) made by drieseng
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1526481&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: Tasks
Group: 0.85
Status: Open
Resolution: None
Priority: 5
Submitted By: carle78 (carle78)
Assigned to: Nobody/Anonymous (nobody)
Summary: Copy, cant handle filepath

Initial Comment:
Hi!

Im performing a backup of our perforce server, and one
file path is truncated. Everything else works. So I
suppose the path contains some character that confuses
the copy-task.

Here it is:
[copy] Copying
'd:\Perforce\depot\customerprojects\optics\interoptik\imports\vare\orginalfiler
fra leverandorer\ok\ok_adidas sport~februar
2005.xls,d\1.1.gz' to 'z:\Perforce\Data\1.1.gz'.

As you can see, only the last part of the path is kept.
This is from the NAnt-script:
<copy todir="${backup.data.dir}"
overwrite="${do.overwrite}"  verbose="true">

   <fileset basedir="${data.dir}">
      <include name="**/*"/>
      <exclude name="checkpoint*"/>
      <exclude name="journal*"/>
      <exclude name="db.*"/>
   </fileset>

</copy>

Best regards
Carl Ericsson

----------------------------------------------------------------------

>Comment By: Gert Driesen (drieseng)
Date: 2006-07-23 17:34

Message:
Logged In: YES 
user_id=707851

I'm unable to reproduce this issue. Can you create a small 
repro ?

You can use <mkdir> and <touch> to setup the 
files/directories in that sample build file to ensure it's 
a self-contained repro. 

----------------------------------------------------------------------

Comment By: carle78 (carle78)
Date: 2006-07-23 13:30

Message:
Logged In: YES 
user_id=1559638

The value of the data.dir is d:/Perforce

----------------------------------------------------------------------

Comment By: carle78 (carle78)
Date: 2006-07-23 13:29

Message:
Logged In: YES 
user_id=1559638

The filename is 1.1.gz

----------------------------------------------------------------------

Comment By: Gert Driesen (drieseng)
Date: 2006-07-23 01:54

Message:
Logged In: YES 
user_id=707851

What's the value of data.dir ? In your example, what's the 
filename part ? It is "ok_adidas sport~februar 
2005.xls,d\1.1.gz" ? 

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1526481&group_id=31650

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to