RE: XmlSlurper, attributes and namespaces

2016-03-01 Thread Winnebeck, Jason
I can at least give the technical reason why this doesn't work -- there is namespaceMap and namespaceTagHints in GPathResult. namespaceMap is updated by declareNamespace but namespaceTagHints is not. I don't see a way to update namespaceTagHints and namespaceMap doesn't really even seem to be us

XmlSlurper, attributes and namespaces

2016-03-01 Thread Winnebeck, Jason
I've been struggling for a long time with XmlSlurper in how I can read attributes. Unfortunately, I have an XML document with namespaces. I wish I could ignore the namespaces, but while XmlSlurper no-arg constructor says it ignores namespaces, it does not. When using two-arg constructor to set

Re: Groovy Wrapper for Bintray API

2016-03-01 Thread Gerald Wiltse
Thanks Schalk! Gerald R. Wiltse jerrywil...@gmail.com On Tue, Mar 1, 2016 at 7:50 AM, Schalk Cronjé wrote: > I am not sure what you want to achieve. That code is part of a Bintray > publishing Gradle plugin I wrote, before Bintray came out with their own > version. If you want to just publish

Re: Groovy Wrapper for Bintray API

2016-03-01 Thread Schalk Cronjé
I am not sure what you want to achieve. That code is part of a Bintray publishing Gradle plugin I wrote, before Bintray came out with their own version. If you want to just publish to Bintray from Gradle, this will work for you if you use the original style maven publishing. If you want to do