Thanks Marc for the great questions... I did not do a great job explaining the 
problem.
I have been using TortoiseSVN client for the past 4 years on Windows XP. Before 
this problem started I got a new Windows 7 x64 computer. 
However, this problem is also now happening on my old computer, so it seems to 
me that is it not the OS.
I also updated the TortoiseSVN to the latest version.

All the support files are part of the repository, in the directory above the 
dist folder. I copy those files into the dist after I do a clean build in 
Netbeans.
I know I have to do this every time because the clean build deletes the dist 
folder and recreates it.
This has been working great for several years.

Recently thought, when I run the jar file in the dist folder the support files 
in the dist folder get deleted. 
If I then do a delete and revert of the files in the above folder and re-copy 
them into the dist folder I can run the jar file and they are not deleted!
This "patch" seems to work for a few days and then I have to delete and revert 
again.
This is why I think it is Tortoise that is somehow the cause!

I hope that is more clear and any help would be GREATLY appreciated.

I also recently created a new folder and checked out the entire repository 
again - I am checking to see if that eliminates the problem.

-----Original Message-----
From: Cooke, Mark [mailto:mark.co...@siemens.com] 
Sent: Friday, August 31, 2012 2:18 AM
To: users@subversion.apache.org
Cc: Elena Feroe
Subject: RE: Deleting Files

> -----Original Message-----
> From: Elena Feroe [mailto:efe...@imageworkscorporation.com]
> Sent: 30 August 2012 21:32
> To: users@subversion.apache.org
> Subject: Deleting Files
> 
> Hello,

Hello.

> I am currently having a problem with my local Subversion files.
> 
> When I build my program in Netbeans, the files are put into a "dist" 
> folder. I have set this folder to be ignored since the files are 
> constantly changing.
> 
> After the code is compiled, all the other files the program needs are 
> copied into this dist folder manually.
> 
> At this point I can run and debug the program. Without the support 
> files I CANNOT run or debug the program.
> 
> My  problem is that every few days, after I run the program, all the 
> support files in the dist folder are deleted.
> 
> My program is not deleting any files. 

What makes you suspect subversion?  You do not tell us which client you are 
using or on what platform?

> If I delete and do a revert on these files, they are not deleted when 
> the program is run and closed.

`revert` should have no effect on `ignored` files.

> I have no idea how this is happening, or what is causing it to happen 
> every few days, but I need help!
> 
> I cannot keep developing with this issue.
> 
> Thanks for any help you can offer!!!

I have to suggest that netbeans probably considers the `dist` folder as its own 
preserve and is the likely candidate for `cleaning` those files whenever you do 
a clean (re)build.  It is very unlikely that any subversion client would be 
deleting `ignored` files (and if they are that should be considered a bug).

Can you modify your app to search for your support files in a way that you can 
configure to be somewhere else?

Regards,

~ Mark C

Reply via email to