Re: [Configuration] How do I traverse an XML configuration?

2017-04-06 Thread Gary Gregory
I might have hit pay-dirt with org.apache.commons.configuration2.BaseHierarchicalConfiguration.getNodeModel()... Gary On Thu, Apr 6, 2017 at 9:39 PM, Gary Gregory wrote: > Thanks Woonsan, but using DOM defeats the purpose of using Commons Config > :-( > > I was hopping to get access to some ob

Build failed in Jenkins: commons-beanutils #20

2017-04-06 Thread Apache Jenkins Server
See Changes: [kinow] Apply patch to fix typo (thanks to @kryger). This closes #3 -- [...truncated 8.66 KB...] AU src/test/java/org/apache/commons/beanutils/priv/Pri

Re: [Configuration] How do I traverse an XML configuration?

2017-04-06 Thread Gary Gregory
Thanks Woonsan, but using DOM defeats the purpose of using Commons Config :-( I was hopping to get access to some object model where I do not have to worry about collapsing white space and other XML messy stuff. getKeys() gives me ALL the keys for the whole document, all I need something like get

Re: [beanutils] Merge pull request sent via GitHub, but src in SVN

2017-04-06 Thread Bruno P. Kinoshita
Thanks Gary & sebb. Downloaded the patch from GitHub (TIL!), and applied with `patch apply -p1 -i ~/3.patch` I included the "Closes #3" text in the commit message, but looks like SVN repositories take a bit longer to sync. GitHub repo should be updated in some minutes/hours, and hopefully the

Re: [Configuration] How do I traverse an XML configuration?

2017-04-06 Thread Woonsan Ko
If you meant to traverse dom tree of the xml document, perhaps you can use XMLConfiguration#getDocument(). Regards, Woonsan On Thu, Apr 6, 2017 at 11:00 PM, Gary Gregory wrote: > Hi All: > > I have an XMLConfiguration and I need to get all of the child nodes from > the root. Once I have each no

[Configuration] How do I traverse an XML configuration?

2017-04-06 Thread Gary Gregory
Hi All: I have an XMLConfiguration and I need to get all of the child nodes from the root. Once I have each node I need to get the children of each. This is not about preorder or postorder or depth-first searches. I just need to be able to navigate the tree. Clues? Thank you, Gary -- E-Mail: g

Re: [beanutils] Merge pull request sent via GitHub, but src in SVN

2017-04-06 Thread Gary Gregory
I would use a diff file like https://patch-diff.githubusercontent.com/raw/apache/commons-beanutils/pull/3.diff Whether you use a diff or patch file depends on your tooling. I would add a comment "Closes #123" in your commit comment along with a comment that refers to a JIRA ticket. That will clo

Re: [beanutils] Merge pull request sent via GitHub, but src in SVN

2017-04-06 Thread sebb
On 6 April 2017 at 13:16, Bruno P. Kinoshita wrote: > Hi, > > > We have a pending pull request for [beanutils] > https://github.com/apache/commons-beanutils/pull/3 > > As the component is still using Subversion, I am not able to use my normal > workflow to merge the pull request (i.e. clone the

Jenkins build is back to normal : Commons-Compress #239

2017-04-06 Thread Apache Jenkins Server
See - To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org

Jenkins build is back to normal : Commons-Compress ยป Apache Commons Compress #239

2017-04-06 Thread Apache Jenkins Server
See - To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@co

[beanutils] Merge pull request sent via GitHub, but src in SVN

2017-04-06 Thread Bruno P. Kinoshita
Hi, We have a pending pull request for [beanutils] https://github.com/apache/commons-beanutils/pull/3 As the component is still using Subversion, I am not able to use my normal workflow to merge the pull request (i.e. clone the ASF upstream, checkout GitHub remote branch, merge, push). What