ofbiz-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jone...@apache.org
Subject svn commit: r486518 - in /incubator/ofbiz/trunk/framework: base/lib/scripting/ base/src/base/org/ofbiz/base/util/ minilang/src/org/ofbiz/minilang/ service/src/org/ofbiz/service/engine/ webapp/src/org/ofbiz/webapp/control/ webapp/src/org/ofbiz/webapp/ev...
Date Wed, 13 Dec 2006 06:58:03 GMT
Author: jonesde
Date: Tue Dec 12 22:58:02 2006
New Revision: 486518

URL: http://svn.apache.org/viewvc?view=rev&rev=486518
Log:
Re-applied the patch from Adam Heath in Jira #OFBIZ-401 to update BSF to the Apache version
2.4.0; with JPublish gone this should work much better now

Added:
    incubator/ofbiz/trunk/framework/base/lib/scripting/bsf-2.4.0.jar   (with props)
Removed:
    incubator/ofbiz/trunk/framework/base/lib/scripting/bsf.jar
Modified:
    incubator/ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/OfbizBshBsfEngine.java
    incubator/ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/SimpleMethodBsfEngine.java
    incubator/ofbiz/trunk/framework/service/src/org/ofbiz/service/engine/BSFEngine.java
    incubator/ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/ControlServlet.java
    incubator/ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/event/BsfEventHandler.java

Added: incubator/ofbiz/trunk/framework/base/lib/scripting/bsf-2.4.0.jar
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/base/lib/scripting/bsf-2.4.0.jar?view=auto&rev=486518
==============================================================================
Binary file - no diff available.

Propchange: incubator/ofbiz/trunk/framework/base/lib/scripting/bsf-2.4.0.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Modified: incubator/ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/OfbizBshBsfEngine.java
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/OfbizBshBsfEngine.java?view=diff&rev=486518&r1=486517&r2=486518
==============================================================================
--- incubator/ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/OfbizBshBsfEngine.java
(original)
+++ incubator/ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/OfbizBshBsfEngine.java
Tue Dec 12 22:58:02 2006
@@ -33,10 +33,10 @@
 import bsh.InterpreterError;
 import bsh.TargetError;
 
-import com.ibm.bsf.BSFDeclaredBean;
-import com.ibm.bsf.BSFException;
-import com.ibm.bsf.BSFManager;
-import com.ibm.bsf.util.BSFEngineImpl;
+import org.apache.bsf.BSFDeclaredBean;
+import org.apache.bsf.BSFException;
+import org.apache.bsf.BSFManager;
+import org.apache.bsf.util.BSFEngineImpl;
 
 import org.ofbiz.base.util.cache.UtilCache;
 

Modified: incubator/ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/SimpleMethodBsfEngine.java
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/SimpleMethodBsfEngine.java?view=diff&rev=486518&r1=486517&r2=486518
==============================================================================
--- incubator/ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/SimpleMethodBsfEngine.java
(original)
+++ incubator/ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/SimpleMethodBsfEngine.java
Tue Dec 12 22:58:02 2006
@@ -23,10 +23,10 @@
 import org.ofbiz.base.util.Debug;
 import org.ofbiz.minilang.method.MethodContext;
 
-import com.ibm.bsf.BSFDeclaredBean;
-import com.ibm.bsf.BSFException;
-import com.ibm.bsf.BSFManager;
-import com.ibm.bsf.util.BSFEngineImpl;
+import org.apache.bsf.BSFDeclaredBean;
+import org.apache.bsf.BSFException;
+import org.apache.bsf.BSFManager;
+import org.apache.bsf.util.BSFEngineImpl;
 
 /**
  * <P>This is the OFBiz MiniLang SimpleMethod adapter for IBM's Bean Scripting Famework.

Modified: incubator/ofbiz/trunk/framework/service/src/org/ofbiz/service/engine/BSFEngine.java
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/service/src/org/ofbiz/service/engine/BSFEngine.java?view=diff&rev=486518&r1=486517&r2=486518
==============================================================================
--- incubator/ofbiz/trunk/framework/service/src/org/ofbiz/service/engine/BSFEngine.java (original)
+++ incubator/ofbiz/trunk/framework/service/src/org/ofbiz/service/engine/BSFEngine.java Tue
Dec 12 22:58:02 2006
@@ -27,8 +27,8 @@
 import org.ofbiz.service.ModelService;
 import org.ofbiz.service.ServiceDispatcher;
 
-import com.ibm.bsf.BSFException;
-import com.ibm.bsf.BSFManager;
+import org.apache.bsf.BSFException;
+import org.apache.bsf.BSFManager;
 
 /**
  * BSF Service Engine
@@ -87,11 +87,11 @@
         mgr.registerBean("context", context);
         
         // pre-load the engine to make sure we were called right
-        com.ibm.bsf.BSFEngine bsfEngine = null;        
+        org.apache.bsf.BSFEngine bsfEngine = null;        
         try {
             bsfEngine = mgr.loadScriptingEngine(modelService.engineName);
         } catch (BSFException e) {
-            throw new GenericServiceException("Problems loading com.ibm.bsf.BSFEngine: "
+ modelService.engineName, e);
+            throw new GenericServiceException("Problems loading org.apache.bsf.BSFEngine:
" + modelService.engineName, e);
         }
         
         // source the script into a string

Modified: incubator/ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/ControlServlet.java
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/ControlServlet.java?view=diff&rev=486518&r1=486517&r2=486518
==============================================================================
--- incubator/ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/ControlServlet.java
(original)
+++ incubator/ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/ControlServlet.java
Tue Dec 12 22:58:02 2006
@@ -26,7 +26,7 @@
 import java.io.IOException;
 import java.util.Enumeration;
 
-import com.ibm.bsf.BSFManager;
+import org.apache.bsf.BSFManager;
 
 import org.ofbiz.base.util.Debug;
 import org.ofbiz.base.util.UtilHttp;

Modified: incubator/ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/event/BsfEventHandler.java
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/event/BsfEventHandler.java?view=diff&rev=486518&r1=486517&r2=486518
==============================================================================
--- incubator/ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/event/BsfEventHandler.java
(original)
+++ incubator/ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/event/BsfEventHandler.java
Tue Dec 12 22:58:02 2006
@@ -22,9 +22,9 @@
 import javax.servlet.http.HttpServletRequest;
 import javax.servlet.http.HttpServletResponse;
 
-import com.ibm.bsf.BSFException;
-import com.ibm.bsf.BSFManager;
-import com.ibm.bsf.util.IOUtils;
+import org.apache.bsf.BSFException;
+import org.apache.bsf.BSFManager;
+import org.apache.bsf.util.IOUtils;
 
 import org.ofbiz.base.util.cache.UtilCache;
 



Mime
View raw message