Peter Tirrell

Age: 34

Aug
28
awarded Supporter
Aug
20
comment Trouble using preceding-sibling on tokenize result loop
Perfect, thanks! That worked exactly how I was looking to do it. I had some weirdness where $src[position() -1] wouldn't work, it kept returning an empty string or null or something...my element just kept being empty. I ended up creating a new variable, <xsl:variable name="lineToGet" select="position()-1" />, and then referencing that $src[$lineToGet] and it worked like a dream. Awesome!
Aug
20
accepted Trouble using preceding-sibling on tokenize result loop
Aug
20
asked Trouble using preceding-sibling on tokenize result loop
Aug
15
comment OSGI Blueprint jaxrs server endpoint configuration - how to configure address?
Thanks! I wondered about just /rest from some of the examples I saw, but ended up going with http://0.0.0.0. That seems to work fine, at this point it's mostly an annoyance that the default services list at :8181/cxf explicitly lists the 0.0.0.0 address instead of inferring it, but that's on me :-)
Aug
15
accepted OSGI Blueprint jaxrs server endpoint configuration - how to configure address?
Aug
14
asked OSGI Blueprint jaxrs server endpoint configuration - how to configure address?
Aug
5
awarded Famous Question
Aug
1
comment Count of related records in many-to-many relationship
What happens when you try to execute the method? Are you getting an error?
Jul
31
answered How to get the current route with Pyramid
Jul
22
answered getting data from dynamically generated html form
Jul
22
accepted Trouble getting 3rd party jar as OSGI bundle in Karaf
Jul
21
comment How to manage dependencies when developing OSGI bundle in Netbeans and Karaf?
Thanks! I've walked through the sample, and have set up the blueprint settings and a .cfg file. My setting is available within the Karaf console and I can modify it, but the change doesn't seem to be reflected in my bundle app. At least the refresh() method never appears to get fired. Is there a trick to reading a config value from within code? Is the pure OSGI wiring (ConfigUpdater) necessary if I'm configuring with Blueprint?
Jul
12
comment Trouble getting 3rd party jar as OSGI bundle in Karaf
Thanks! I've updated my post above with some more info. The change to Equinox was relatively painless although I had to reinstall some features (cxf http). But I'm still running into my bundle not finding the 3rd party resource. At this point I don't even necessarily need the 3rd party jar to be separately available; my bundle is meant to be a wrapper of sorts around it so if there's any way to fully embed a dependent jar into a bundle that would be best...I think? Thanks again for your help!
Jul
7
accepted How to manage dependencies when developing OSGI bundle in Netbeans and Karaf?
Jul
7
comment How to manage dependencies when developing OSGI bundle in Netbeans and Karaf?
Thank you, that is very helpful! I think part of my problem was that one of my bundles is relying on a 3rd party jar that I'm having trouble making available in Karaf. I think this was throwing off some of the other bundles that were trying to use it. It's making more sense for me now, but I'm probably going to open a new question specific to that issue. One more then - in Karaf / OSGI, how are configuration variables handled? I.e., to develop against dev but then later point services to a production tier? Normally I'd use some sort of arguments or config file, but how does that work here?
Jul
4
asked How to manage dependencies when developing OSGI bundle in Netbeans and Karaf?
Jul
2
awarded Curious
Jul
2
awarded Curious
Jul
2
awarded Popular Question
1 2 3 4 5