Developing Roller with NetBeans

2008-06-10 Thread Java Web Development
I've played around with Roller in the past but this is my first time trying to implement a new feature. I'm working with Netbeans 6.1 and have to admit the little bit of ant I learned years ago isn't helping me. Right now, to test my changes, I modified the trunk/apps/weblogger/build.xml to split

RE: Developing Roller with NetBeans

2008-06-10 Thread Java Web Development
Should have mentioned what I was working on. I am developing the ability to display threaded comments. So far I got the displaying part done. I added an additional attribute subComments to WebEntryComment and the associated wrapper of type List. In the JPAWeblogEntryManagerImpl I'm building the L

Problem Implementing Threaded Comments

2008-06-11 Thread Java Web Development
I'm working on implementing threaded comments and I'm pretty much done but in trying to clean things up I ran into a problem. I have a form I'm using to submit the reply request. If I run it as is I get the roller page not found page. I haven't been able to figure out how to attach

RE: Problem Implementing Threaded Comments

2008-06-11 Thread Java Web Development
Ok, I'm going to answer part of my own question. I kept trying to attach the debugger using the process id. I switched to shared memory and it worked right away. So I should be able to track down the problem now. If in the future anyone is looking for similar information. Start the tomcat serve

Threaded comments testing

2008-06-12 Thread Java Web Development
I put up my threaded comment changes in roller on a site I've been messing around with. Please excuse the theme as it's still a work in progress as is the rest of the site. The threaded comments need some refinements too. You can go ahead and post comments at http://www.bergenjerseyforeclosures.co

RE: Threaded comments testing

2008-06-12 Thread Java Web Development
Sorry, URL was too long. Try this http://tinyurl.com/6cyfa8 -Original Message- From: Java Web Development [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2008 9:05 AM To: [email protected] Subject: Threaded comments testing I put up my threaded comment changes in roller on a

RE: Developing Roller with NetBeans

2008-06-12 Thread Java Web Development
web project and made the web project dependant on the 'roller-web' project. Then I could hack up the roller web code as desired. -Nathan On Tue, Jun 10, 2008 at 2:54 PM, Java Web Development < [EMAIL PROTECTED]> wrote: > I've played around with Roller in the past but this

RE: Problem Implementing Threaded Comments

2008-06-12 Thread Java Web Development
; at the end of the forms action url. you don't want to do that. Just strip that part out and it should work. -- Allen Java Web Development wrote: > I'm working on implementing threaded comments and I'm pretty much done but > in trying to clean things up I ran into a problem. &g

RE: Developing Roller with NetBeans

2008-06-12 Thread Java Web Development
> How to contribute to Roller > http://cwiki.apache.org/confluence/x/2hsB > > Does that answer your questions about submitting patches? Yeah that helps. I guess my main question is what exactly is a patch? Is it just the output from svn diff? Do I run it from the root roller directory or specific

RE: Problem Implementing Threaded Comments

2008-06-12 Thread Java Web Development
in a request parameter for "content" in order for the request to get passed to the CommentServlet. Java Web Development wrote: > Actually that wasn't the problem The problem is that The way netbeans knows > a comment form is being submitted and needs to be forwarded to

RE: unzip and run

2008-06-12 Thread Java Web Development
That seems like a good idea but I have some concerns. Primarily because the roller-webapp.war file is already 25M (mostly because of the 3rd party jars) and adding the server on top of that might turn some people off. I feel there are three main types of users to target. Those that want to simply

RE: unzip and run

2008-06-12 Thread Java Web Development
there seem to be an awful lot of jars. Are all three spring, struts and guice really necessary? Why both freemaker and velocity? There are 18M worth of jars. -Original Message- From: Matt Raible [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2008 8:42 PM To: [email protected] Subj

RE: unzip and run

2008-06-12 Thread Java Web Development
> Do you really care about disk space? With terabyte hard drives only being a > few hundred bucks, what's a hundred MBs? I'm sure we could use JarJar to > create a single JAR that's 10 MB, but I think there's bigger fish to fry. I > agree it's rather large, but I have 1 GB of space for $20/month, s

RE: Ipof comments

2008-06-13 Thread Java Web Development
There is an attribute in WeblogEntryComment for remoteHost. If you're running behind apache http server and you're not doing dns lookups, which is the default, remoteHost will be the ip address. So in many cases calling getRemoteHost() will give you the ip address. Where exactly are you trying to

RE: unzip and run

2008-06-13 Thread Java Web Development
> Maven builds would be my preference. I could then generate Eclipse artifacts > - the world doesn't revolve around Netbeans. Also, I think it would help > distinguish the separation of the projects (JARs). > > -Nathan I said there should be better IDE integration in general. I only singled out N

RE: Threaded comments testing

2008-06-13 Thread Java Web Development
> Nice! I'm looking forward to seeing a patch ;-) > > - Dave Dave, The mechanics of posting and replying to comments and the ability to turn on this feature on a per weblog basis are done except for one issue and one optimization I need to verify I can safely make. Right now I'm working on comm

RE: Ipof comments

2008-06-17 Thread Java Web Development
: Tuesday, June 17, 2008 3:53 AM To: [email protected] Subject: RE: Ipof comments In template. I can't find any macro to get it. Boris -Original Message- From: Java Web Development [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2008 9:39 PM To: [email protected] Subjec