Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 126892 - Setting to recompile templates each time the generator is called
Summary: Setting to recompile templates each time the generator is called
Status: VERIFIED FIXED
Alias: None
Product: EMF
Classification: Modeling
Component: Tools (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Nick Boldt CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 75925
Blocks:
  Show dependency tree
 
Reported: 2006-02-08 07:12 EST by Oliver Olesen CLA
Modified: 2008-01-28 16:46 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Olesen CLA 2006-02-08 07:12:15 EST
In the properties of the genmodel I could imagine a setting in the section "Templates and Merge" that allows to recompile the JET templates each time the generator is called.

Recompilation might be quite expensive and hence slow down the generation process, but it probably is even slower and definitly more annoying to reopen the generator every time.

This issue is also discussed in the EMF newsgroup thread "Re: Dynamic Templates - What can I expect to happen", February 8th.
Comment 1 Dave Steinberg CLA 2006-05-02 13:50:17 EDT
This was addressed in bug 75925.

Dynamic templates will now be rebuilt each time you generate code.  Unfortunately, there was a bug in the code I committed yesterday (that's in RC2), so that they were rebuilding for each instance of each model element (e.g. for each class) within a single code generation operation), but I've just fixed that in CVS.
Comment 2 Nick Boldt CLA 2008-01-28 16:46:20 EST
Move to verified as per bug 206558.