automation - How can I (externally) automate or script the creation and duplication of projects in Eclipse? -
I work on many different projects which use the facility branches; This means that each facility is implemented on an independent branch. I have to quickly switch between branches, or have to test different branches against each other (to see if a branch introduces test failures, or a server against another program in another branch To use the client program in the branch). Practically speaking, in eclipse, this means that I need a project for each separate branch in my work area.
I already have a small external Python script, which is . The project creates and .pydevproject files, but I still have to click "Browse", "Import", "Current Project in Work", "Browse", then File Select "Finish", then "Finish". Eventually, I have to wait to re-scan the "new" source code for the eclipse, even if it is similar to the second copy of my project which is in my workspace.
I would like to automate any of these steps. Is there a way to connect the script to Eclipse and tell it that this functionality? Understand correctly, IMHO is your best choice to keep separate workspaces with different branches and leave them among them that can help in synchronizing the preferences between workstations.
Scripting in Eclipse is still a challenge. Some plugins offer some basic functionality, but nothing is official or commonly used.
Another option is to control the Eclipse form in the form of a script in the operating system level. It depends on the platform you use.
If you really are in your hands getting dirty, then this work can be done by a plugin. You can write one yourself, but it includes some major coding efforts.
Comments
Post a Comment