|
James Todd[Gonzo] :: Consistently Random
[rss] java == platform independence xml == application independence jxta == network independence |
[ [ gonzo@java.net ] [ jxta ] [ myjxta ] [ planetsun ] [ java.net ] [ java.sun ] |
| "Ice Cube said check yourself before you wreck yourself, Placebo say hang on to your IQ." | ||
|
new build moving along nicely :: chat about it
an aged component has finally been removed from the project. net impact on the new and *entirely* optimized and signicantly reduced build process ... operated like a champ, just the way it should. the "process elder" would've severely hurled. next up, i need to dynamically gen the associated html doc to look something like the existing builds. given the contents can vary my thoughts are to use the Ant script tag coupled with rhino jar. turns out the latest bsf and rhino don't compile and based on some google'ing this looks to be an open issue for awhile. so, i pulled the source and hacked a quick bsf patch ... something about a JavaScriptException that needed 3 more args in the constructor ... and now have it compiling and trivial examples working. i posted the following trivial diff to the bsf list:
Index: src/org/apache/bsf/engines/javascript/JavaScriptEngine.java
===================================================================
RCS file: /home/cvspublic/jakarta-bsf/src/org/apache/bsf/engines/javascript/JavaScriptEngine.java,v
retrieving revision 1.9
diff -u -r1.9 JavaScriptEngine.java
--- src/org/apache/bsf/engines/javascript/JavaScriptEngine.java 14 Jun 2004 17:29:40 -0000 1.9
+++ src/org/apache/bsf/engines/javascript/JavaScriptEngine.java 23 Jun 2004 08:16:48 -0000
@@ -119,7 +119,7 @@
// Any way to make these arguments *sensible?
if (fun == Scriptable.NOT_FOUND)
throw new EvaluatorException("function " + method +
- " not found.", "none", 0);
+ " not found.", "none", 0, "", 0);
cx.setOptimizationLevel(-1);
cx.setGeneratingDebug(false);
i considered an xml/xslt solution but my head hurts the way it is and at this point i'm simply trying to stop the bleeding vs dress this pup for the prom. next up:
Java == platform independence in my ears: Modest Mouse/The Moon & Antarctica/Tiny Cities Made of Ashes [2004-06-23 19:23:11.0] Permalink |