[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Deleting Files

From: Cooke, Mark <mark.cooke_at_siemens.com>
Date: Fri, 31 Aug 2012 14:40:10 +0100

[Please post in-line if possible, it makes the text easier to follow...]

> -----Original Message-----
> From: Cooke, Mark [mailto:mark.cooke_at_siemens.com]
> Sent: Friday, August 31, 2012 2:18 AM
> To: users_at_subversion.apache.org
> Cc: Elena Feroe
> Subject: RE: Deleting Files
>
> > -----Original Message-----
> > From: Elena Feroe [mailto:eferoe_at_imageworkscorporation.com]
> > Sent: 30 August 2012 21:32
> > To: users_at_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
>
> -----Original Message-----
> From: Elena Feroe [mailto:eferoe_at_imageworkscorporation.com]
> Sent: 31 August 2012 13:47
> To: Cooke, Mark; users_at_subversion.apache.org
> Subject: RE: Deleting Files
>
> 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.

....so you do not have any subversion plugin installed for netbeans?

> 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.

OK

> Recently though, 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'm sorry but I'm not familiar with java and how jar files work. In theory, if you are just running the .jar (outside netbeans?) then I do not see how TortoiseSVN could be involved. Could you try uninstalling tortoise and running the .jar a few times to see if it still happens? This might take a while and difficult to prove a negative...

Alternatively, you don't have some sort of scheduled task running in the background? How regular is "every few days"?

> 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.

Sorry I couldn't help much, perhaps someone else familiar with netbeans is available?

~ mark c

P.S. TortoiseSVN has its own mailing list, have you checked their archive?
http://tortoisesvn.tigris.org/list_etiquette.html
Received on 2012-08-31 15:40:48 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.