How to achieve that Eclipse clean and build (aka r

2019-01-16 22:53发布

I deleted my ./bin folder in an Eclipse Indigo (super similar to Helios), and now I am wondering how to rebuild my Java project. I just cannot find a button like we can see in Netbeans.

2条回答
在下西门庆
2楼-- · 2019-01-16 23:37

For Eclipse you can find the rebuild option under Project > Clean and then select the project you want to clean up... that's all.

Eclipse Clean projects selected below

This will build your project and create a new bin folder.

查看更多
够拽才男人
3楼-- · 2019-01-17 00:00

In Eclipse there is an "Auto Build" option, which is checked by default. When it is checked, you don't need to build your project, this happens automatically. If this behaviour is unwanted, uncheck this option and click build project whenever you want.

To clean a project, select Clean Project. This will delete the bin folder, however if Auto build is checked, it will be immediatelly regenerated.

查看更多
登录 后发表回答