Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to modify eclipse workspace via command-line?

Is it possible to access/manipulate an eclipse workspace via command-line?
I'm primarily asking about the workspace metadata rather than the files itself.

E.g. do things like

  • modify resource attributes (e.g. settings some resources to derived)
  • import existing projects
  • access markers
like image 692
MRalwasser Avatar asked Mar 06 '13 17:03

MRalwasser


1 Answers

There are no command-line (headless) tools that I know of to perform these types of tasks. There are a few scripting projects for Eclipse out there that would provide a light-weight, scriptable interface to using the Eclipse API, however, none of them have command line available, I believe all of those scripting tools are UI based.

Another option would be to use Eclipse SDK to build an Eclipse application (headless app) that uses the Eclipse application model to perform the commands you wanted, but you would have to write the code yourself.

like image 91
gamerson Avatar answered Oct 18 '22 14:10

gamerson