Hi Bill, I forgot to reply to you about eclipse and roller. Do you have experience with the Tomcat Plugin with eclipse?
http://www.sysdeo.com/eclipse/tomcatplugin Having this plug-in installed makes it so you can debug servlets running in Tomcat with-in eclipse. I suggest downloading and installing this plug-in. It really helps in creating any type of web application in eclipse using tomcat. I'm doing this on Linux, but windows should work just the same. Basically, I downloaded the roller-src and roller-tools code from the roller downloads page. Ran the "ant build" process that comes with roller (you must have "ant" installed). This build process creates a orion-src/builds/roller directory. I then took that oroin-src/builds/roller directory and created a "tomcat project" in eclipse pointing at the /orion-src/builds/roller directory as the application. Everything pretty much compiled and runs just fine. The only problem I have found is that by default when rebuilding your application, eclipse will delete everything in the WEB-INF/classes directory and rebuild all of your classes. There are many configuration files that roller puts in this WEB-INF/classes directory so I've had to recopy them back quite a few times. I need figure out a better way to handle this. Another thing that I probably should do is get the latest code from subversion. The version I've been hacking on should be very recent since it's the latest roller-src.tar, but ideally, I should be modifying code from subversion. Hopefully, this has been of some help. Justin --- Tribley William-cwt010 <[EMAIL PROTECTED]> wrote: > Hi Justin, > The -1 to get all is a good idea. Refactoring the > simple version to > include this functionality may be a good approach. > > Date formats end up being a minefield. I suppose the > rigorus way to do > it is to use the Java packages to retrieve date > formats based on a code > (MMM YYYY etc.). This should automatically adjust > for the user's > language if Roller is deployed to non-English > speaking areas. The only > downside to this is that the writer of the template > will have to know > the codes, some of them will not have access to, nor > be comfortable, > using javadocs to figure them out. > > Another idea is to default to numbers: > 2006-03 > 2006-02 > > Etc. These are language-neutral and they require no > specification. If > you want labels then you must include a named 12 > element array in your > template ( suggest "MonthLabels" ?). The code uses > the labels in the > array if the array is there, otherwise numbers rule. > We could also have > a format variable that, if present, alters the > display . YY is two-digit > year, YYY* is 4 digit year, M+ (M MM MMMM etc) is > month and any other > characters get passed as-is. This would allow the > real alternative > universe crowd (Celts, Klingons, Esperante) to use > whatever labels for > the month turns them on! Default for no format is > YYYY-Month . > > Thanks for your work. > Bill > > Ps - If you have time and would tell me how you > bring Roller into > Eclipse I would really appreciate it. I have some > work I want to do on > an editor upload servlet. > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
