Read MNG-4140. We had a solution much like you mention (it used string
searches, not DOM searches, but amounts to the same thine...the
<version> element is context-sensitive).
So, what is an adequate reason in your eyes for moving to 1.5?
Jochen Wiedmann wrote:
On Tue, Apr 28, 2009 at 10:24 PM, John Casey <[email protected]> wrote:
1. MNG-4140: even working around the NoClassDefFoundError for XPath* in JDK
1.4, this means that version expressions won't be interpolated on
install/deploy unless JDK 1.5+ is used. This was something we talked about
in [1].
If I understand the issue correctly, then it is about finding
<version>.*</version> in a DOM tree. That's easily possible without
XPath (see below).
Don't get me wrong: I am not refusing 1.5 as a dependency at all. I'm
just refusing it for the reasons you mention.
Jochen
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]