Does commons-configuration v1.6 work with JREv1.5? [Commons]

2009-08-12 Thread Andrew Hughes
Hi, simple question I know... but, I'm lost!!! My JavaFX project won't recognize *org.apache.commons.configuration.**. JavaFX v1.2's SDK seems to have inherent problems with Java6, because the SDK is released with rt15.jar (Java 1.5 runtime)! If the answer is yes because configuration 1.6 has a

Re: Does commons-configuration v1.6 work with JREv1.5? [Commons]

2009-08-12 Thread Andrew Hughes
Gotcha!!! Thank You. JavaFX refuses to read the jar All other common's jars work just fine :'( On Thu, Aug 13, 2009 at 10:36 AM, James Carman ja...@carmanconsulting.comwrote: It's not compiled with target=1.6. If you look at the manifest, it uses the same target as commons-parent-11, 1.3:

Re: [JXPath] Iterators and Pointers (on partial matches)

2009-06-04 Thread Andrew Hughes
at this information with an expression, you might be able to accomplish it with a custom function but I'm still afraid at some point you might have to parse the steps, or rely on JXPath RI packages/classes. HTH, Matt --- On Wed, 6/3/09, Andrew Hughes ahhug...@gmail.com wrote: From: Andrew

[JXPath] Questions about pointers, listeners filters

2009-04-23 Thread Andrew Hughes
Hi All - probably just Matt tho :) I've had some great results with JXPath, and I am now getting down to the nitty/gritty of what I am trying to achieve. Which is quite complex and I've no doubt that more experienced people than me exist in this area! Help is once again greatly appreciated!!!

Re: [JXPath] Custom Functions the Current Pointer

2009-04-21 Thread Andrew Hughes
(com.blah.whatever.project., mynamespace)); That's it. On Tue, Apr 21, 2009 at 11:39 PM, Matt Benson gudnabr...@yahoo.com wrote: Hi, Andrew. Your example looks pretty good... what happens exactly when you try it? -Matt --- On Mon, 4/20/09, Andrew Hughes ahhug...@gmail.com wrote

Re: [JXPath] Whitespace in Expression/Property

2009-03-23 Thread Andrew Hughes
Wales']/Sydney? :| -Matt --- On Mon, 3/16/09, Andrew Hughes ahhug...@gmail.com wrote: From: Andrew Hughes ahhug...@gmail.com Subject: [JXPath] Whitespace in Expression/Property To: Commons Users List user@commons.apache.org Date: Monday, March 16, 2009, 11:42 PM Hi Again, How can I

[JXPath] Whitespace in Expression/Property

2009-03-16 Thread Andrew Hughes
Hi Again, How can I access a property named 'New South Wales' if it has whitespace in it? Example Expression: '/Earth/Australia/New South Wales/Sydney' THANKS SO MUCH

Re: JXPath over Generic Collection?, How?

2009-03-11 Thread Andrew Hughes
you can use non-lazy DynaBeans instead. Regards, Matt --- On Tue, 3/3/09, Andrew Hughes ahhug...@gmail.com wrote: From: Andrew Hughes ahhug...@gmail.com Subject: Re: JXPath over Generic Collection?, How? To: Commons Users List user@commons.apache.org Date: Tuesday

commons-config : property key's with whitespace

2009-03-09 Thread Andrew Hughes
Howdy, We've got legacy/shared property files for our config (i.e. can't change the property files to solve this). We're trying to use commons-config but it has difficulty dealing with our properties files as the key's contain whitespace. Any help on how I can resolve this would be most welcomed

Re: JXPath over Generic Collection?, How?

2009-03-03 Thread Andrew Hughes
plase :) On Wed, Mar 4, 2009 at 9:38 AM, Andrew Hughes ahhug...@gmail.com wrote: Pretty sure this is a bug in JXPath - and it is not tested by the current unit tests. I can't quite work out 100% of what's going on here... but it has to do with gathering the property names from

Re: JXPath over Generic Collection?, How?

2009-02-23 Thread Andrew Hughes
Hughes ahhug...@gmail.com wrote: Ping... if anyone can help with this JXPath DynaBeans problem I'd be REALLY THANKFUL :) On Fri, Feb 13, 2009 at 1:55 PM, Andrew Hughes ahhug...@gmail.com wrote: Howdy, I've taken Matt's suggestion onboard and I have investigated DynaBeans. These look

Re: JXPath over Generic Collection?, How?

2009-02-16 Thread Andrew Hughes
Ping... if anyone can help with this JXPath DynaBeans problem I'd be REALLY THANKFUL :) On Fri, Feb 13, 2009 at 1:55 PM, Andrew Hughes ahhug...@gmail.com wrote: Howdy, I've taken Matt's suggestion onboard and I have investigated DynaBeans. These look pretty good for all intestive purposes

commons-beanutils : DynaBean's List?

2009-02-12 Thread Andrew Hughes
Howdy, DynaBean's look brilliant, but I am overwhealmed with options - can anyone help me out please? I have a hierarchy of POJO Thing's which is easiest explained. + Thing(key=root) + Thing(key=world) + Thing(key=transport) + Thing(key=car) + Thing(key=train)

Re: JXPath over Generic Collection?, How?

2009-02-10 Thread Andrew Hughes
Hughes ahhug...@gmail.com wrote: From: Andrew Hughes ahhug...@gmail.com Subject: Re: JXPath over Generic Collection?, How? To: Commons Users List user@commons.apache.org Date: Tuesday, February 10, 2009, 7:16 AM Still busted. Example is now simplified. As soon as a generic Collection

Re: JXPath over Generic Collection?, How?

2009-02-10 Thread Andrew Hughes
. Composition over inheritance, do you see? HTH, Matt --- On Tue, 2/10/09, Andrew Hughes ahhug...@gmail.com wrote: From: Andrew Hughes ahhug...@gmail.com Subject: Re: JXPath over Generic Collection?, How? To: Commons Users List user@commons.apache.org, gudnabr...@yahoo.com Date: Tuesday

Re: JXPath over Generic Collection?, How?

2009-02-09 Thread Andrew Hughes
...@name='Tiger'] Thanks for reading, Andrew On Mon, Feb 9, 2009 at 10:24 PM, Andrew Hughes ahhug...@gmail.com wrote: Thanks Matt - I will test this out tomorrow when I am back in the office... Being constructive... Surely this should at least be a precondition check and throw a specific

JXPath over Generic Collection?, How?

2009-02-08 Thread Andrew Hughes
Hi All, Hopefully the solution is as easy as the question. I would like to perform evaluation on a (very simple) generic collection... as you can see below (HeirarchyPojo). I should be able to ask for a HeirarchyPojo's with name='Bill' or the 3rd Child... The problem is that nothing ever evaluate

Re: JXPath - is JXPath dead in the water?

2009-02-08 Thread Andrew Hughes
...@yahoo.com wrote: --- Andrew Hughes ahhug...@gmail.com wrote: Hi All, Is JXPath dead in the water? I can't find a post here in 2009 and very limited posts in 2008. Hi Andrew, JXPath is considered to be in maintenance mode. In general, this means that this component

JXPath - is JXPath dead in the water?

2009-02-01 Thread Andrew Hughes
Hi All, Is JXPath dead in the water? I can't find a post here in 2009 and very limited posts in 2008. Thanks.

Re: JXPath XBeanInfo Generic Collection Problem

2008-11-30 Thread Andrew Hughes
Does JXPath still have an active user/development base? I've seen very little traffic on this list. This still does not work and I've no idea why. On Tue, Nov 25, 2008 at 11:05 AM, Andrew Hughes [EMAIL PROTECTED] wrote: Everything falls apart once collections or array's are involved. I am doing

Re: JXPath XBeanInfo Generic Collection Problem

2008-11-24 Thread Andrew Hughes
:28 PM, Andrew Hughes [EMAIL PROTECTED] wrote: After further testing, I have reduced the complexity of my 'Bean'. The 'Bean' is no longer a Collection and provides getThe* methods that do not meet the Beans standard. Hence, JXPath must use an XBeanInfo and DynamicHandler to perform sucessful

Re: JXPath and LazyDynaBeans

2008-11-23 Thread Andrew Hughes
PROTECTED]wrote: On Thu, Nov 20, 2008 at 12:10 AM, Andrew Hughes [EMAIL PROTECTED] wrote: Hi All, There are so many options here, I'm not sure which one is the easiest/best solution. I've got a data structure which I am using to populate (a hierarchy of) LazyDynaBean's so that we can run

Re: JXPath XBeanInfo Generic Collection Problem

2008-11-23 Thread Andrew Hughes
, Nov 24, 2008 at 9:49 AM, Andrew Hughes [EMAIL PROTECTED] wrote: After a little more investigation, I have overriden every Collection/ArrayList method in the PojoNode class to see how/if JXPath calls ANY of the inherited super methods. It does not! If JXPath is not traversing my data structure

JXPath and LazyDynaBeans

2008-11-19 Thread Andrew Hughes
Hi All, There are so many options here, I'm not sure which one is the easiest/best solution. I've got a data structure which I am using to populate (a hierarchy of) LazyDynaBean's so that we can run JXPath across it. It's working perfectly, until I try and introduce duplicate key entries (i.e. a

Re: JXPath and Custom Graphs

2008-11-18 Thread Andrew Hughes
will solve this problem for you: http://commons.apache.org/jxpath/apidocs/org/apache/commons/jxpath/JXPathBeanInfo.html This allows to map property names to arbitrary functions in your pojo as well as hiding properties that shall not be exposed. Regards, Carsten Andrew Hughes wrote: Hi

JXPath and Custom Graphs

2008-11-16 Thread Andrew Hughes
Hi All, We've got an existing 'graph' of dynamic pojo's. This is effectively a root node, with sibling child node(S), and inturn they have child node(s) (so your typical tree/graph). Ideally we would like to run xpath expression/evalution on our dynamic graph. The objects we're storing do not meet