views:

59

answers:

2

I want to write a plug-in which tracks the updates to a text file and stores them in a separate file.

Should I first write a simple java program which does this and then try to convert it into a plug-in?

+1  A: 

Pretty much. It's just a matter of adapting to the set of APIs laid out for plugin development. If you develop your program in a modular way, switching from stand-alone to plugin shouldn't be too hard.

Matthew Flaschen
+2  A: 

I would suggest to start writing a plugin. Eclipse has it's own notion of the file system. You may save you a lot of work and trouble when you use this API directly. And the result will be much better integrated into eclipse.

You may start reading about the API here: http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/resInt.htm

Arne