[Hawkular-dev] how to get literal $ in .xsl
Juraci Paixão Kröhling
jpkroehling at redhat.com
Thu May 28 03:04:23 EDT 2015
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
My solution was a bit different:
<auth-server-url-for-backend-requests>
<xsl:text disable-output-escaping="yes">
http://${jboss.bind.address}/auth
</xsl:text>
</auth-server-url-for-backend-requests>
- - Juca.
On 05/27/2015 07:56 PM, Peter Palaga wrote:
> I happen to have done the same thing today :) -- P
> https://github.com/hawkular/hawkular/commit/55a62f6616b882729b057c2cf0
6d1d86c219d2a3#diff-e2136f7d72c510834df4ad85535af167R222
>
> On 2015-05-27 19:51, John Mazzitelli wrote:
>> BTW: if anyone knows how to fix this, let me know.
>>
>> In the agent configuration, Thomas H. wanted to be able to
>> configure the agent to talk over a different IP/port than
>> localhost:8080 (specifically the one Wildfly binds to -
>> jboss.bind.address and jboss.http.port).
>>
>> In the standalone.xml config, this actually works:
>>
>> <storage-adapter type="HAWKULAR" username="jdoe"
>> password="password"
>> url="http://${jboss.bind.address:127.0.0.1}:${jboss.http.port:8080}"/
>
>>
>>
>>
However, when I try to get that url value to be added to the default
standalone.xml via our XSL, I get an error.
>>
>> So, this line here:
>>
>> https://github.com/hawkular/hawkular/blob/mazz/wip/dist/src/main/reso
urces/wildfly/patches/standalone.xsl#L247
>>
>>
>>
I want to be:
>>
>> url="http://${jboss.bind.address:127.0.0.1}:${jboss.http.port:8080}"/
>
>>
>>
>>
But XSL parser dies. I tried using "\$" and "$" to no avail. Anyone
know how to get a literal $ to be parsed here?
>> _______________________________________________ hawkular-dev
>> mailing list hawkular-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/hawkular-dev
>>
>
> _______________________________________________ hawkular-dev
> mailing list hawkular-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hawkular-dev
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEcBAEBCAAGBQJVZr32AAoJECKM1e+fkPrXAn0IAJtONgdQtkaPTx/TkNsFUuWc
zWA2eltBShQAfH490jdD+F2NnDrOj7BLO3ePUk5IZD5if2Xfols1lXx1wUjuhIP7
8ESgf6eeUB+gfbWPXVefOXuiiJOQPiT45o7BgD1jpygfNV2csoM/68JrHN+4ssWR
iMy8h/9W32uKKYLZU/pp34Zn8CRoFUfKGaDQ3SLogj2d6T/YOmQBWAYpEePXejE+
2Gxp4BzIfFokhZs1D3CKTaJs/XGUCmN1y+2UF4YiCMQUqVCVd900RbMJ+VihHyv9
ld/rEVTI8VQStP/ppyhFP66MJKfrKUQsYkgW5s2r2Kt5eWQR7aSj0aRVR17EZ5I=
=PEoQ
-----END PGP SIGNATURE-----
More information about the hawkular-dev
mailing list