RE: [VFS] How to use operations

2008-07-14 Thread Frank van der Kleij
Yes, I guess so; are there other APIs? I don't see where you getting at... Thanks, Frank Date: Sun, 13 Jul 2008 21:37:26 -0400 From: [EMAIL PROTECTED] To: user@commons.apache.org Subject: Re: [VFS] How to use operations Are you sticking to the FileObject API? On Sun, Jul 13, 2008 at

Re: BeanUtils Not working !!!

2008-07-14 Thread Marko Umek
Try to exchange b1 and a1: BeanUtils.copyProperties(a1,b1); May be there is a documentation bug ;-) nise schrieb: Hi, I am using BeanUtils for copying the contents of one bean into another using reflection. The code is really simple and it compiles and runs fine but does not give the

Re: [VFS] How to use operations

2008-07-14 Thread James Carman
Check the Javadocs for FileOperation/s. It's intended to be used for extensions to the core API that could be provided by some implementations (the example given is a version control system, such as CVS/SVN). On Mon, Jul 14, 2008 at 7:13 AM, Frank van der Kleij [EMAIL PROTECTED] wrote: Ah, now

RE: [VFS] How to use operations

2008-07-14 Thread Frank van der Kleij
Yeah, I know what it is; I did read the JavaDocs and I have implemented some FileOperations myself. I am just curious if anyone else has ever used them and how they did it. Is the only use of them when you create your own client that knows about your own operations? Or should any VFS client

Re: [VFS] How to use operations

2008-07-14 Thread Mario Ivankovits
Hi! I am just curious if anyone else has ever used them and how they did it. I am not sure, this is some of the last things I added (with the help of a contributor) but didn't finished it, nor documented it :-( *help* Is the only use of them when you create your own client that knows

Re: [VFS] How to use operations

2008-07-14 Thread James Carman
On Mon, Jul 14, 2008 at 9:12 AM, Mario Ivankovits [EMAIL PROTECTED] wrote: The idea is to being able to lookup abstract operations. For example the update operation and VFS returns a CsvUpdate or SvnUpdate depending on the used implementation. As far as I remeber there is a way to list all

Re: [VFS] How to use operations

2008-07-14 Thread James Carman
On Mon, Jul 14, 2008 at 9:22 AM, Mario Ivankovits [EMAIL PROTECTED] wrote: It might be nice if these operations classes had BeanInfo classes associated with them so that GUI applications could display their options a bit easier. As long as you use a standard set of annotations, that would be

Re: [VFS] How to use operations

2008-07-14 Thread Mario Ivankovits
Hi! As long as you use a standard set of annotations, that would be great. I only mentioned the Javabeans method because there are already components out there that can edit a Javabean given its BeanInfo object. Its fine! Probably using BeanInfo would be a good first step, afterwards we can

Re: [Configuration] Call me a moron, but I just can't make it work!

2008-07-14 Thread [EMAIL PROTECTED]
Michael Robinson schrieb: Hi, I'm writing a program that must load, search, edit and save Mac OS X plist files. I was attempting to use apple's NS* foundation classes, but I couldn't work out how to write to the plist files (maybe I'm just stupid). I searched around the internet and was

Re: [Configuration] Call me a moron, but I just can't make it work!

2008-07-14 Thread Ralph Goers
Your problem is that you are searching for the value of an element, not the element name, i.e. there are no elements named SndwichFillings, Dictionary or SidebarTitle. Your element names are all named key. I can never remember how to filter based on the value of an element of a key using the

Re: BeanUtils Not working !!!

2008-07-14 Thread nise
Thanks just making the bean classes public got them to work Though i wonder why it would be so. Maybe because the reflection classes are in a different package and therefore to access my bean classes in the default package, they needed that the method access modifiers be public and not

Re: BeanUtils Not working !!!

2008-07-14 Thread James Carman
The BeanUtils logic needs to be able to see the classes. It has nothing to do with your code. On Mon, Jul 14, 2008 at 12:05 PM, nise [EMAIL PROTECTED] wrote: Thanks just making the bean classes public got them to work Though i wonder why it would be so. Maybe because the reflection

Re: [Configuration] Call me a moron, but I just can't make it work!

2008-07-14 Thread Oliver Heger
[EMAIL PROTECTED] schrieb: Michael Robinson schrieb: Hi, I'm writing a program that must load, search, edit and save Mac OS X plist files. I was attempting to use apple's NS* foundation classes, but I couldn't work out how to write to the plist files (maybe I'm just stupid). I searched

TelnetClient disable echo (Please Help!)

2008-07-14 Thread Christopher Friedt
Hi everyone, After a couple of days googling, I searched the mailing list archives but did not come across anything to solve my problem. Basically, I'm writing a Java app that will telnet into a TS-72xx ARM board and run commands. However, the commands that I'm writing out and flushing keep

Re: [Configuration] Call me a moron, but I just can't make it work!

2008-07-14 Thread Michael Robinson
Thank you all very much for your swift and helpful replies, I'll investigate the unit tests after breakfast, I'm sure they're just what I needed. Mike The future belongs to those who prepare for it today. -- Malcolm X (1925 - 1965) On 15/07/2008, at 7:40 AM, Oliver Heger wrote:

Re: [Configuration] Call me a moron, but I just can't make it work!

2008-07-14 Thread Michael Robinson
WAR IS PEACE FREEDOM IS SLAVERY IGNORANCE IS STRENGTH -- George Orwell (1903 - 1950), 1984 On 15/07/2008, at 7:40 AM, Oliver Heger wrote: [EMAIL PROTECTED] schrieb: Michael Robinson schrieb: Hi, I'm writing a program that must load, search, edit and save Mac OS X plist files. I