Sending Designer into endless loops with "Recompile all"
... or to hell... Currently I'm trying to build an LS framework, which is runtime configurable. Instead of using static functions or simple class extention, I try to build an object graph, where each object adds some functionality. So something which needs to run after a Document is saved will add a observer to the document model and do the work in the right callback method. This results in small objects and class libs, but lots of use of "Use". Unfortunatelly designer seems to be unable to cope with this. Right now I'm in a situation, where designer compiles my code, if I press strg+s, but is sent into an endless loop if I use "Recompile all Lotusscript".
Other fun includes "Use" ordering: this compiles with strg+s (but sends "Recompile all" into an endless loop):
Use "class::logger" Use "de.katzien.App.Infomail" Use "de.katzien.App.InfomailDB" Use "de.katzien.ls.Email"
this not:
Use "class::logger" Use "de.katzien.App.InfomailDB" Use "de.katzien.App.Infomail" Use "de.katzien.ls.Email"
The only change is the ordering... Error: Duplicate PUBLIC Name "CHANGE_LISTENER_EVENT_BEFORE_CHANGING" in USE de.katzien.App.Infomail This name is the public Const in script lib "MonitoringCapability", which is use'd directly by .App.Infomail and indirectly by .App.InfomailDB (uses InfomailEntry which uses MonitoringCapability). setting this to private just ends up with the next error and I can't set a complete class to private if I want to use that class in some other lib...
And don't even ask about "Illegal Circular Use".
@IBM: Please improve the Compiler for LotusScript!
|
Sending Designer into endless loops with "Recompil...
|
1 Jan Schulz Permalink Problem fixed: Scriptlib Name was too long: http://www.bleedyellow.com/blogs/jasc/entry/compile_problem_fixed_scripname_was_too_long