When you say Refresh, do you mean File > Refresh? If so the Eclipse workspace has methods to add, remove or refresh files if you can't go through the workspace API to change them.
On 25 July 2011 02:33, <[email protected]> wrote: > Yes I was talking about Project->Clean and not "mvn clean". > > At this point, doing a Project->Clean doesn't refresh eclipse workspace. > > My question was, should it not? What about generated-sources? Should it be > called after clean? > > > On , Igor Fedorenko <[email protected]> wrote: > > What do you mean "clean", Project->Clean... action in Eclipse or "mvn > > > > clean" on command line. > > > > > > > > Generally, m2e is not expected to recover from "mvn clean" ran from > > > > command line, but Project->Clean... expected to work. For this to work, > > > > build participant's #clean(IProgressMonitor) should delete all generated > > > > sources, but in many cases this is not easy to implement because of > > > > discrepancy between how maven and eclipse approach. > > > > > > > > -- > > > > Regards, > > > > Igor > > > > > > > > On 11-07-25 4:51 AM, Pino Silvaggio wrote: > > > > > > What is the desired behaviour for a connector supporting code generation? > > > > > > > > For example, if I "clean" a project shouldn't the connector rebuild > > > > everything? > > > > > > > > Because as it stands right now the project becomes stale > > > > and we have to explicitly recompile (build) to make it refresh. > > > > > > > > Not so clean in my opinion. > > > > > > > > > > _______________________________________________ > > > > m2e-users mailing list > > > > [email protected] > > > > https://dev.eclipse.org/mailman/listinfo/m2e-users > > > > > > _______________________________________________ > m2e-users mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/m2e-users > >
_______________________________________________ m2e-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/m2e-users
