From: Mike W. - de B. <M.W...@tr...> - 2005-06-05 10:51:36
|
Hi Keats, I know that you are all very busy, I have the same problem? [But it's nice to have work nowadays ;-) ] JUnit tests? Sorry, I haven't used it... maybe it is a good testing tool for me also... Ill look into it when I have the time. However, the files are tested in a live environment by me and Marcel H. I hope that we can make WM stronger and more appreciated by a larger community... with all kinds of improvements... even the small ones :-) Greetings, Mike Ps. I have forgotten to thank you for adjusting #eval (to evaluate Strings) it's precisely what I needed... -----Oorspronkelijk bericht----- Van: Keats Kirsch [mailto:ke...@xa...] Verzonden: vrijdag 3 juni 2005 21:16 Aan: Mike Weerdenburg - de Bruin Onderwerp: Re: FW: [WebMacro-user] WebMacro 2.0 release? / Items that are modified or added by Mike W / Marcel H Hey Mike, Sorry, I don't mean to ignore you. I think your additions are cool and I will try to incorporate them into the code base before our final 2.0 release. If you happen to have any JUnit tests that would help. Keats Mike Weerdenburg - de Bruin wrote: >Hello Keats, > >I think it is super that there is action in the WM community at this >moment... > >Maybe my question is not so interresting for you guys, but I wouldt like to >see some updates in the following files. > >I have put them a while ago into the mailing list, but nothing hapend with >it? > >It would be verry nice if you want to adjust/add the files into the source. > >--- > >1) adjusted DefaultDirective (see attachment). > >Made #default pre wm2 compatible. >#default $myVar to "value" has been deprecated, but NOW it still works! >Verry usefull for migration to WM 2 > >It generates a warning if LogLevel.directive: NOTICE >This is a neat trick to log all the occurences and replace them! >Log-example: ../my.wmt:34.2 uses #default $border to "default", please use: >#default $border = "default" > > >2) adjusted LogFile (see attachment) > >ChangeLog: > >14-01-2005 (Mike Weerdenburg) >LogFilePerDay >It was : >exampl. c:/logs/wm.log -> c:/logs/wm.log_20050105 > >Now it is (this is more logical): >exampl. c:/logs/wm.log -> c:/logs/wm_20050105.log > >Write a message to the 'old' logfile when switching to a 'new' one. > >17-07-2002 (Marcel Huijkman) >setting for WebMacro.properties added >LogFilePerDay >usage: >LogFilePerDay=FALSE or TRUE > >LogFileAutoFlush >usage: >LogFileAutoFlush=FALSE or TRUE >(Notice: Only handy when developing on a Operating system, that buffers >file-writing, not recommended for production, since it obviously slows down >the machine.) > >??? OPTIONAL ??? > >3) new WhileDirective (see attachment) > >Just have fun with it... > >Syntax: #while (condition) [limit (int)] { block } WhileDirective implements >a WebMacro directive for an while control structure. If you use it without >the limit option than it stops after 1000000 loops! Use a limit value < 0 to >create a loop without a limit, this could hang your template! > >--- > >Greetings >Mike Weerdenburg |