[ref_impl_eiffel] [690] Fix a bug caused by the recent change that made
Revision: 690
Author: peter.gummer
Date: 2008-07-29 03:20:00 +0100 (Tue, 29 Jul 2008)
Log Message:
-----------
Fix a bug caused by the recent change that made clean_generated_files
reliant on the build status of the archetype repository. Previously, it
simply swept through the repository directories, deleting all .adls
files. This was used to be done automatically and silently the first
time the user ran a newly-installed update of ADL Workbench, in order
to ensure that any old incompatible .adls files would not be left lying
around to cause trouble. But now that clean_generated_files relies on a
build, this no longer works; instead, ADL Workbench displayed a
confusing information dialog as soon as it started up. The fix is
simply not to call clean_generated_files at all during start-up. The
trouble is, it is no longer removing old .adls files, so we again have
the situation where they are left lying around to cause problems.
Perhaps we should reinstate the old clean_generated_files routine, but
with a different name, to be called only during start-up. If so, then
we would remove the routine again immediately after the next public
release of ADL Workbench.
Modified Paths:
--------------
TRUNK/apps/adl_workbench/src/main/main_window.e
_______________________________________________
Ref_impl_eiffel mailing list
Ref_impl_eiffel@openehr.org
http://lists.chime.ucl.ac.uk/mailman/listinfo/ref_impl_eiffel