I have Compile Dependent Classes checked and that used to work.
One symptoms: Compile superclass, but the subclasses look like they
are compiling, but they don't work until I individually compile them.
It seems that in this and other cases a real compile is not being
forced. What can I do to tell it that I really do want to compile a
class so that it doesn't decide maybe I don't need to do so? I know I
have this problem with compiler options of ckbo1. I think I also have
it when not optimizing properties. Is that relevant to whether or not
it decides to do a compile of a dependent class?
Please advise. How do you set your compiler options so they work?
Might this be an issue for [language = mvbasic] and not for others
(otherwise I would expect more folks to have had this same issue)?
Thanks for any suggestions before I try to dive in and nail this down
so that I can once again compile without fear of messing up everything
in a namespace (when changing a superclass or a persistent class, for
example).
--
Dawn M. Wolthuis
Take and give some delight today
If you post the compiler output it might help. I'm not sure what you
mean by "look like they are compiling"
One other flag that I use in pre-2010 versions is -u, this flag affects
incremental compiling(so -u prevents incremental compiles); the class
compiler cannot always detect JavaScript changes when doing incremental
compiles. From what I have seen the improvements in speed of the 2009.1
compiler over previous versions make the incremental compile a less
significant benefit anyway.
HTH
Derek
Dawn Wolthuis wrote (10/16/09 10:02 AM):
Because of other issues (not being able to cleanly delete classes from
Studio) yesterday, at the advice of the WRC, I did a $$RebuildIndex on
our development namespace
Then I executed
Do $System.OBJ.CompileAll("kyrb-lo3",.zerr)
(I did not research all of the parameters, but used what Peter said he uses)
So, I'm starting fresh and will a) cross my fingers that all compiling
will be happy now and b) look further into any specific issues I find
from here.
To be clear -- we had ZERO confusing compiling issues prior to 2009.1,
so the compiler has been a workhorse that did its job and I was not
concerned every time I clicked the compile button in Studio that I
might be messing up everyone else like I have been of late. Of course
we compile classes in an order so that components compile before pages
and such, but in the past when we got the order wrong, we understood
the scenario and fixed it. I do not yet understand what all has
changed here and what to do to keep from having such problems.
If I am understanding, it sounds like maybe we have to CHANGE OUR
SOURCE CODE(really?) in order to get accurate compiles now, rather
than simply compiling classes in the right order. Is that an accurate
understanding? Am I sounding whiny this morning or what? Apologies. I
saw the Michael Jackson film last night, so I'll add "It's all love"
thanks --dawn