You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(5) |
Nov
(68) |
Dec
(77) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(75) |
Feb
(84) |
Mar
(89) |
Apr
(96) |
May
(52) |
Jun
(73) |
Jul
(99) |
Aug
(46) |
Sep
(40) |
Oct
(46) |
Nov
(45) |
Dec
(25) |
2004 |
Jan
(13) |
Feb
(74) |
Mar
(40) |
Apr
(18) |
May
(31) |
Jun
(1) |
Jul
(16) |
Aug
(1) |
Sep
(21) |
Oct
(19) |
Nov
(10) |
Dec
(16) |
2005 |
Jan
(4) |
Feb
(12) |
Mar
(46) |
Apr
(33) |
May
(64) |
Jun
(1) |
Jul
(60) |
Aug
(31) |
Sep
(26) |
Oct
(24) |
Nov
(37) |
Dec
(10) |
2006 |
Jan
(3) |
Feb
(31) |
Mar
(122) |
Apr
(22) |
May
(4) |
Jun
|
Jul
|
Aug
(2) |
Sep
(4) |
Oct
(8) |
Nov
(3) |
Dec
|
2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
(3) |
Oct
|
Nov
|
Dec
|
2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(2) |
Dec
(8) |
From: Tim P. <ti...@pa...> - 2005-11-03 22:16:14
|
Hi Sven, On Wednesday 02 November 2005 18:49, Sven Schliesing wrote: > Hi, > > i saw that webmacro needs "concurrent" in this release. Which version of > concurrent is it exactly? I use maven for my projects so it would be > necessary to know which version to write into the appropriate config-file. > > > Thanks in advance! > I too use WM and Maven, see http://paneris.net/. I vae been assuming concurrent-1.0 and have had no problem, though http://www.ibiblio.org/maven/concurrent/jars/ shows there is a 1.4 out now Tim -- Registered linux user #21337, http://counter.li.org. |
From: Marc P. <ma...@an...> - 2005-11-02 20:04:08
|
Lane Sharman wrote: > Good Morning, > > After some tribulation with SF, the 2.0 release is complete. Both zip > and tgz files have been posted. Great work! I will download it tomorrow at work, and blog the release :) Please, all WM fans if you have one do blog that we've finally hit 2.0. It's vital for boosting WM's profile. -- Marc Palmer Managing Director, AnyWare Ltd. |
From: Sven S. <sv...@sc...> - 2005-11-02 18:50:14
|
Hi, i saw that webmacro needs "concurrent" in this release. Which version of concurrent is it exactly? I use maven for my projects so it would be necessary to know which version to write into the appropriate config-file. Thanks in advance! Sven |
From: paul <web...@pa...> - 2005-11-02 18:17:52
|
or you can... i use this to send template order confirmations... WebMacro wm = new WM("/the/location/off/your/props"); cheers paul Lane Sharman wrote: > Hi Holger, > > webmacro.properties needs to be in the classpath. > > Lane > > Holger King wrote: > >> Hi group, >> >> is it possible to change the location of the webmacro-specific >> configuration file "WebMacros.properties" from WEB-INF/classes to >> WEB-INF/classes/appconfig. Of course, then it's stored out of the >> classpath. But how to tell the application to find it there? I always >> get the following error message: >> >> 2005-11-02 12:02:18,964 Klasse: WebMacroServlet * wm * - Unable to >> load resource >> org.webmacro.NotFoundException: >> org.webmacro.resource.BrokerTemplateProviderHelper@970c0e could not >> locate 128776 >> at >> org.webmacro.resource.BrokerTemplateProviderHelper.load(BrokerTemplateProviderHelper.java:148) >> >> at >> org.webmacro.resource.TemplateProvider.load(TemplateProvider.java:175) >> at >> org.webmacro.resource.CachingProvider.load(CachingProvider.java:111) >> at >> org.webmacro.resource.SMapCacheManager.get(SMapCacheManager.java:244) >> at >> org.webmacro.resource.CachingProvider.get(CachingProvider.java:101) >> at org.webmacro.WM.getTemplate(WM.java:261) >> at org.webmacro.servlet.WMServlet.getTemplate(WMServlet.java:372) >> at >> de.dig.albatros.webmacro.WebMacroServlet.handle(WebMacroServlet.java:101) >> at org.webmacro.servlet.WMServlet.doRequest(WMServlet.java:255) >> at org.webmacro.servlet.WMServlet.doGet(WMServlet.java:195) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) >> >> But I'm sure, you can help me! Thanx in advance! >> > |
From: Lane S. <la...@op...> - 2005-11-02 18:13:12
|
Good Morning, After some tribulation with SF, the 2.0 release is complete. Both zip and tgz files have been posted. cvs has been tagged. The release is complete! -- Lane Sharman 858-755-2868 |
From: Lane S. <la...@op...> - 2005-11-02 18:11:31
|
Hi Holger, webmacro.properties needs to be in the classpath. Lane Holger King wrote: > Hi group, > > is it possible to change the location of the webmacro-specific > configuration file "WebMacros.properties" from WEB-INF/classes to > WEB-INF/classes/appconfig. Of course, then it's stored out of the > classpath. But how to tell the application to find it there? I always > get the following error message: > > 2005-11-02 12:02:18,964 Klasse: WebMacroServlet * wm * - Unable to > load resource > org.webmacro.NotFoundException: > org.webmacro.resource.BrokerTemplateProviderHelper@970c0e could not > locate 128776 > at > org.webmacro.resource.BrokerTemplateProviderHelper.load(BrokerTemplateProviderHelper.java:148) > > at > org.webmacro.resource.TemplateProvider.load(TemplateProvider.java:175) > at > org.webmacro.resource.CachingProvider.load(CachingProvider.java:111) > at > org.webmacro.resource.SMapCacheManager.get(SMapCacheManager.java:244) > at > org.webmacro.resource.CachingProvider.get(CachingProvider.java:101) > at org.webmacro.WM.getTemplate(WM.java:261) > at org.webmacro.servlet.WMServlet.getTemplate(WMServlet.java:372) > at > de.dig.albatros.webmacro.WebMacroServlet.handle(WebMacroServlet.java:101) > at org.webmacro.servlet.WMServlet.doRequest(WMServlet.java:255) > at org.webmacro.servlet.WMServlet.doGet(WMServlet.java:195) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > > But I'm sure, you can help me! Thanx in advance! > -- Lane Sharman Providing Private and SPAM-Free Email http://www.opendoors.com 858-755-2868 |
From: Holger K. <ki...@di...> - 2005-11-02 11:15:49
|
Hi group, is it possible to change the location of the webmacro-specific configuration file "WebMacros.properties" from WEB-INF/classes to WEB-INF/classes/appconfig. Of course, then it's stored out of the classpath. But how to tell the application to find it there? I always get the following error message: 2005-11-02 12:02:18,964 Klasse: WebMacroServlet * wm * - Unable to load resource org.webmacro.NotFoundException: org.webmacro.resource.BrokerTemplateProviderHelper@970c0e could not locate 128776 at org.webmacro.resource.BrokerTemplateProviderHelper.load(BrokerTemplateProviderHelper.java:148) at org.webmacro.resource.TemplateProvider.load(TemplateProvider.java:175) at org.webmacro.resource.CachingProvider.load(CachingProvider.java:111) at org.webmacro.resource.SMapCacheManager.get(SMapCacheManager.java:244) at org.webmacro.resource.CachingProvider.get(CachingProvider.java:101) at org.webmacro.WM.getTemplate(WM.java:261) at org.webmacro.servlet.WMServlet.getTemplate(WMServlet.java:372) at de.dig.albatros.webmacro.WebMacroServlet.handle(WebMacroServlet.java:101) at org.webmacro.servlet.WMServlet.doRequest(WMServlet.java:255) at org.webmacro.servlet.WMServlet.doGet(WMServlet.java:195) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) But I'm sure, you can help me! Thanx in advance! -- Herzliche Grüße, Holger King --------------------------------------------------- DIG Digitale Medienberatungs- und Produktions- GmbH Neckarstrasse 1-5, D-78727 Oberndorf, Germany Phone: +49 7423 8750-0 Fax: +49 7423 8750-23 mailto:ki...@di... http://www.dig.de --------------------------------------------------- |
From: <Web...@St...> - 2005-11-01 08:47:52
|
On Mon, 31 Oct 2005, Lane Sharman wrote: | WebMacro Devotees, | | Release 2.0 is posted. Excellent! Looking forward to drop "1.1final.jar" and start using the 2.0! Regards, Endre. |
From: Lane S. <la...@op...> - 2005-11-01 06:04:32
|
WebMacro Devotees, Release 2.0 is posted. All the issues including Javadoc generation, missing class file documentation, and release inconsistencies have been handled. At the moment (Oct 31 10PM PST), SF is not accepting uploads. So, only the tgz instance of the release is posted. Please be sure and pull this down and do a sanity test on this file. if it checks out, we can post whatever press releases we have. thanks for your support and encouragement. -- Lane Sharman 858-755-2868 |
From: Lane S. <la...@op...> - 2005-10-28 19:09:13
|
paul wrote: > Lane - I haven't had the time to say it but... you rock!!! thanks, paul. I am off to the desert to complete the release. laptop is loaded and ready to crank out the release. there should be no real surprises technically relative to rc other than some javadoc clean-up and some docs updates. keats: it looks like you checked in an update to the setprops directive. Many thanks. Mike Weerdenberg: The #WhileDirective is going into the release as an experimental directive. It can be pulled if there are a lot of developer/community objections. Until there is a unit test (see offline email), it will remain undocumented, experimental in the release. -Lane |
From: Lane S. <la...@op...> - 2005-10-27 14:41:49
|
Marcello H wrote: >Lane, > >I've just downloaded the latest version and I have to give you my compliments. > > many thanks. much appreciated. >It's perfect to have an ant-build so there's a standard way. (Super!) >The build just complained about some javadocs not being correct, so >some tiny issues , which wouldn't brake a production status anyway. > > will try to fix before the final release. >The Unit testing is an example on how things have to be done, to assure >an always working environment. I have to say that my advice to a developer >is always to have a Unit test, so you know it's the same application before >you start programming with /on it. (Applause!) > >I found out that the while-directive isn't in the distribution, so perhaps Mike >(the author) has to bring this in? And have to write the unit test too :-) > > yes. he has to write a unit test. I think the #while directive, if it had a unit test, could go in as an experimental directive which is how we get new directives started. >Some side-effects I've noticed: >- Unclear which jar/jars are needed for the WMTemplateAntTask, so I've >deleted this one for now. >- I've noticed (with checkstyle) that there are some messages about >var's that aren't used. > > Yes. But what about their use during runtime, introspection? >About press: >It's perhaps also good to have a kind of press release link to the >Webmacro-site on the server side. And I would like to help with the >press release, but since my English is not that good, I would suggest >to have an (kind of translated) article into the Dutch Java Magazine. > > If you could do the dutch, I will fix up the english! >Top 10 comment: >To have a program into a top 10, it must show it's easy to use (or to >get started). Therefore the most open source projects have a 'petshop' >example. So perhaps the proof is in the pudding? > >Anyway thanks for all the hard work! > > my pleasure. -Lane >-Marcel Huijkman- > > > > >>RC2 of WM 2.0 is posted. This is the final release prior to Nov 1 next >>week unless there is some show-stoppper. I need the following input: >> >>a) Are there any major issues with the jar or the distribution? In 2.0, >>there is a single release with source and binary and the build.xml for >>generating the minimal package runs out of the box as does compiling the >>sources. >> >>b) Did you find the distribution easier to use for setting up a web >>application? >> >>c) As a developer, did you appreciate that you can run "ant test" and >>immediately prove WM against the suite of included tests (setprops test >>is failing but will be fixed this week ... the directive is working >>great as far as I can tell in a separate test). Do you appreciate how >>the readme.html in the root directory navigates the many resources in >>the distribution? >> >>d) It is really desireable to have someone write up a press release. >>Marc has been really good about this in the past. I will look up my >>contact at JavaWorld. >> >>Lastly, even though WM is not in the Top 10, do not dismiss WM for >>heavy-duty production jobs. It is rock-solid as a result of a dedictated >>and lengthy development process. >> >>Kindest, >> >>-- >>Lane Sharman >>Providing Private and SPAM-Free Email >>http://www.opendoors.com >>858-755-2868 >> >> >> >>------------------------------------------------------- >>This SF.Net email is sponsored by the JBoss Inc. >>Get Certified Today * Register for a JBoss Training Course >>Free Certification Exam for All Training Attendees Through End of 2005 >>Visit http://www.jboss.com/services/certification for more information >>_______________________________________________ >>Webmacro-user mailing list >>Web...@li... >>https://lists.sourceforge.net/lists/listinfo/webmacro-user >> >> >> > > >------------------------------------------------------- >This SF.Net email is sponsored by the JBoss Inc. >Get Certified Today * Register for a JBoss Training Course >Free Certification Exam for All Training Attendees Through End of 2005 >Visit http://www.jboss.com/services/certification for more information >_______________________________________________ >Webmacro-user mailing list >Web...@li... >https://lists.sourceforge.net/lists/listinfo/webmacro-user > > > -- Lane Sharman Providing Private and SPAM-Free Email http://www.opendoors.com 858-755-2868 |
From: Marcello H <mar...@gm...> - 2005-10-25 07:09:55
|
Lane, I've just downloaded the latest version and I have to give you my complimen= ts. It's perfect to have an ant-build so there's a standard way. (Super!) The build just complained about some javadocs not being correct, so some tiny issues , which wouldn't brake a production status anyway. The Unit testing is an example on how things have to be done, to assure an always working environment. I have to say that my advice to a developer is always to have a Unit test, so you know it's the same application before you start programming with /on it. (Applause!) I found out that the while-directive isn't in the distribution, so perhaps = Mike (the author) has to bring this in? And have to write the unit test too :-) Some side-effects I've noticed: - Unclear which jar/jars are needed for the WMTemplateAntTask, so I've deleted this one for now. - I've noticed (with checkstyle) that there are some messages about var's that aren't used. About press: It's perhaps also good to have a kind of press release link to the Webmacro-site on the server side. And I would like to help with the press release, but since my English is not that good, I would suggest to have an (kind of translated) article into the Dutch Java Magazine. Top 10 comment: To have a program into a top 10, it must show it's easy to use (or to get started). Therefore the most open source projects have a 'petshop' example. So perhaps the proof is in the pudding? Anyway thanks for all the hard work! -Marcel Huijkman- > RC2 of WM 2.0 is posted. This is the final release prior to Nov 1 next > week unless there is some show-stoppper. I need the following input: > > a) Are there any major issues with the jar or the distribution? In 2.0, > there is a single release with source and binary and the build.xml for > generating the minimal package runs out of the box as does compiling the > sources. > > b) Did you find the distribution easier to use for setting up a web > application? > > c) As a developer, did you appreciate that you can run "ant test" and > immediately prove WM against the suite of included tests (setprops test > is failing but will be fixed this week ... the directive is working > great as far as I can tell in a separate test). Do you appreciate how > the readme.html in the root directory navigates the many resources in > the distribution? > > d) It is really desireable to have someone write up a press release. > Marc has been really good about this in the past. I will look up my > contact at JavaWorld. > > Lastly, even though WM is not in the Top 10, do not dismiss WM for > heavy-duty production jobs. It is rock-solid as a result of a dedictated > and lengthy development process. > > Kindest, > > -- > Lane Sharman > Providing Private and SPAM-Free Email > http://www.opendoors.com > 858-755-2868 > > > > ------------------------------------------------------- > This SF.Net email is sponsored by the JBoss Inc. > Get Certified Today * Register for a JBoss Training Course > Free Certification Exam for All Training Attendees Through End of 2005 > Visit http://www.jboss.com/services/certification for more information > _______________________________________________ > Webmacro-user mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/webmacro-user > |
From: Lane S. <la...@op...> - 2005-10-25 05:11:21
|
Hi Tim, thanks. i think the distro makes a lot more sense. please go full-steam ahead with the maven geeks. Lane Tim Pizey wrote: >On Monday 24 October 2005 02:38, Lane Sharman wrote: > > >>Greetings, >> >>RC2 of WM 2.0 is posted. >> >> > >Brilliant, well done. > >Did you know that webmacro was on the Maven ibiblio repository? >It only has a few of the previous versions: >http://www.ibiblio.org/maven/webmacro/ > >I mentioned Maven a while ago but no one responded, I am a fan and >would like WM 2.0 to be distributed to the ibiblio site. >I suspect the procedure is to ask on the maven dev list, which I could do if >all agree. > >cheers >Tim > > > > -- Lane Sharman Providing Private and SPAM-Free Email http://www.opendoors.com 858-755-2868 |
From: Eric B. R. <eb...@tc...> - 2005-10-24 21:37:55
|
On Oct 24, 2005, at 4:16 PM, Marc Palmer wrote: > Lane, I really appreciate you doing all this. Great job. I will try > to download it at work this week. My next client project begins in > December and should provide a new simple platform for using Spring, > WM and Groovy altogether. The idea is to use Groovy for the backend > controller code, and WM for views. Therefore no more rebuilding of > java code / stopping tomcat etc. I'd like to hear more about your adventures with Groovy when you get to this point. We've looked at it a number of times here, and its uses are obvious, but just haven't taken the plunge. We do *a lot* of JavaScript stuff now, and working in another scripting language seems silly for us. eric |
From: Marc P. <ma...@an...> - 2005-10-24 20:12:01
|
Lane Sharman wrote: > Greetings, > > RC2 of WM 2.0 is posted. This is the final release prior to Nov 1 next > week unless there is some show-stoppper. I need the following input: > Lane, I really appreciate you doing all this. Great job. I will try to download it at work this week. My next client project begins in December and should provide a new simple platform for using Spring, WM and Groovy altogether. The idea is to use Groovy for the backend controller code, and WM for views. Therefore no more rebuilding of java code / stopping tomcat etc. > d) It is really desireable to have someone write up a press release. > Marc has been really good about this in the past. I will look up my > contact at JavaWorld. > > Lastly, even though WM is not in the Top 10, do not dismiss WM for > heavy-duty production jobs. It is rock-solid as a result of a > dedictated and lengthy development process. Indeed, WM is providing huge prototyping and implementation benefits over JSP at my current client, not to mention performance... and this is all just using the "work in progress" JSP taglib I have that embeds WM inside JSP pages. (Why embed in JSP... ugh don't ask :( ) Cheers |
From: Tim P. <ti...@pa...> - 2005-10-24 16:27:54
|
On Monday 24 October 2005 02:38, Lane Sharman wrote: > Greetings, > > RC2 of WM 2.0 is posted. Brilliant, well done. Did you know that webmacro was on the Maven ibiblio repository? It only has a few of the previous versions: http://www.ibiblio.org/maven/webmacro/ I mentioned Maven a while ago but no one responded, I am a fan and would like WM 2.0 to be distributed to the ibiblio site. I suspect the procedure is to ask on the maven dev list, which I could do if all agree. cheers Tim -- Registered linux user #21337, http://counter.li.org. |
From: Lane S. <la...@op...> - 2005-10-24 01:37:20
|
Greetings, RC2 of WM 2.0 is posted. This is the final release prior to Nov 1 next week unless there is some show-stoppper. I need the following input: a) Are there any major issues with the jar or the distribution? In 2.0, there is a single release with source and binary and the build.xml for generating the minimal package runs out of the box as does compiling the sources. b) Did you find the distribution easier to use for setting up a web application? c) As a developer, did you appreciate that you can run "ant test" and immediately prove WM against the suite of included tests (setprops test is failing but will be fixed this week ... the directive is working great as far as I can tell in a separate test). Do you appreciate how the readme.html in the root directory navigates the many resources in the distribution? d) It is really desireable to have someone write up a press release. Marc has been really good about this in the past. I will look up my contact at JavaWorld. Lastly, even though WM is not in the Top 10, do not dismiss WM for heavy-duty production jobs. It is rock-solid as a result of a dedictated and lengthy development process. Kindest, -- Lane Sharman Providing Private and SPAM-Free Email http://www.opendoors.com 858-755-2868 |
From: Lane S. <la...@op...> - 2005-10-23 22:36:07
|
thanks, ebr. The release is shaping up nicely. I have been using cvs tortoise to revamp some of the arcane directories and files. So, you will want to do a prune on your next cvs update. -Lane Eric B. Ridge wrote: > On Oct 23, 2005, at 1:58 PM, Lane Sharman wrote: > >> Please feel free to comment on the following: >> >> Release 2.0 To Be A Single Distribution >> ============================= >> At SF, there will be a single distribution. This will avoid >> confusion. Classic versus Minimal. Source versus Binary. > > > I like this a lot. I always thought it was pretty confusing to have > all those different options. I seem to remember the original > justification being smaller downloads were better for people on > dialup, but nowadays damn near everyone has broadband. Even my buddy > in the backwoods of Tennessee finally got DSL a few weeks ago. > > eric > > >> >> Release 2.0 Contents >> =================== >> The contents will include source, binary (jar), and test. The test >> scripts will compile out of the box. No need to fetch external >> dependencies. For the low-level java programmer, "ant test" proves >> WM and provides a rich set of examples for functionality and >> performance. >> >> The build script in the distribution preserves the ability to make >> classic, minimal, source and binary packages for redistribution. >> >> The release includes in the examples directory a build script with >> the default task set to create an exploded web app in the tomcat >> webapps directory as wm/. >> >> In the wm/ directory, the advanced/ folder has been expanded with >> several years worth of templates from my libarary for use as a >> reference to the webmacro script writer. >> >> WM developers are testing out the release this week and we should >> expect as planned the 2.0 release for Nov 1. >> >> yours, >> >> -- >> Lane Sharman >> >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by the JBoss Inc. >> Get Certified Today * Register for a JBoss Training Course >> Free Certification Exam for All Training Attendees Through End of 2005 >> Visit http://www.jboss.com/services/certification for more information >> _______________________________________________ >> Webmacro-user mailing list >> Web...@li... >> https://lists.sourceforge.net/lists/listinfo/webmacro-user >> > > > > ------------------------------------------------------- > This SF.Net email is sponsored by the JBoss Inc. > Get Certified Today * Register for a JBoss Training Course > Free Certification Exam for All Training Attendees Through End of 2005 > Visit http://www.jboss.com/services/certification for more information > _______________________________________________ > Webmacro-user mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/webmacro-user > -- Lane Sharman Providing Private and SPAM-Free Email http://www.opendoors.com 858-755-2868 |
From: Eric B. R. <eb...@tc...> - 2005-10-23 18:08:47
|
On Oct 23, 2005, at 1:58 PM, Lane Sharman wrote: > Please feel free to comment on the following: > > Release 2.0 To Be A Single Distribution > ============================= > At SF, there will be a single distribution. This will avoid > confusion. Classic versus Minimal. Source versus Binary. I like this a lot. I always thought it was pretty confusing to have all those different options. I seem to remember the original justification being smaller downloads were better for people on dialup, but nowadays damn near everyone has broadband. Even my buddy in the backwoods of Tennessee finally got DSL a few weeks ago. eric > > Release 2.0 Contents > =================== > The contents will include source, binary (jar), and test. The test > scripts will compile out of the box. No need to fetch external > dependencies. For the low-level java programmer, "ant test" proves > WM and provides a rich set of examples for functionality and > performance. > > The build script in the distribution preserves the ability to make > classic, minimal, source and binary packages for redistribution. > > The release includes in the examples directory a build script with > the default task set to create an exploded web app in the tomcat > webapps directory as wm/. > > In the wm/ directory, the advanced/ folder has been expanded with > several years worth of templates from my libarary for use as a > reference to the webmacro script writer. > > WM developers are testing out the release this week and we should > expect as planned the 2.0 release for Nov 1. > > yours, > > -- > Lane Sharman > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by the JBoss Inc. > Get Certified Today * Register for a JBoss Training Course > Free Certification Exam for All Training Attendees Through End of 2005 > Visit http://www.jboss.com/services/certification for more information > _______________________________________________ > Webmacro-user mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/webmacro-user > |
From: Lane S. <la...@op...> - 2005-10-23 17:57:42
|
Please feel free to comment on the following: Release 2.0 To Be A Single Distribution ============================= At SF, there will be a single distribution. This will avoid confusion. Classic versus Minimal. Source versus Binary. Release 2.0 Contents =================== The contents will include source, binary (jar), and test. The test scripts will compile out of the box. No need to fetch external dependencies. For the low-level java programmer, "ant test" proves WM and provides a rich set of examples for functionality and performance. The build script in the distribution preserves the ability to make classic, minimal, source and binary packages for redistribution. The release includes in the examples directory a build script with the default task set to create an exploded web app in the tomcat webapps directory as wm/. In the wm/ directory, the advanced/ folder has been expanded with several years worth of templates from my libarary for use as a reference to the webmacro script writer. WM developers are testing out the release this week and we should expect as planned the 2.0 release for Nov 1. yours, -- Lane Sharman |
From: Mike W. - de B. <M.W...@tr...> - 2005-10-20 05:27:39
|
Hello Keats, Here are the 'specs' again, along with the source code... I don't know how to write Ant test code or something, but I have tested the code a lot in production environment... --- 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.) 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 1,000,000 loops! Use a limit value < 0 to create a loop without a limit, this could hang your template! --- Greetings, Mike Weerdenburg - de Bruin The Netherlands -----Oorspronkelijk bericht----- Van: web...@li... [mailto:web...@li...] Namens Keats Kirsch Verzonden: dinsdag 18 oktober 2005 23:34 Aan: web...@li... Onderwerp: Re: [WebMacro-user] #setprops directive committed Eric got it right. I didn't want to weigh down the directive with too many features and options. But the include thing is handy and we might consider it for a future enhancement. A cool thing with the #include approach is that you can have nested includes, so maybe a generic template sets some properties and then includes others from a locale subdirectory for example. btw, It looks like I got this code committed just in the nick of time, as my laptop got ripped off last night. :-{ Unfortunately I don't think I have a good backup for some of the other WM stuff I've been playing with. Those of you who sent me code to look at, please send it again. I was close to committing new exception classes, and the improved logging class and DefaultDirective. Also, Marc, if you still have the Taglibs stuff I sent you, I'd appreciate a copy back. Someday I'll learn to keep backups! Keats |
From: Keats K. <ke...@xa...> - 2005-10-19 23:47:14
|
Lane Sharman wrote: > Bummer, keats, about the laptop. Thanks. :-{ > #setprops $p { > #include as text "myprops.ini" > } > > so, this will actually work if myprops.ini is a valid property file of > name=value. Yep. You can also use the newer colon syntax. Even cooler is that you can put expression in your prop file -- it's a template. So you can do stuff like: #set $resource = "/usr/local/wm/resource" FontDir: $resource/fonts TemplateDir: $resource/templates #set timeoutMins = 5 #set $timeoutMS = $timeoutMins * 60 * 1000 TimeOut: $timeoutMS etc ... Of course you need to beware of comments, since they might look like directives to WM. Just make sure you have a non-alpha char after your # and it should be fine. Also, if you want to use the trailing backslash for line continuation, you'll need to escape it with another backslash. In Java code you actually need to double-escape, so you need four backslashes! (There's a unit test for this.) Keats |
From: Lane S. <la...@op...> - 2005-10-19 16:15:57
|
Bummer, keats, about the laptop. #setprops $p { #include as text "myprops.ini" } so, this will actually work if myprops.ini is a valid property file of name=value. that is very cool. Lane Be sure to consider a portable drive like a LaCie on your next acquisition. Kindest, Lane Keats Kirsch wrote: >Eric got it right. I didn't want to weigh down the directive with too many >features and options. But the include thing is handy and we might consider it >for a future enhancement. A cool thing with the #include approach is that you >can have nested includes, so maybe a generic template sets some properties and >then includes others from a locale subdirectory for example. > >btw, > >It looks like I got this code committed just in the nick of time, as my laptop >got ripped off last night. :-{ > >Unfortunately I don't think I have a good backup for some of the other WM stuff >I've been playing with. Those of you who sent me code to look at, please send >it again. I was close to committing new exception classes, and the improved >logging class and DefaultDirective. Also, Marc, if you still have the Taglibs >stuff I sent you, I'd appreciate a copy back. > >Someday I'll learn to keep backups! > >Keats > >Quoting "Eric B. Ridge" <eb...@tc...>: > > > >>On Oct 18, 2005, at 12:52 AM, Marcello H wrote: >> >> >> >>>The #setprops directive would also be nice if the data is really >>>coming >>>out of a property file; something like >>> >>>#setprops as file "myprops.ini" >>> >>> >>Just do this: >> >>#setprops $p { >> #include as text "myprops.ini" >>} >> >>Just note that "myprops.ini" will need to be in your "TemplatePath" >> >>eric >> >> >>------------------------------------------------------- >>This SF.Net email is sponsored by: >>Power Architecture Resource Center: Free content, downloads, discussions, >>and more. http://solutions.newsforge.com/ibmarch.tmpl >>_______________________________________________ >>Webmacro-user mailing list >>Web...@li... >>https://lists.sourceforge.net/lists/listinfo/webmacro-user >> >> >> > > > > >------------------------------------------------------- >This SF.Net email is sponsored by: >Power Architecture Resource Center: Free content, downloads, discussions, >and more. http://solutions.newsforge.com/ibmarch.tmpl >_______________________________________________ >Webmacro-user mailing list >Web...@li... >https://lists.sourceforge.net/lists/listinfo/webmacro-user > > > -- Lane Sharman Providing Private and SPAM-Free Email http://www.opendoors.com 858-755-2868 |
From: Keats K. <ke...@xa...> - 2005-10-18 21:34:06
|
Eric got it right. I didn't want to weigh down the directive with too many features and options. But the include thing is handy and we might consider it for a future enhancement. A cool thing with the #include approach is that you can have nested includes, so maybe a generic template sets some properties and then includes others from a locale subdirectory for example. btw, It looks like I got this code committed just in the nick of time, as my laptop got ripped off last night. :-{ Unfortunately I don't think I have a good backup for some of the other WM stuff I've been playing with. Those of you who sent me code to look at, please send it again. I was close to committing new exception classes, and the improved logging class and DefaultDirective. Also, Marc, if you still have the Taglibs stuff I sent you, I'd appreciate a copy back. Someday I'll learn to keep backups! Keats Quoting "Eric B. Ridge" <eb...@tc...>: > On Oct 18, 2005, at 12:52 AM, Marcello H wrote: > > > The #setprops directive would also be nice if the data is really > > coming > > out of a property file; something like > > > > #setprops as file "myprops.ini" > > Just do this: > > #setprops $p { > #include as text "myprops.ini" > } > > Just note that "myprops.ini" will need to be in your "TemplatePath" > > eric > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > Webmacro-user mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/webmacro-user > |
From: Eric B. R. <eb...@tc...> - 2005-10-18 13:05:56
|
On Oct 18, 2005, at 12:52 AM, Marcello H wrote: > The #setprops directive would also be nice if the data is really > coming > out of a property file; something like > > #setprops as file "myprops.ini" Just do this: #setprops $p { #include as text "myprops.ini" } Just note that "myprops.ini" will need to be in your "TemplatePath" eric |