I have a SVN repo for a Javascript web frontend.
After checkout
I need to modify some file for fit the project to development environment.
I'm doing that by hand every time but it would be handy if the operation can be automated by Eclipse.
Is it possible with Subclipse/Ecplise to execute a task after SVN checkout
?
答案 0 :(得分:0)
我相信你需要编写一个Eclipse插件。然后,您可以挂钩事件并运行您的代码。可能有很多方法可以做到这一点,但想到的一个方法就是创建一个“Builder”。然后,您可以将此Builder与项目关联,它将存储在.project文件中,以便在项目签出时自动添加。正如Builders知道在项目签出后编译你的.java代码一样,你的构建器会做你想要发生的事情。