You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(4) |
Nov
(28) |
Dec
(47) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(103) |
Feb
(44) |
Mar
(65) |
Apr
(140) |
May
(72) |
Jun
(233) |
Jul
(466) |
Aug
(51) |
Sep
(2) |
Oct
(17) |
Nov
(1) |
Dec
(7) |
2004 |
Jan
(8) |
Feb
(5) |
Mar
(28) |
Apr
(9) |
May
(7) |
Jun
|
Jul
(7) |
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
2005 |
Jan
(1) |
Feb
|
Mar
|
Apr
(3) |
May
(24) |
Jun
(7) |
Jul
(2) |
Aug
|
Sep
|
Oct
(4) |
Nov
(3) |
Dec
(12) |
2006 |
Jan
|
Feb
(3) |
Mar
(8) |
Apr
(59) |
May
|
Jun
|
Jul
|
Aug
(24) |
Sep
|
Oct
|
Nov
|
Dec
(3) |
2007 |
Jan
|
Feb
|
Mar
|
Apr
(8) |
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
(7) |
Dec
(3) |
2008 |
Jan
|
Feb
(1) |
Mar
(16) |
Apr
(2) |
May
(2) |
Jun
|
Jul
(11) |
Aug
(3) |
Sep
(9) |
Oct
(9) |
Nov
(44) |
Dec
(34) |
2009 |
Jan
(12) |
Feb
(14) |
Mar
(11) |
Apr
(16) |
May
(41) |
Jun
(19) |
Jul
(33) |
Aug
(8) |
Sep
(3) |
Oct
|
Nov
|
Dec
(7) |
2010 |
Jan
(8) |
Feb
(50) |
Mar
(3) |
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(16) |
Dec
|
2012 |
Jan
|
Feb
|
Mar
|
Apr
(3) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Carl H. S. <ca...@da...> - 2007-11-06 18:51:59
|
Actually, I have two legacy projects that still use Webmacro. I do refer to the site every so often, as it has the best documentation. It would be a shame for it to go away. Carl Eric B.Ridge wrote: > Hey guys, we're getting ready to abandon our hosting of > www.webmacro.org for a number of reasons. I'm for this because a) > WebMacro seems dead :(, b) The site has been "graffiti'd" to death, > and c) I no longer have time to maintain it. > > Concerning C above, while I still work at TCDI, I'm now just a part- > time employee and the majority of my time is being spent running my > new pool room/bar. > > Do any of you have the time and desire to host it? > > eric > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Webmacro-devel mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/webmacro-devel > > |
From: Eric B. R. <eb...@tc...> - 2007-11-06 18:12:27
|
Hey guys, we're getting ready to abandon our hosting of www.webmacro.org for a number of reasons. I'm for this because a) WebMacro seems dead :(, b) The site has been "graffiti'd" to death, and c) I no longer have time to maintain it. Concerning C above, while I still work at TCDI, I'm now just a part- time employee and the majority of my time is being spent running my new pool room/bar. Do any of you have the time and desire to host it? eric |
From: Tim P. <ti...@pa...> - 2007-07-05 18:41:46
|
Hi, I have fixed a few spam defacements on the wiki. But can't do anything about the sitemap. I attach a test for the Base64 module. It appears that it is not idempotent. cheers TimP -- Every byte is sacred. |
From: Brian G. <br...@qu...> - 2007-04-04 21:38:36
|
> (P.S. I like the reference to Brian's book in your example. I haven't > finished reading it yet, but it's gotten great reviews.) I like any reference to Brian's book. |
From: Keats K. <ke...@xa...> - 2007-04-04 21:29:28
|
Marc Palmer wrote: > Hi guys, > > Wondering if any of you are still around on this list :) I'm still around, and still using WM for various applications. I haven't done any WM development for a while. It pretty much does everything I want it to. I do still want to rip out the logging stuff, but it hasn't risen to top of my queue. I still think dynamic text templates are incredibly useful for lot's of things, and nobody does it better than WM. The Grails stuff looks pretty cool. I'll try to check it out sometime. (P.S. I like the reference to Brian's book in your example. I haven't finished reading it yet, but it's gotten great reviews.) Keats |
From: Marc P. <ma...@an...> - 2007-04-04 21:12:57
|
On 4 Apr 2007, at 20:36, Eric B. Ridge wrote: > On Apr 4, 2007, at 5:58 AM, Marc Palmer wrote: > >> Hi guys, >> >> Wondering if any of you are still around on this list :) > > Still around. Just haven't had anything to say. > >> So it seems like WebMacro is fading into legacyware... a bit of a >> shame. I stopped using it this year, after writing an app framework >> using Spring + WebMacro + Groovy to script websites. > > We're still using WM daily here at TCDI. Couldn't live without > it. Sometimes I think it'd be fun to migrate our main application > over to something like Grails but the cost doesn't seem worth it. > It's hard to justify rewriting 1000+ templates, making major > changes to the corresponding controller classes, and mucking with > the backend data model to fit a different framework. > >> It's early days yet for Grails but I'm already running 2 commercial >> sites on it, 3rd next week. > > Anything on the public internet you can link? I'd like to see > something more complete than the "BookController" created in that > screencast. Oh also, check out Glen Smith's Groovyblogs site. A grails RSS aggregator he wrote in... 22 hours. The source is available for download too. http://groovyblogs.org Src: http://www.bytecode.com.au/downloads/grails/ Stats showing lines of code (including comments total 1825): http:// blogs.bytecode.com.au:80/glen/2007/03/05/1173087379831.html And aboutgroovy.com is written in it, but is rather basic at the moment. http://aboutgroovy.com Marc |
From: Marc P. <ma...@an...> - 2007-04-04 21:08:04
|
On 4 Apr 2007, at 20:36, Eric B. Ridge wrote: > On Apr 4, 2007, at 5:58 AM, Marc Palmer wrote: > >> Hi guys, >> >> Wondering if any of you are still around on this list :) > > Still around. Just haven't had anything to say. > >> So it seems like WebMacro is fading into legacyware... a bit of a >> shame. I stopped using it this year, after writing an app framework >> using Spring + WebMacro + Groovy to script websites. > > We're still using WM daily here at TCDI. Couldn't live without > it. Sometimes I think it'd be fun to migrate our main application > over to something like Grails but the cost doesn't seem worth it. > It's hard to justify rewriting 1000+ templates, making major > changes to the corresponding controller classes, and mucking with > the backend data model to fit a different framework. > No, that would indeed be madness. Also you'd be moving to hibernate I imagine which might complicate the DB stuff. It's definitely doable but not profitable unless you're doing lots more coding in the future and the convention+dynamic stuff will give you a good enough productivity boost. But the most important thing about Grails is that there's always Java behind the scenes. You can call into your existing code from Groovy 100% seamlessly. >> It's early days yet for Grails but I'm already running 2 commercial >> sites on it, 3rd next week. > > Anything on the public internet you can link? I'd like to see > something more complete than the "BookController" created in that > screencast. > www.tropicana.co.uk (the orange juice people, PepsiCo owned) www.copellafruitjuices.co.uk (a leading UK apple juice brand, also PepsiCo) They're bog standard websites pretty much, pending some evolution that is in the pipeline. Form data capture to SQL + email sending, visitor info tracking + storage + recall. Copella has a weather feed that is pulled in from XML once an hour and displayed on some of the pages. The thing is, we're talking a few hundred lines of code for the entire site. It's amazing, and actually enjoyable. >> Anyway, I am sad to leave WebMacro behind - it has served me well. > > And you've served WM well over the years. Ya don't have to leave, > you can still lurk. LOL thanks. I mean leave as in stop using WM, not the lists. There's nothing on the lists anyway :( Here's my frank feelings on WM: I would have liked to make a pluggable view for Grails for WM, to inject some life back into WM and leverage what I believe is still the best view language out there. Doing this work would be extremely painful because of WM's ugly internal implementation, introspection issues with Groovy code, the Broker (argh kill it please someone), configuration, use of singletons/static methods etc - and lack of support from the community. I tried to get people interested in refactoring it so that configuration could be improved, and beans wired together with Spring IoC (not requiring Spring, just supporting it by using proper bean approaches). Nobody seemed to want to help, and few really supported the idea - which seems like madness. WM is fine in existing/old applications, but it sticks out like a sore thumb in new build, it is simply behind the times and clunky to get going. This is probably very well demonstrated by the fact that nobody has any motivation to improve it, it is just sitting in old apps. There is therefore no motivation to do the work other than my individual devotion to WM. I'd rather spend my time working on Grails core code because I have little time for this kind of stuff and Grails' GSP works well - albeit with some performance tuning needed in future. Lastly, I don't think whatever anybody does, WM doesn't have a cat's chance in hell of being widely used on new projects. Velocity has completely eclipsed it, the documentation is of higher quality and there's more of it, and there's much more of a community around it - at least last time I looked. I don't mean to be pessimistic, I think I'm just being realistic. I still work on apps that use WM, but its not attractive compared to other options now (even Velocity perhaps) because of its clunky innards. In performance and elegance terms, it still completely kicks ass :) Marc ~ ~ ~ Marc Palmer Blog - http://www.anyware.co.uk/ |
From: Eric B. R. <eb...@tc...> - 2007-04-04 19:37:37
|
On Apr 4, 2007, at 5:58 AM, Marc Palmer wrote: > Hi guys, > > Wondering if any of you are still around on this list :) Still around. Just haven't had anything to say. > So it seems like WebMacro is fading into legacyware... a bit of a > shame. I stopped using it this year, after writing an app framework > using Spring + WebMacro + Groovy to script websites. We're still using WM daily here at TCDI. Couldn't live without it. Sometimes I think it'd be fun to migrate our main application over to something like Grails but the cost doesn't seem worth it. It's hard to justify rewriting 1000+ templates, making major changes to the corresponding controller classes, and mucking with the backend data model to fit a different framework. > It's early days yet for Grails but I'm already running 2 commercial > sites on it, 3rd next week. Anything on the public internet you can link? I'd like to see something more complete than the "BookController" created in that screencast. > Anyway, I am sad to leave WebMacro behind - it has served me well. And you've served WM well over the years. Ya don't have to leave, you can still lurk. eric |
From: Tim P. <ti...@pa...> - 2007-04-04 18:41:57
|
On Wednesday 04 April 2007 12:56, marcelloh wrote: > Hi Marc & other MW-lovers :-), > > I've used WM for all my miniprojects, and still love it a lot. [snip] > > Don't leave us! WM is also your kid :-) > > Well, that it for now. > Oh BTW, legacy! It does it's job, has no noticable errors, but legacy, > no man! > It's a mature product :-) > > Bye from Holland, > Marcel > > Marc Palmer wrote: > > Hi guys, > > > > Wondering if any of you are still around on this list :) > > > > So it seems like WebMacro is fading into legacyware... a bit of a > > shame. I stopped using it this year, after writing an app framework > > using Spring + WebMacro + Groovy to script websites. I am still picking up speed as a programmer, though I have been doing it for 25 years. I still like WebMacro a lot. On this issue of lagacyware I think that there is a lot of good old software that is dieing. I have done a lot of work to keep http://melati.org/ from dieing, but still I am the only user. I have the only online copy of Bian's htmlparser : http://paneris.net/htmlparser I am currently engaged in trying to save the JavaCC crew from oblivion: http://paneris.net/javacc/ WM, Velocity and htmlparser all rely upon JavaCC, so it is my hope that I can update all three in lockstep. The conservative self-destruct instinct is alive and well in WebMacro land as well, just as on the javacc list when I offered to convert WebMacro to a Maven build and bring the code base up to modern style expectations I met with the 'it ain't broke don't fix it' response. I believe this to be wrong: any software written in java needs constant attention: the language, IDEs and tools are changing so fast that there is a need to polish and update almost without end. When a new user opens up a project in Eclipse and sees literally thousands of warnings their instinct is to turn away. I too hope to get to grails/ruby someday, but I want to finish WebMacro first :) cheers Tim |
From: <mar...@gm...> - 2007-04-04 11:56:00
|
Hi Marc & other MW-lovers :-), I've used WM for all my miniprojects, and still love it a lot. However, I also look around to see what anybody else is doing. My eyes were on Grails since the 0.2 version, and I like the idea's of code generation a lot. (and also on Groovy; from where I like XMLslurper the most.) I recently found: http://click.sourceforge.net/ which could have some potential as well. At my current job, we do almost everything with JSF & facelets. I hate it, but he..., it's only a job :-) When I choose, I still choose for WM. Simply because I've got many years of experience now, so development goes very fast. I've got tons of macro's out of the box, that do their purpose very well. Okay, perhaps somebody (or me, myself and I) should write something for the code generation part. But that also could be a new exiting adventure. Don't leave us! WM is also your kid :-) Well, that it for now. Oh BTW, legacy! It does it's job, has no noticable errors, but legacy, no man! It's a mature product :-) Bye from Holland, Marcel Marc Palmer wrote: > Hi guys, > > Wondering if any of you are still around on this list :) > > So it seems like WebMacro is fading into legacyware... a bit of a > shame. I stopped using it this year, after writing an app framework > using Spring + WebMacro + Groovy to script websites. > > I've now moved to using Grails for my sites and am contributing to > the project quite a bit. Grails ties together Java, Groovy, > Hibernate, Spring, SiteMesh, Unit testing and coding by convention > (similar to Ruby on Rails) to brilliant effect. The wrapping of > Hibernate can make you foam at the mouth - persistence made almost > trivial. You can have a prototype DB app running in minutes. Check > out the scaffolding screencast: > > http://grails.org/Grails+Screencasts > > ...although scaffolding, as in Ruby on Rails, is really just a > headline grabber. There's so much more under the covers like dynamic > ORM finder methods: > > // You write NO code to add this method to your Book domain class > results = Book.findAllByAuthorAndTitleLike('Brian Goetz', '%Java%') > > Also there are dynamic taglibs, runtime reloading of changes to code > without a container restart etc. > > I'd love to see some of you guys check out Grails and maybe bring > some of your experience making great webapps the right way (with > WebMacro!) to the project. > > It's early days yet for Grails but I'm already running 2 commercial > sites on it, 3rd next week. > > The view technology is "GSP" - like JSP but using Groovy and without > the sucky bits. It's not bad but still permits groovy scripting > inline like JSP does with Java, although sane people don't do it. > > I did want to have a pluggable view mechanism for WebMacro/Velocity > in it but have put that desire aside because of the complications - > it would be a massive job for WebMacro at least, as the introspection > mechanism would need to be overhauled to be Groovy-aware. For those > not in the loop, Groovy is a dynamic language and all property/method > requests go through a MetaClass first, which can veto/augment > functionality at runtime. > > So that's a non-starter really given WebMacro's current architecture. > > Anyway, I am sad to leave WebMacro behind - it has served me well. > However I hope some of you make it over to http://www.grails.org and > try out v0.4.2 (0.5 snapshots are a bit flakey at the moment). We > have a vibrant community and team, it would be lovely to see you > there! I know some of you could bring real value to the project in > terms of concurrency and scalability experience. > > Drop me an email if you want to take Grails for a spin and would like > a tour. > > Marc Palmer > ~ ~ ~ > Marc Palmer > Blog - http://www.anyware.co.uk/ > > > > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Webmacro-devel mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/webmacro-devel > > |
From: Marc P. <ma...@an...> - 2007-04-04 09:58:35
|
Hi guys, Wondering if any of you are still around on this list :) So it seems like WebMacro is fading into legacyware... a bit of a shame. I stopped using it this year, after writing an app framework using Spring + WebMacro + Groovy to script websites. I've now moved to using Grails for my sites and am contributing to the project quite a bit. Grails ties together Java, Groovy, Hibernate, Spring, SiteMesh, Unit testing and coding by convention (similar to Ruby on Rails) to brilliant effect. The wrapping of Hibernate can make you foam at the mouth - persistence made almost trivial. You can have a prototype DB app running in minutes. Check out the scaffolding screencast: http://grails.org/Grails+Screencasts ...although scaffolding, as in Ruby on Rails, is really just a headline grabber. There's so much more under the covers like dynamic ORM finder methods: // You write NO code to add this method to your Book domain class results = Book.findAllByAuthorAndTitleLike('Brian Goetz', '%Java%') Also there are dynamic taglibs, runtime reloading of changes to code without a container restart etc. I'd love to see some of you guys check out Grails and maybe bring some of your experience making great webapps the right way (with WebMacro!) to the project. It's early days yet for Grails but I'm already running 2 commercial sites on it, 3rd next week. The view technology is "GSP" - like JSP but using Groovy and without the sucky bits. It's not bad but still permits groovy scripting inline like JSP does with Java, although sane people don't do it. I did want to have a pluggable view mechanism for WebMacro/Velocity in it but have put that desire aside because of the complications - it would be a massive job for WebMacro at least, as the introspection mechanism would need to be overhauled to be Groovy-aware. For those not in the loop, Groovy is a dynamic language and all property/method requests go through a MetaClass first, which can veto/augment functionality at runtime. So that's a non-starter really given WebMacro's current architecture. Anyway, I am sad to leave WebMacro behind - it has served me well. However I hope some of you make it over to http://www.grails.org and try out v0.4.2 (0.5 snapshots are a bit flakey at the moment). We have a vibrant community and team, it would be lovely to see you there! I know some of you could bring real value to the project in terms of concurrency and scalability experience. Drop me an email if you want to take Grails for a spin and would like a tour. Marc Palmer ~ ~ ~ Marc Palmer Blog - http://www.anyware.co.uk/ |
From: Alex F. <al...@fi...> - 2006-12-16 11:41:50
|
On Saturday 16 December 2006 11:33, nagalakshmi ramaraju wrote: > at my project ia musing webmacro. i have few doubts , give reply any one > give reply > > i can ask my doubt ask away! Alex > Thanks & Regards, > > Nagalakshmi Ramaraju > > Send free SMS to your Friends on Mobile from your Yahoo! Messenger. > Download Now! http://messenger.yahoo.com/download.php |
From: nagalakshmi r. <lak...@ya...> - 2006-12-16 11:33:54
|
at my project ia musing webmacro. i have few doubts , give reply any one give reply i can ask my doubt Thanks & Regards, Nagalakshmi Ramaraju Send free SMS to your Friends on Mobile from your Yahoo! Messenger. Download Now! http://messenger.yahoo.com/download.php |
From: nagalakshmi r. <lak...@ya...> - 2006-12-15 12:22:40
|
iam using webmacro concepts into my project . i have one doubt shall igive that question? Thanks & Regards, Nagalakshmi Ramaraju Send free SMS to your Friends on Mobile from your Yahoo! Messenger. Download Now! http://messenger.yahoo.com/download.php |
From: Marcello H <mar...@gm...> - 2006-08-28 10:08:14
|
Just made a local change to Expression.java (line 381) After puzzling for more than an hour on a "Objects not comparable" error. throw new PropertyException("Objects not comparable (" + l.getClass().getName() + " / " + r.getClass().getName() + ")"); I don't seem to have cvs write-acces (or it doesn't work from here). The solution is that it shows a litte more info about the var's that where used. (In my case, the second var was not used, so it told me: Objects not comparable (java.lang.Integer / org.webmacro.engine.UndefinedMacro) Which helped me a lot. Hope that somebody will check this in (since it could save people some time in the debugging-process). Greetings, Marcel |
From: Marcello H <mar...@gm...> - 2006-08-26 15:24:33
|
I3NldCAkUmVzcG9uc2UuQ29udGVudFR5cGUgPSAidGV4dC9odG1sOyIKTWFzdGVyIEJlZ2luPGhy Pgojc2V0ICR0bXBkaXI9ImM6XFxkYXRhXFx3ZWJzaXRlXFx0ZW1wbGF0ZXNcXCIKI2luY2x1ZGUg YXMgdGVtcGxhdGUgIiQodG1wZGlyKXNsYXZlLmh0bWwiCk1hc3RlciBFbmQ8aHI+ |
From: Keats K. <ke...@xa...> - 2006-08-26 12:43:02
|
I think you missed Lane's point; in your excerpt you spelled it #marco instead of #macro. If you still have issues, send a simple example that we can look at. Keats Marcello H wrote: > I spoke too soon :-( > > I simplyfied everything by putting it in the highest parent possible, > and there is works. > But in this nesting, it doesn't: > > Master > slave (where the macro is been called) and the include-directive is in. > > That's a shame :-( > > Hints are very welcome > > > 2006/8/26, Marcello H <mar...@gm... <mailto:mar...@gm...>>: > > I already tried that as well. > Did it with all uppercase, lowercase, renamed it to 'hello', to > 'test', but still the same effect. > Any other suggestions? > > I know that the file is included, because I wrote ' -- testme --' > on top. > It shows in the browser, if I make a comment of the macro-call. > (So that the error isn't showing.) > > Does it have something to do with the way (the order) that things > get parsed? > This error tells me that it looks that the parent-tenmplate is > parsed somehow before > the include. > > I could check this out by manipulating a variable in the include > (not in the macro). > If done this to check: > #set $myvar="before include" (in the parent) > #set $myvar="inside include" (in the included template, and just > before that, display $myvar) > #set $myvar="after include" (in the parent, after the include) > And it shows thjat the var is manipulated in the order that I > excpect: before, inside, after. > > Perhaps it has something to do with the fact that the parent is an > include as well, I don't know. > So let me include the macro in the higest parent possible. > Tested: That's also not working. > > I did some more researching, and found out some strange behaviour: > I've got some macro's working, those are included relative from > the parent. (They work!) > The one's that don't work, are absolute, with drive-letters and > full path-names. > I've debug the full-ones, and my slashed are forward slashes (the > did always work!) > Somehow with the latest java upgrade, they don't. > If changed them to backward-slash, and voila, it working like a charm. > > So this pitfall is found and closed....... > > > 2006/8/25, Lane Sharman < la...@op... > <mailto:la...@op...>>: > > try changing your spelling of macro? > > -Lane > > Marcello H wrote: > I've got a strange effect with a macro (in the latest CVS > release). > > <snip> > -- testme -- > #marco TestMe() > { > You've tested me...... > } > > #TestMe() > </snip> > > If I call the macro from within a template, it runs, but if a > put it in a separate file, it doesn't. > It's complaining about the missing macro. > I've tried include as macro, and include as template, both > don't work. > > Here a piece of logging: > > 25-08-2006 09:19:21.796 resource WARNING > BrokerTemplateProvider: Error occured while fetching > c:/data/website/templates/page_save.html > org.webmacro.engine.BuildException: #TestMe: no such Macro or > Directive at c:\data\website\templates\page_save.html:123.2 > at > org.webmacro.engine.MacroBuilder.build(MacroBuilder.java:66) > at org.webmacro.engine.BlockBuilder.build > (BlockBuilder.java:144) > at org.webmacro.engine.WMTemplate.parse(WMTemplate.java:185) > at > org.webmacro.resource.BrokerTemplateProviderHelper.load(BrokerTemplateProviderHelper.java:111) > at org.webmacro.resource.TemplateProvider.load > (TemplateProvider.java:196) > at > org.webmacro.resource.CachingProvider.load(CachingProvider.java:122) > at > org.webmacro.resource.ReloadingCacheManager.get(ReloadingCacheManager.java:204) > at org.webmacro.resource.CachingProvider.get > (CachingProvider.java:111) > at org.webmacro.Broker.get(Broker.java:862) > at > org.webmacro.directive.IncludeDirective.getTemplate(IncludeDirective.java:502) > at > org.webmacro.directive.IncludeDirective.getThingToInclude > (IncludeDirective.java:473) > at > org.webmacro.directive.IncludeDirective.write(IncludeDirective.java:384) > at org.webmacro.engine.Block.write(Block.java:145) > at org.webmacro.engine.Block.evaluate(Block.java :323) > at > org.webmacro.directive.SetblockDirective.write(SetblockDirective.java:92) > at org.webmacro.engine.Block.write(Block.java:145) > at > org.webmacro.directive.IfDirective.write(IfDirective.java:210) > at org.webmacro.engine.Block.write(Block.java:145) > at > org.webmacro.directive.IfDirective.write(IfDirective.java:210) > at org.webmacro.engine.Block.write(Block.java:184) > at org.webmacro.engine.WMTemplate.write (WMTemplate.java:324) > at > org.webmacro.directive.IncludeDirective.write(IncludeDirective.java:394) > at org.webmacro.engine.Block.write(Block.java:139) > at org.webmacro.engine.WMTemplate.write(WMTemplate.java :324) > at > org.webmacro.engine.WMTemplate.evaluateAsString(WMTemplate.java:253) > at prg.Wsf.writeOutput(Wsf.java:460) > at prg.Wsf.handleRequest(Wsf.java:391) > at prg.Wsf.service(Wsf.java:204) > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > > > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642> > > ------------------------------------------------------------------------ > > _______________________________________________ > Webmacro-devel mailing list > Web...@li... > > <mailto:Web...@li...> > https://lists.sourceforge.net/lists/listinfo/webmacro-devel > > > > > -- > Kindest Regards, > > Lane Sharman > 858-342-1415 > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web > services, security? > Get stuff done quickly with pre-integrated technology to make > your job easier > Download IBM WebSphere Application Server v.1.0.1 based on > Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642> > > _______________________________________________ > Webmacro-devel mailing list > Web...@li... > <mailto:Web...@li...> > https://lists.sourceforge.net/lists/listinfo/webmacro-devel > <https://lists.sourceforge.net/lists/listinfo/webmacro-devel> > > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > ------------------------------------------------------------------------ > > _______________________________________________ > Webmacro-devel mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/webmacro-devel > |
From: Marcello H <mar...@gm...> - 2006-08-26 07:06:08
|
I spoke too soon :-( I simplyfied everything by putting it in the highest parent possible, and there is works. But in this nesting, it doesn't: Master slave (where the macro is been called) and the include-directive is in. That's a shame :-( Hints are very welcome 2006/8/26, Marcello H <mar...@gm...>: > > I already tried that as well. > Did it with all uppercase, lowercase, renamed it to 'hello', to 'test', > but still the same effect. > Any other suggestions? > > I know that the file is included, because I wrote ' -- testme --' on top. > It shows in the browser, if I make a comment of the macro-call. > (So that the error isn't showing.) > > Does it have something to do with the way (the order) that things get > parsed? > This error tells me that it looks that the parent-tenmplate is parsed > somehow before > the include. > > I could check this out by manipulating a variable in the include (not in > the macro). > If done this to check: > #set $myvar="before include" (in the parent) > #set $myvar="inside include" (in the included template, and just before > that, display $myvar) > #set $myvar="after include" (in the parent, after the include) > And it shows thjat the var is manipulated in the order that I excpect: > before, inside, after. > > Perhaps it has something to do with the fact that the parent is an include > as well, I don't know. > So let me include the macro in the higest parent possible. > Tested: That's also not working. > > I did some more researching, and found out some strange behaviour: > I've got some macro's working, those are included relative from the > parent. (They work!) > The one's that don't work, are absolute, with drive-letters and full > path-names. > I've debug the full-ones, and my slashed are forward slashes (the did > always work!) > Somehow with the latest java upgrade, they don't. > If changed them to backward-slash, and voila, it working like a charm. > > So this pitfall is found and closed....... > > > 2006/8/25, Lane Sharman < la...@op...>: > > > try changing your spelling of macro? > > > > -Lane > > > > Marcello H wrote: > > > > I've got a strange effect with a macro (in the latest CVS release). > > > > <snip> > > -- testme -- > > #marco TestMe() > > { > > You've tested me...... > > } > > > > #TestMe() > > </snip> > > > > If I call the macro from within a template, it runs, but if a put it in > > a separate file, it doesn't. > > It's complaining about the missing macro. > > I've tried include as macro, and include as template, both don't work. > > > > Here a piece of logging: > > > > 25-08-2006 09:19:21.796 resource WARNING > > BrokerTemplateProvider: Error occured while fetching > > c:/data/website/templates/page_save.html > > org.webmacro.engine.BuildException: #TestMe: no such Macro or Directive > > at c:\data\website\templates\page_save.html:123.2 > > at org.webmacro.engine.MacroBuilder.build(MacroBuilder.java:66) > > at org.webmacro.engine.BlockBuilder.build (BlockBuilder.java:144) > > at org.webmacro.engine.WMTemplate.parse(WMTemplate.java:185) > > at org.webmacro.resource.BrokerTemplateProviderHelper.load( > > BrokerTemplateProviderHelper.java:111) > > at org.webmacro.resource.TemplateProvider.load ( > > TemplateProvider.java:196) > > at org.webmacro.resource.CachingProvider.load(CachingProvider.java > > :122) > > at org.webmacro.resource.ReloadingCacheManager.get( > > ReloadingCacheManager.java:204) > > at org.webmacro.resource.CachingProvider.get (CachingProvider.java > > :111) > > at org.webmacro.Broker.get(Broker.java:862) > > at org.webmacro.directive.IncludeDirective.getTemplate( > > IncludeDirective.java:502) > > at org.webmacro.directive.IncludeDirective.getThingToInclude ( > > IncludeDirective.java:473) > > at org.webmacro.directive.IncludeDirective.write( > > IncludeDirective.java:384) > > at org.webmacro.engine.Block.write(Block.java:145) > > at org.webmacro.engine.Block.evaluate(Block.java :323) > > at org.webmacro.directive.SetblockDirective.write( > > SetblockDirective.java:92) > > at org.webmacro.engine.Block.write(Block.java:145) > > at org.webmacro.directive.IfDirective.write(IfDirective.java:210) > > at org.webmacro.engine.Block.write(Block.java:145) > > at org.webmacro.directive.IfDirective.write(IfDirective.java:210) > > at org.webmacro.engine.Block.write(Block.java:184) > > at org.webmacro.engine.WMTemplate.write (WMTemplate.java:324) > > at org.webmacro.directive.IncludeDirective.write( > > IncludeDirective.java:394) > > at org.webmacro.engine.Block.write(Block.java:139) > > at org.webmacro.engine.WMTemplate.write(WMTemplate.java :324) > > at org.webmacro.engine.WMTemplate.evaluateAsString(WMTemplate.java > > :253) > > at prg.Wsf.writeOutput(Wsf.java:460) > > at prg.Wsf.handleRequest(Wsf.java:391) > > at prg.Wsf.service(Wsf.java:204) > > > > > > > > ------------------------------ > > > > ------------------------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web services, security? > > Get stuff done quickly with pre-integrated technology to make your job easier > > > > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > > ------------------------------ > > > > _______________________________________________ > > Webmacro-devel mailing list > > Web...@li... > > https://lists.sourceforge.net/lists/listinfo/webmacro-devel > > > > > > > > -- > > Kindest Regards, > > > > Lane Sharman > > 858-342-1415 > > > > > > > > ------------------------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web services, > > security? > > Get stuff done quickly with pre-integrated technology to make your job > > easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache > > Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > > _______________________________________________ > > Webmacro-devel mailing list > > Web...@li... > > https://lists.sourceforge.net/lists/listinfo/webmacro-devel > > > > > > > |
From: Marcello H <mar...@gm...> - 2006-08-26 06:13:29
|
I already tried that as well. Did it with all uppercase, lowercase, renamed it to 'hello', to 'test', but still the same effect. Any other suggestions? I know that the file is included, because I wrote '-- testme --' on top. It shows in the browser, if I make a comment of the macro-call. (So that the error isn't showing.) Does it have something to do with the way (the order) that things get parsed? This error tells me that it looks that the parent-tenmplate is parsed somehow before the include. I could check this out by manipulating a variable in the include (not in the macro). If done this to check: #set $myvar="before include" (in the parent) #set $myvar="inside include" (in the included template, and just before that, display $myvar) #set $myvar="after include" (in the parent, after the include) And it shows thjat the var is manipulated in the order that I excpect: before, inside, after. Perhaps it has something to do with the fact that the parent is an include as well, I don't know. So let me include the macro in the higest parent possible. Tested: That's also not working. I did some more researching, and found out some strange behaviour: I've got some macro's working, those are included relative from the parent. (They work!) The one's that don't work, are absolute, with drive-letters and full path-names. I've debug the full-ones, and my slashed are forward slashes (the did always work!) Somehow with the latest java upgrade, they don't. If changed them to backward-slash, and voila, it working like a charm. So this pitfall is found and closed....... 2006/8/25, Lane Sharman <la...@op...>: > > try changing your spelling of macro? > > -Lane > > Marcello H wrote: > > I've got a strange effect with a macro (in the latest CVS release). > > <snip> > -- testme -- > #marco TestMe() > { > You've tested me...... > } > > #TestMe() > </snip> > > If I call the macro from within a template, it runs, but if a put it in a > separate file, it doesn't. > It's complaining about the missing macro. > I've tried include as macro, and include as template, both don't work. > > Here a piece of logging: > > 25-08-2006 09:19:21.796 resource WARNING BrokerTemplateProvider: > Error occured while fetching c:/data/website/templates/page_save.html > org.webmacro.engine.BuildException: #TestMe: no such Macro or Directive at > c:\data\website\templates\page_save.html:123.2 > at org.webmacro.engine.MacroBuilder.build(MacroBuilder.java:66) > at org.webmacro.engine.BlockBuilder.build (BlockBuilder.java:144) > at org.webmacro.engine.WMTemplate.parse(WMTemplate.java:185) > at org.webmacro.resource.BrokerTemplateProviderHelper.load( > BrokerTemplateProviderHelper.java:111) > at org.webmacro.resource.TemplateProvider.load (TemplateProvider.java > :196) > at org.webmacro.resource.CachingProvider.load(CachingProvider.java > :122) > at org.webmacro.resource.ReloadingCacheManager.get( > ReloadingCacheManager.java:204) > at org.webmacro.resource.CachingProvider.get (CachingProvider.java > :111) > at org.webmacro.Broker.get(Broker.java:862) > at org.webmacro.directive.IncludeDirective.getTemplate( > IncludeDirective.java:502) > at org.webmacro.directive.IncludeDirective.getThingToInclude ( > IncludeDirective.java:473) > at org.webmacro.directive.IncludeDirective.write(IncludeDirective.java > :384) > at org.webmacro.engine.Block.write(Block.java:145) > at org.webmacro.engine.Block.evaluate(Block.java :323) > at org.webmacro.directive.SetblockDirective.write( > SetblockDirective.java:92) > at org.webmacro.engine.Block.write(Block.java:145) > at org.webmacro.directive.IfDirective.write(IfDirective.java:210) > at org.webmacro.engine.Block.write(Block.java:145) > at org.webmacro.directive.IfDirective.write(IfDirective.java:210) > at org.webmacro.engine.Block.write(Block.java:184) > at org.webmacro.engine.WMTemplate.write (WMTemplate.java:324) > at org.webmacro.directive.IncludeDirective.write(IncludeDirective.java > :394) > at org.webmacro.engine.Block.write(Block.java:139) > at org.webmacro.engine.WMTemplate.write(WMTemplate.java :324) > at org.webmacro.engine.WMTemplate.evaluateAsString(WMTemplate.java > :253) > at prg.Wsf.writeOutput(Wsf.java:460) > at prg.Wsf.handleRequest(Wsf.java:391) > at prg.Wsf.service(Wsf.java:204) > > > > ------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > ------------------------------ > > _______________________________________________ > Webmacro-devel mailing list > Web...@li...https://lists.sourceforge.net/lists/listinfo/webmacro-devel > > > > -- > Kindest Regards, > > Lane Sharman > 858-342-1415 > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > Webmacro-devel mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/webmacro-devel > > > |
From: Lane S. <la...@op...> - 2006-08-25 14:59:17
|
try changing your spelling of macro? -Lane Marcello H wrote: > I've got a strange effect with a macro (in the latest CVS release). > > <snip> > -- testme -- > #marco TestMe() > { > You've tested me...... > } > > #TestMe() > </snip> > > If I call the macro from within a template, it runs, but if a put it > in a separate file, it doesn't. > It's complaining about the missing macro. > I've tried include as macro, and include as template, both don't work. > > Here a piece of logging: > > 25-08-2006 09:19:21.796 resource WARNING > BrokerTemplateProvider: Error occured while fetching > c:/data/website/templates/page_save.html > org.webmacro.engine.BuildException: #TestMe: no such Macro or > Directive at c:\data\website\templates\page_save.html:123.2 > at org.webmacro.engine.MacroBuilder.build(MacroBuilder.java:66) > at org.webmacro.engine.BlockBuilder.build (BlockBuilder.java:144) > at org.webmacro.engine.WMTemplate.parse(WMTemplate.java:185) > at > org.webmacro.resource.BrokerTemplateProviderHelper.load(BrokerTemplateProviderHelper.java:111) > at org.webmacro.resource.TemplateProvider.load > (TemplateProvider.java:196) > at > org.webmacro.resource.CachingProvider.load(CachingProvider.java:122) > at > org.webmacro.resource.ReloadingCacheManager.get(ReloadingCacheManager.java:204) > at org.webmacro.resource.CachingProvider.get > (CachingProvider.java:111) > at org.webmacro.Broker.get(Broker.java:862) > at > org.webmacro.directive.IncludeDirective.getTemplate(IncludeDirective.java:502) > at org.webmacro.directive.IncludeDirective.getThingToInclude > (IncludeDirective.java:473) > at > org.webmacro.directive.IncludeDirective.write(IncludeDirective.java:384) > at org.webmacro.engine.Block.write(Block.java:145) > at org.webmacro.engine.Block.evaluate(Block.java :323) > at > org.webmacro.directive.SetblockDirective.write(SetblockDirective.java:92) > at org.webmacro.engine.Block.write(Block.java:145) > at org.webmacro.directive.IfDirective.write(IfDirective.java:210) > at org.webmacro.engine.Block.write(Block.java:145) > at org.webmacro.directive.IfDirective.write(IfDirective.java:210) > at org.webmacro.engine.Block.write(Block.java:184) > at org.webmacro.engine.WMTemplate.write (WMTemplate.java:324) > at > org.webmacro.directive.IncludeDirective.write(IncludeDirective.java:394) > at org.webmacro.engine.Block.write(Block.java:139) > at org.webmacro.engine.WMTemplate.write(WMTemplate.java :324) > at > org.webmacro.engine.WMTemplate.evaluateAsString(WMTemplate.java:253) > at prg.Wsf.writeOutput(Wsf.java:460) > at prg.Wsf.handleRequest(Wsf.java:391) > at prg.Wsf.service(Wsf.java:204) > > > >------------------------------------------------------------------------ > >------------------------------------------------------------------------- >Using Tomcat but need to do more? Need to support web services, security? >Get stuff done quickly with pre-integrated technology to make your job easier >Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > >------------------------------------------------------------------------ > >_______________________________________________ >Webmacro-devel mailing list >Web...@li... >https://lists.sourceforge.net/lists/listinfo/webmacro-devel > > -- Kindest Regards, Lane Sharman 858-342-1415 |
From: Marcello H <mar...@gm...> - 2006-08-25 08:40:56
|
I've got a strange effect with a macro (in the latest CVS release). <snip> -- testme -- #marco TestMe() { You've tested me...... } #TestMe() </snip> If I call the macro from within a template, it runs, but if a put it in a separate file, it doesn't. It's complaining about the missing macro. I've tried include as macro, and include as template, both don't work. Here a piece of logging: 25-08-2006 09:19:21.796 resource WARNING BrokerTemplateProvider: Error occured while fetching c:/data/website/templates/page_save.html org.webmacro.engine.BuildException: #TestMe: no such Macro or Directive at c:\data\website\templates\page_save.html:123.2 at org.webmacro.engine.MacroBuilder.build(MacroBuilder.java:66) at org.webmacro.engine.BlockBuilder.build(BlockBuilder.java:144) at org.webmacro.engine.WMTemplate.parse(WMTemplate.java:185) at org.webmacro.resource.BrokerTemplateProviderHelper.load( BrokerTemplateProviderHelper.java:111) at org.webmacro.resource.TemplateProvider.load(TemplateProvider.java :196) at org.webmacro.resource.CachingProvider.load(CachingProvider.java:122) at org.webmacro.resource.ReloadingCacheManager.get( ReloadingCacheManager.java:204) at org.webmacro.resource.CachingProvider.get(CachingProvider.java:111) at org.webmacro.Broker.get(Broker.java:862) at org.webmacro.directive.IncludeDirective.getTemplate( IncludeDirective.java:502) at org.webmacro.directive.IncludeDirective.getThingToInclude( IncludeDirective.java:473) at org.webmacro.directive.IncludeDirective.write(IncludeDirective.java :384) at org.webmacro.engine.Block.write(Block.java:145) at org.webmacro.engine.Block.evaluate(Block.java:323) at org.webmacro.directive.SetblockDirective.write(SetblockDirective.java :92) at org.webmacro.engine.Block.write(Block.java:145) at org.webmacro.directive.IfDirective.write(IfDirective.java:210) at org.webmacro.engine.Block.write(Block.java:145) at org.webmacro.directive.IfDirective.write(IfDirective.java:210) at org.webmacro.engine.Block.write(Block.java:184) at org.webmacro.engine.WMTemplate.write(WMTemplate.java:324) at org.webmacro.directive.IncludeDirective.write(IncludeDirective.java :394) at org.webmacro.engine.Block.write(Block.java:139) at org.webmacro.engine.WMTemplate.write(WMTemplate.java:324) at org.webmacro.engine.WMTemplate.evaluateAsString(WMTemplate.java:253) at prg.Wsf.writeOutput(Wsf.java:460) at prg.Wsf.handleRequest(Wsf.java:391) at prg.Wsf.service(Wsf.java:204) |
From: Marcello H <mar...@gm...> - 2006-08-25 08:34:12
|
In the latest CVS version, I've this strange effect with a macro. <snip> #macro TestMe() { } </snip> If the macro is in the template |
From: Marcello H <mar...@gm...> - 2006-08-23 17:34:37
|
I've got a separate ant-buid file that does the trick, see if I can check some things in cvs tomorrow. 2006/8/23, Alex Fiennes <al...@fi...>: > > On Wednesday 23 August 2006 14:42, Marcello H wrote: > > Hello everybody, > > > > I don't know if there are people familiar with CPD? > > (It's a subpackage of PMD.) > > http://pmd.sourceforge.net/cpd.html > > > > CPD is a Copy/Paste Detector. > > > > I started the cpdgui.bat and let it analyze our beloved > webmacro-sources. > > It detected 25 pieces of duplicated code. > > > > I also did some work with PMD and Checkstyle. > > Both packages mentioned a lot of hints about our software. > > > > Perhaps something useable for someone to refactor? > > I've also been playing around with eclipse and this has been giving me > lots of > warnings about unused variables and the like which are probably worth > looking > at. > > However, the majority of the warnings were either in the unit testing > trees > (not so important), or the org.webmacro.parser (WMParser & > WMParser_implTokenManager) which is just a bit too scary to go poking > around > in. > > It would be nice though to have a warning free build from CVS as otherwise > genuine problems tend to get obscured by legacy issues... > > Marcel: can you stick some kind of report about the issues online > somewhere > and I'll see whether eclipse is complaining about similar issues? I'll > see > if I can find a way of exporting a problems report from eclipse and do the > same. > > Alex > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Webmacro-devel mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/webmacro-devel > |
From: Alex F. <al...@fi...> - 2006-08-23 13:50:48
|
On Wednesday 23 August 2006 14:42, Marcello H wrote: > Hello everybody, > > I don't know if there are people familiar with CPD? > (It's a subpackage of PMD.) > http://pmd.sourceforge.net/cpd.html > > CPD is a Copy/Paste Detector. > > I started the cpdgui.bat and let it analyze our beloved webmacro-sources. > It detected 25 pieces of duplicated code. > > I also did some work with PMD and Checkstyle. > Both packages mentioned a lot of hints about our software. > > Perhaps something useable for someone to refactor? I've also been playing around with eclipse and this has been giving me lots of warnings about unused variables and the like which are probably worth looking at. However, the majority of the warnings were either in the unit testing trees (not so important), or the org.webmacro.parser (WMParser & WMParser_implTokenManager) which is just a bit too scary to go poking around in. It would be nice though to have a warning free build from CVS as otherwise genuine problems tend to get obscured by legacy issues... Marcel: can you stick some kind of report about the issues online somewhere and I'll see whether eclipse is complaining about similar issues? I'll see if I can find a way of exporting a problems report from eclipse and do the same. Alex |
From: Marcello H <mar...@gm...> - 2006-08-23 13:43:03
|
Hello everybody, I don't know if there are people familiar with CPD? (It's a subpackage of PMD.) http://pmd.sourceforge.net/cpd.html CPD is a Copy/Paste Detector. I started the cpdgui.bat and let it analyze our beloved webmacro-sources. It detected 25 pieces of duplicated code. I also did some work with PMD and Checkstyle. Both packages mentioned a lot of hints about our software. Perhaps something useable for someone to refactor? Just some thoughts..... Greetings from Holland. Marcel Huijkman |