views:

98

answers:

1

Hello !

I duplicated some folder with project's config to a new project a few days ago and made there some modifications (project name, paths, etc). After few days a source config dir has changed and I am wondering how to diff that folders in 2 projects to apply that changes in new project.

If I select source file and then new file and select diff option in Netbeans - it works. But is it possible to make in on whole folder ?

A: 

NetBeans does not have that feature.

You could probably hack together a shell script that would do this, based on find, etc. This search for 'diff a directory tree' looks like it has some good answer.

I would recommend that you put your source code under some sort of source code control system like CVS, SVN or Mercurial.

You could use those tools to generate a diff of the original project's config between the date you made the copy and 'now'... and then apply that diff onto the copy of the project...

Or, you could apply some of the strategies described in CVS manual for handling third party sources. I think the same concepts are available for svn and mercurial.

vkraemer