Skip to main content



      Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Deletion of existing classes in same package(Classes added manually within same package are getting deleted when texo generates code.)
Deletion of existing classes in same package [message #1004572] Wed, 23 January 2013 08:32 Go to next message
Eclipse UserFriend
Hi,

Classes created manually in a package are getting deleted when texo generates code. These classes are not part of the model file and they reside in the same package as the ones in the model file.

How can we avoid such scenario?

thanks,
Pradeep V.B.
Re: Deletion of existing classes in same package [message #1004606 is a reply to message #1004572] Wed, 23 January 2013 09:36 Go to previous messageGo to next message
Eclipse UserFriend
Hi Pradeep,

Do you use a separate source folder for your manually written code ?

Donat
Re: Deletion of existing classes in same package [message #1004615 is a reply to message #1004606] Wed, 23 January 2013 09:49 Go to previous messageGo to next message
Eclipse UserFriend
Hi Pradeep,
Yes as Donat notes, this is the way to work with this, place your manual classes in a separate source folder. Texo
automatically removes non-used files to handle removal of eclasses/enums from the model.

gr. Martin

On 01/23/2013 03:36 PM, Donat Mueller wrote:
> Hi Pradeep,
>
> Do you use a separate source folder for your manually written code ?
>
> Donat


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@xxxxxxxx - mtaal@xxxxxxxx
Web: www.springsite.com - www.elver.org
Re: Deletion of existing classes in same package [message #1004616 is a reply to message #1004606] Wed, 23 January 2013 09:49 Go to previous message
Eclipse UserFriend
Hi Pradeep,
Yes as Donat notes, this is the way to work with this, place your manual classes in a separate source folder. Texo
automatically removes non-used files to handle removal of eclasses/enums from the model.

gr. Martin

On 01/23/2013 03:36 PM, Donat Mueller wrote:
> Hi Pradeep,
>
> Do you use a separate source folder for your manually written code ?
>
> Donat


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@xxxxxxxx - mtaal@xxxxxxxx
Web: www.springsite.com - www.elver.org
Previous Topic:[Texo] Errors while generating model code
Next Topic:Disable generation of ModelFactory and ModelPackage
Goto Forum:
  


Current Time: Wed Jul 23 14:59:50 EDT 2025

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

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

Back to the top