Re: [CLI] Negative numbers and quoting

2005-07-11 Thread Nigel Rantor
sebb wrote: This was also a problem with the original Avalon CLI code. It was fixed in the updated version submitted via Bugzilla: http://issues.apache.org/bugzilla/show_bug.cgi?id=34672 The problem was that - was being treated as special even when collecting text for the current option value.

Re: [CLI] Negative numbers and quoting

2005-07-11 Thread Nigel Rantor
sebb wrote: Sorry, that's not what I meant. The Avalon CLI code is a *different* implementation of CLI, but which happened to have the same problem. To use Avalon instead of another CLI would require quite a few application code changes. [And vice-versa, moving from Avalon to another CLI

[CLI] Negative numbers and quoting

2005-07-08 Thread Nigel Rantor
Hi all, I've had a bit of a root about and can't find anyone mention of this in the docs or on the MARC archives. I'm using CLI for a few things and I'd now like to be able to have an option accept negative numbers. I looked for docs on the parsers and basically found nothing other than

Re: HTTP Client File Upload Question

2004-09-25 Thread Nigel Rantor
Hello again, I found the problem, elsewhere, so I formally apologise for wasting time and impugning the reputation the httpclient code. :-) N - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: HTTP Client File Upload Question

2004-09-25 Thread Nigel Rantor
Oleg Kalnichevski wrote: Nigel, Try setting Parts' transfer-encoding and charset to null and see if that makes any difference. http://jakarta.apache.org/commons/httpclient/apidocs/org/apache/commons/httpclient/methods/multipart/PartBase.html#setTransferEncoding(java.lang.String) Thanks for the

HTTP Client File Upload Question

2004-09-23 Thread Nigel Rantor
Hi all, I'm being bitten by a weird bug and I have a feeling it's because I'm not sure about content-transfer encodings vs charsets. I'm using httpclient 2 to upload to a perl CGI. Uploading from a browser works fine. Uploading from my program works fine for text files. Uploading from my program

Re: [REPOST][daemon] non-root user cannot start service on unix?

2004-09-08 Thread Nigel Rantor
jean-frederic clere wrote: I am just wondering if this is the goal or not? Should I be able to run a daemon as another user? For a production system it won't matter since I will want the servers to eb started from init scripts anyway and can pass the --user arg to the jsvc program. For development

Maintainer question - daemon

2004-09-02 Thread Nigel Rantor
Hi all, Who is the maintainer for daemon? If this piece of commons is no longer maintained by anyone in particular (or if you guys just don't have that kind of concept around here) could you let me know how to go about getting functional changes done rather than bugfixes. I just assume that

Re: Maintainer question - daemon

2004-09-02 Thread Nigel Rantor
Shapira, Yoav wrote: Hi, It's maintained by committee, like many of our projects. Although the team list is available (http://jakarta.apache.org/commons/daemon/team-list.html), you're encouraged to use a public forum like this mailing list rather than personal emails to committers when discussion

[REPOST][daemon] non-root user cannot start service on unix?

2004-08-26 Thread Nigel Rantor
Hi there, I posted this about a week ago, if no-one is actually in charge of daemon could someone let me know? Additionally if anyone uses daemon would you like to comment on how you think it should be working, or perhaps why it works as it does? Cheese, N

[daemon] non-root user cannot start service on unix?

2004-08-19 Thread Nigel Rantor
Hi all, Using the daemon/jsvc combo I can't seem to start a daemon as a user other than root. The process dies in set_caps which is the code path it goes through if the jsvc binary is compiled on Linux and uses the linux capabilities interface to do it's thang. I am just wondering if this is

[PATCH 1/1] daemon : Fix DaemonLoader to check that class implements 'Daemon' interface

2004-08-17 Thread Nigel Rantor
Index: DaemonLoader.java === RCS file: /home/cvspublic/jakarta-commons/daemon/src/java/org/apache/commons/daemon/support/DaemonLoader.java,v retrieving revision 1.4 diff -u -r1.4 DaemonLoader.java --- DaemonLoader.java 27 Feb 2004