Re: Hudson builds and framework dependencies

2010-07-31 Thread Q
On 31/07/2010, at 3:43 PM, Paul Hoadley wrote: Hello Hudson builders, I watched Mike Schrag's session on Hudson from WOWODC09, and got Hudson up and running in fairly short order building an application project. Thanks Mike! I'm interested to know how the Hudson users around here

Re: SVN and Eclipse

2010-07-31 Thread Q
On 31/07/2010, at 9:18 AM, Mark Ritchie wrote: On 30/Jul/2010, at 2:01 PM, Farrukh Ijaz wrote: That's why when you know your build is stable, just tag it with a name such as something-stable under tags folder in your svn structure. So next time you need to produce the same build just

checking for null Noob question

2010-07-31 Thread Theodore Petrosky
Why does this work: public String dueDateTypeLetter() { if (this.dueDateType() == null || this.dueDateType().equals(N)) { return ; } return this.dueDateType(); } and this doesn't public String dueDateTypeLetter() { if (this.dueDateType().equals(N) ||

Re: checking for null Noob question

2010-07-31 Thread Jérémy DE ROYER
I won't do the second one because you could see a NullPointerException. Is it your question ? Jérémy Le 31 juil. 2010 à 14:05, Theodore Petrosky a écrit : Why does this work: public String dueDateTypeLetter() { if (this.dueDateType() == null ||

Re: checking for null Noob question

2010-07-31 Thread Theodore Petrosky
Yes... I was asking 'Why?' is there a NullPointerException with number 2... Ted --- On Sat, 7/31/10, Jérémy DE ROYER jeremy.dero...@ingencys.net wrote: From: Jérémy DE ROYER jeremy.dero...@ingencys.net Subject: Re: checking for null Noob question To: Theodore Petrosky tedp...@yahoo.com Cc:

Re: checking for null Noob question

2010-07-31 Thread Jérémy DE ROYER
So the answer is : - if the object is null, as, in the second test, your use the method 'equals' on this object (null) NullPointerException On the first test, as you first test if the object is null, you can't have a NullPointerException Hope this help, Jérémy Le 31 juil. 2010 à 14:09,

Re: checking for null Noob question

2010-07-31 Thread Farrukh Ijaz
Or do the following trick: if(!N.equals(this.dueDateType()) { return this.dueDateType(); } return ; Or failsafe operation: if(!(this.dueDateType()+).equals(N)) { return this.dueDateType(); } return ; But all above are applicable to strings only. For other types, you always need to

Re: checking for null Noob question

2010-07-31 Thread Paul Hoadley
Hi Ted, The '||' operator is a 'short circuit' operator, and it evaluates the left-hand side first. Assume this.dueDateType() returns null, then in this case: On 31/07/2010, at 9:35 PM, Theodore Petrosky wrote: if (this.dueDateType() == null || this.dueDateType().equals(N)) { the expression

Re: Hudson builds and framework dependencies

2010-07-31 Thread Paul Hoadley
Hi Q, On 31/07/2010, at 8:40 PM, Q wrote: If that is what you are doing, in practice you force a rebuild on the framework you checked the change into and all applications that depend on it would get rebuilt automagically. In an emergency you would usually kill off any builds that you

Re: Suggestions for best deployment?

2010-07-31 Thread Ken Anderson
OK - at least at Rackspace, there's a tool called iptables that allows you to set firewall rules. On Jul 30, 2010, at 11:14 PM, Chuck Hill wrote: I honestly have no idea. That is an interesting question. Chuck On Jul 30, 2010, at 6:55 PM, Ken Anderson wrote: I'm just not sure what

Re: checking for null Noob question

2010-07-31 Thread Theodore Petrosky
Thanks, this was exactly the information I was looking for. Ted --- On Sat, 7/31/10, Paul Hoadley pa...@logicsquad.net wrote: From: Paul Hoadley pa...@logicsquad.net Subject: Re: checking for null Noob question To: Theodore Petrosky tedp...@yahoo.com Cc: webobjects-dev@lists.apple.com

Re: Suggestions for best deployment?

2010-07-31 Thread Paul D Yu
Ken I host at SliceHost (subsidiary of Rackspace). The VM's that I get both Ubuntu and CentOS both are full OS's and they also have iptables. Paul On Jul 31, 2010, at 9:14 AM, Ken Anderson wrote: OK - at least at Rackspace, there's a tool called iptables that allows you to set firewall

Re: Suggestions for best deployment?

2010-07-31 Thread James Cicenia
One of the managed/dedicated rackspace server has had the basic default setup. However, it is just running apache/wo/mysql on the one box with few ports open. This is not a multi-tiered approach but it has worked great for years now. I am currently wrangling with learning the whole

Re: checking for null Noob question

2010-07-31 Thread Mike Schrag
+1 for N.equals(whatever) to prevent NPEs Sent from my iPhone On Jul 31, 2010, at 9:44 AM, Theodore Petrosky tedp...@yahoo.com wrote: Thanks, this was exactly the information I was looking for. Ted --- On Sat, 7/31/10, Paul Hoadley pa...@logicsquad.net wrote: From: Paul Hoadley

Re: Passing data to another component

2010-07-31 Thread Jeremy Doseck
Hi Johann, Thank you for your explanations and example. I tried to do it with first option. public String name; public void setName(String name) { this.name = name; } I had some struggle with it but finally, I made it! In fact, I am trying to do contact form with some textfields and

Horizontal and vertical split panes

2010-07-31 Thread David BON
Hi list, What do you use if you have to manage resizeable horizontal and vertical split panes on a web page generated with WebObjects? Thanks in advance for any feedback. Regards. David B. ___ Do not post admin requests to the list. They will be

Re: checking for null Noob question

2010-07-31 Thread Steve Peery
Just to avoid confusion and the NullPointerException, I would suggest this: { if (this.dueDateType() == null) { return ; } else if (this.dueDateType().equals(N)) { return ; } return this.dueDateType(); } or this: { if (this.dueDateType() != null) { if