Skip to main content



      Home
Home » Modeling » EMF » Is there a way to delete all generated code?
Is there a way to delete all generated code? [message #508913] Wed, 20 January 2010 12:17 Go to next message
Eclipse UserFriend
The subject says all :)

I would like to clean-up a project from all EMF-generated code in order
to do a clean rebuild.

Is it possible?
I have a model derived from annotated java and deleting all @generated
methods is a bit tedious.

TiA
Mauro
Re: Is there a way to delete all generated code? [message #508933 is a reply to message #508913] Wed, 20 January 2010 12:43 Go to previous message
Eclipse UserFriend
Mauro,

When you regenerate, all old @generated things that haven't been
regenerated are automatically swept out (with the exception of imports,
because they can't be annotated, and entire files, because they might
contain hand written code) so there's no need for a manual step. In any
case, no, there's no way to delete all @generated things.


Mauro Condarelli wrote:
> The subject says all :)
>
> I would like to clean-up a project from all EMF-generated code in
> order to do a clean rebuild.
>
> Is it possible?
> I have a model derived from annotated java and deleting all @generated
> methods is a bit tedious.
>
> TiA
> Mauro
Previous Topic:dialog box to confirm delete
Next Topic:EObject to String
Goto Forum:
  


Current Time: Thu Jul 03 19:27:06 EDT 2025

Powered by FUDForum. Page generated in 0.04246 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top