From: Tor L. <tm...@ik...> - 2010-03-05 23:40:23
|
> It did come up on the list before multiple times (e.g. the latest was last weekend) that XMLVM could support cross-compiled > Java APIs, e.g. from Apache Harmony, Yeah, or if it wouldn't be XMLVM that would "support" it, one could just do that on one's own on top of what XMLVM provides. But... > I did some experiments with it back in December, but at that time I decided that the amount of work to get it running > was higher than the expected gain -- at least for our project. I have also done some experimentation trying to come up with a minimal subset of classes from Harmony that would be enough to cover what the Java code that I am pondering using needs (an existing Open Source bunch of code, written for a normal Java environment). I have attempted to "stub out" stuff as necessary to avoid dependency explosion. But... it seems that it's a never ending struggle. There is always something missing, then you have a look at those sources in Harmony, you think "that doesn't look so bad, let's pull that in too", then you notice it pulls in something new that is missing, you add that, which then pulls in something else from a totally different part of Harmony, etc, etc. It's quite hard to find the right places to make the "cuts", what to "stub out". Or maybe I just don't have a good enough view of the whole. Sigh, maybe I should just give up trying to use the code in question, this is just for my own free time hacking pleasure anyway, failure *is* an option... --tml |