Bugs item #1526481, was opened at 2006-07-21 13:57
Message generated for change (Comment added) made by cchan_qa
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
Private: No
Submitted By: carle78 (carle78)
Assigned to: Charles Chan (cchan_qa)
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: Charles Chan (cchan_qa)
Date: 2010-04-23 03:10

Message:
Hello carle78. Just want to check if this is still an issue? If so, are you
able to provide a small sample to reproduce the issue?

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

Comment By: carle78 (carle78)
Date: 2006-07-23 18:41

Message:
Logged In: YES 
user_id=1559638

Hello, actually I will not be able to do that for a while.
I´m  at home packing my bags for vacation, and I got the
scripts at  work. 
What I can say is that it was quite a lot of files (10000+)
that where copied, but that shouln´t affect the logic I suppose.
I will be back at work in three weeks, I´ll try a
newer/nightly build and see if I can reproduce it.

/Carl

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

Comment By: Gert Driesen (drieseng)
Date: 2006-07-23 15: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 11: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 11:29

Message:
Logged In: YES 
user_id=1559638

The filename is 1.1.gz

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

Comment By: Gert Driesen (drieseng)
Date: 2006-07-22 23: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

------------------------------------------------------------------------------
_______________________________________________
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to