Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 13:32 Go to next message
Pradeep Badiger is currently offline Pradeep BadigerFriend
Messages: 53
Registered: November 2012
Member
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 14:36 Go to previous messageGo to next message
Donat Mueller is currently offline Donat MuellerFriend
Messages: 11
Registered: January 2013
Location: switzerland
Junior Member
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 14:49 Go to previous messageGo to next message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
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 14:49 Go to previous message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
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: Thu Mar 28 11:15:49 GMT 2024

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

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

Back to the top