How do I configure eclipse to automatically refresh a project as part of it's build?

后端 未结 3 1865
后悔当初
后悔当初 2021-02-20 01:06

I have a maven plugin generating some code for eclipse to build, but I have to manually refresh the project before eclipse sees the code.

How can I make eclipse automati

3条回答
  •  臣服心动
    2021-02-20 01:36

    Depending on how you run your Maven plugin, it may just refresh the project automatically. That is how it normally works in m2eclipse.

    Also, you can configure a custom builder Project Properties / Builders / New... / Program and select some dummy command to run (e.g. C:\cygwin\bin\date.exe) and then configure project refresh settings.

提交回复
热议问题