开发者

Handling the export in eclipse thru a plugin

开发者 https://www.devze.com 2023-03-08 23:52 出处:网络
I have a java application that have different settings and dependency versions depending on the company branch it is install in.

I have a java application that have different settings and dependency versions depending on the company branch it is install in.

So what I did is to create a plugin that create an开发者_如何学JAVA item in the right click context menu of the project in eclipse to make these changes.

However I am wondering if its possible to catch the OnExport event of eclispe (if it exists) and do this automatically everytime the solution is exported.

Would this be possible?

Many thanks


If I understand what you're asking correctly, the Eclipse way to do this would be to write a Builder and add it to the project; then the settings file would be rebuilt whenever it's appropriate, making an up-to-date version always available to export. Here is a good place to start learning about how to do this.

0

精彩评论

暂无评论...
验证码 换一张
取 消