diff --git a/.classpath b/.classpath
index 1052b9f6d8..b7547fd900 100644
--- a/.classpath
+++ b/.classpath
@@ -1,125 +1,125 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/LICENSE b/LICENSE
index 7c2f7a35d9..bc51b40870 100644
--- a/LICENSE
+++ b/LICENSE
@@ -308,8 +308,6 @@ ofbiz/trunk/framework/jetty/lib/jasper-compiler.jar
ofbiz/trunk/framework/catalina/lib/jasper-runtime.jar
ofbiz/trunk/framework/jetty/lib/jasper-runtime.jar
ofbiz/trunk/framework/webapp/lib/DataVision.jar
-ofbiz/trunk/framework/webapp/lib/EdenLib.jar
-ofbiz/trunk/framework/webapp/lib/JPublish.jar
=========================================================================
Apache Software License
diff --git a/NOTICE b/NOTICE
index d391728472..4152844bea 100644
--- a/NOTICE
+++ b/NOTICE
@@ -117,16 +117,6 @@ Krysalis (http://www.krysalis.org/)."
This product includes software developed by the
JDOM Project (http://www.jdom.org/).
-=========================================================================
-== EdenLib and JPublish Notice ==
-=========================================================================
-
-This product includes software developed by
-Anthony Eden (http://www.anthonyeden.com/).
-
-This product includes software developed by
-Aetrion LLC (http://www.aetrion.com/).
-
=========================================================================
== Freemarker Notice ==
=========================================================================
diff --git a/OPTIONAL_LIBRARIES b/OPTIONAL_LIBRARIES
index fc9bc926f4..75f7092e0b 100644
--- a/OPTIONAL_LIBRARIES
+++ b/OPTIONAL_LIBRARIES
@@ -50,6 +50,26 @@ NOTE: While these aren't included in the main SVN repository they are available
TO DEPLOY, PART 2: to get the component to load on startup, and get the webapp in place and such
the shark component needs to be uncommented in the framework/component-load.xml file.
+-=- Web Presentation: ________________________________________________________________________________________________________________________________________________
+
+-JPublish/EdenLib (Apache):
+ NOTE: these were removed for library compatibility reasons, not for license reasons; working these back in may be tricky
+ http://sourceforge.net/projects/jpublish
+ http://edenlib.sourceforge.net/
+ framework/webapp/lib:
+ JPublish.jar
+ EdenLib.jar
+ TO BUILD comment out exclude: framework/webapp/build.xml:
+ org/ofbiz/webapp/view/GenericViewRenderer.java
+ org/ofbiz/webapp/view/JPublishViewHandler.java
+ org/ofbiz/webapp/view/JPublishWrapper.java
+ org/ofbiz/webapp/view/FopPdfViewHandler.java
+ org/ofbiz/webapp/ftl/FreeMarkerViewHandler.java
+ org/ofbiz/webapp/ftl/FreeMarkerViewRenderer.java
+ org/ofbiz/webapp/ftl/JpCacheIncludeTransform.java
+ AND uncomment the jpublish type section portions of:
+ org/ofbiz/webapp/region/Section.java
+
-=- Scripting: ________________________________________________________________________________________________________________________________________________
-JavaScript/Rhino (NPL 1.1):
@@ -144,4 +164,4 @@ NOTE: While these aren't included in the main SVN repository they are available
readme.txt
select.jar
select.properties
- TO BUILD comment out exclude: applications/accounting/build.xml:org/ofbiz/accounting/thirdparty/worldpay/**
\ No newline at end of file
+ TO BUILD comment out exclude: applications/accounting/build.xml:org/ofbiz/accounting/thirdparty/worldpay/**
diff --git a/applications/accounting/webapp/accounting/WEB-INF/controller.xml b/applications/accounting/webapp/accounting/WEB-INF/controller.xml
index 36844281c6..2db4aca21f 100644
--- a/applications/accounting/webapp/accounting/WEB-INF/controller.xml
+++ b/applications/accounting/webapp/accounting/WEB-INF/controller.xml
@@ -30,7 +30,6 @@ under the License.
-
diff --git a/applications/content/src/org/ofbiz/content/ContentManagementWorker.java b/applications/content/src/org/ofbiz/content/ContentManagementWorker.java
index cac5573f82..f4f37635e4 100644
--- a/applications/content/src/org/ofbiz/content/ContentManagementWorker.java
+++ b/applications/content/src/org/ofbiz/content/ContentManagementWorker.java
@@ -188,6 +188,7 @@ public class ContentManagementWorker {
}
//public static String getFromSomewhere(String name, org.ofbiz.base.util.collections.OrderedMap paramMap, HttpServletRequest request, org.jpublish.JPublishContext context) {
+ /* This method should no longer be in use; the JPublish library was removed by default from OFBiz
public static String getFromSomewhere(String name, Map paramMap, HttpServletRequest request, org.jpublish.JPublishContext context) {
String ret = null;
@@ -206,7 +207,7 @@ public class ContentManagementWorker {
}
}
return ret;
- }
+ } */
public static void getCurrentValue(HttpServletRequest request, GenericDelegator delegator) {
diff --git a/applications/manufacturing/webapp/manufacturing/WEB-INF/controller.xml b/applications/manufacturing/webapp/manufacturing/WEB-INF/controller.xml
index c5d62ea1a3..64f2456f33 100644
--- a/applications/manufacturing/webapp/manufacturing/WEB-INF/controller.xml
+++ b/applications/manufacturing/webapp/manufacturing/WEB-INF/controller.xml
@@ -1,6 +1,5 @@
-
-
diff --git a/applications/marketing/webapp/marketing/WEB-INF/controller.xml b/applications/marketing/webapp/marketing/WEB-INF/controller.xml
index 855b7eed34..a895671fac 100644
--- a/applications/marketing/webapp/marketing/WEB-INF/controller.xml
+++ b/applications/marketing/webapp/marketing/WEB-INF/controller.xml
@@ -29,9 +29,7 @@ under the License.
-
-
diff --git a/applications/order/webapp/ordermgr/WEB-INF/controller.xml b/applications/order/webapp/ordermgr/WEB-INF/controller.xml
index 5aed068f3b..22fc8f31bf 100644
--- a/applications/order/webapp/ordermgr/WEB-INF/controller.xml
+++ b/applications/order/webapp/ordermgr/WEB-INF/controller.xml
@@ -32,11 +32,8 @@
-
-
-
-
+
diff --git a/applications/product/webapp/catalog/WEB-INF/controller.xml b/applications/product/webapp/catalog/WEB-INF/controller.xml
index 77c0f86ef0..f0ffbea6e8 100644
--- a/applications/product/webapp/catalog/WEB-INF/controller.xml
+++ b/applications/product/webapp/catalog/WEB-INF/controller.xml
@@ -30,11 +30,8 @@ under the License.
-
-
-
-
+
diff --git a/applications/workeffort/build.xml b/applications/workeffort/build.xml
index 5a22fe6f47..c9fdc87955 100644
--- a/applications/workeffort/build.xml
+++ b/applications/workeffort/build.xml
@@ -44,6 +44,7 @@ under the License.
+
diff --git a/applications/workeffort/webapp/workeffort/WEB-INF/controller.xml b/applications/workeffort/webapp/workeffort/WEB-INF/controller.xml
index d0165ba21e..939329edb9 100644
--- a/applications/workeffort/webapp/workeffort/WEB-INF/controller.xml
+++ b/applications/workeffort/webapp/workeffort/WEB-INF/controller.xml
@@ -27,10 +27,8 @@ under the License.
-
-
-
+
diff --git a/framework/example/webapp/example/WEB-INF/controller.xml b/framework/example/webapp/example/WEB-INF/controller.xml
index 90bd70ced1..5ca70d2249 100644
--- a/framework/example/webapp/example/WEB-INF/controller.xml
+++ b/framework/example/webapp/example/WEB-INF/controller.xml
@@ -28,10 +28,9 @@ under the License.
-
-
+
-
diff --git a/framework/webapp/build.xml b/framework/webapp/build.xml
index 61547ac2ee..e4fcac4d5e 100644
--- a/framework/webapp/build.xml
+++ b/framework/webapp/build.xml
@@ -15,7 +15,7 @@ License for the specific language governing permissions and limitations
under the License.
-->
-
+
@@ -84,8 +84,17 @@ under the License.
+
+
+
+
+
+
+
+
+
diff --git a/framework/webapp/lib/EdenLib.jar b/framework/webapp/lib/EdenLib.jar
deleted file mode 100644
index 4a432a9c78..0000000000
Binary files a/framework/webapp/lib/EdenLib.jar and /dev/null differ
diff --git a/framework/webapp/lib/JPublish.jar b/framework/webapp/lib/JPublish.jar
deleted file mode 100644
index 474fbd16a4..0000000000
Binary files a/framework/webapp/lib/JPublish.jar and /dev/null differ
diff --git a/framework/webapp/src/org/ofbiz/webapp/region/Section.java b/framework/webapp/src/org/ofbiz/webapp/region/Section.java
index 57d811876f..0f95532efc 100644
--- a/framework/webapp/src/org/ofbiz/webapp/region/Section.java
+++ b/framework/webapp/src/org/ofbiz/webapp/region/Section.java
@@ -23,10 +23,8 @@ import javax.servlet.jsp.JspException;
import javax.servlet.jsp.PageContext;
import org.ofbiz.base.util.Debug;
-import org.ofbiz.base.util.GeneralException;
import org.ofbiz.base.util.UtilJ2eeCompat;
import org.ofbiz.webapp.control.RequestHandler;
-import org.ofbiz.webapp.view.JPublishWrapper;
import org.ofbiz.webapp.view.ViewHandler;
import org.ofbiz.webapp.view.ViewHandlerException;
@@ -115,6 +113,7 @@ public class Section extends Content {
RegionStack.pop(request);
} else if ("jpublish".equals(type)) {
// rather then using the view handler use the wrapper directly
+ /* NOTE: In order to use the "jpublish" section type the JPublish libraries must be added as described in OPTIONAL_LIBRARIES and then uncomment this section
ServletContext sctx = (ServletContext) request.getAttribute("servletContext");
if (sctx != null) {
JPublishWrapper jp = this.getJPublishWrapper(sctx);
@@ -136,6 +135,7 @@ public class Section extends Content {
} else {
throw new IllegalStateException("No servletContext found in request");
}
+ */
} else {
// default is the string that the ViewFactory expects for webapp resources
viewHandlerRender("default", request, response);
@@ -162,6 +162,7 @@ public class Section extends Content {
}
}
+ /* NOTE: In order to use the "jpublish" section type the JPublish libraries must be added as described in OPTIONAL_LIBRARIES and then uncomment this section
protected JPublishWrapper getJPublishWrapper(ServletContext ctx) {
JPublishWrapper wrapper = (JPublishWrapper) ctx.getAttribute("jpublishWrapper");
if (wrapper == null) {
@@ -169,6 +170,7 @@ public class Section extends Content {
}
return wrapper;
}
+ */
public String toString() {
return "Section: " + name + ", info=" + info + ", content=" + content + ", type=" + type;
diff --git a/framework/webtools/webapp/webtools/WEB-INF/controller.xml b/framework/webtools/webapp/webtools/WEB-INF/controller.xml
index 9c08a67aaf..f756007361 100644
--- a/framework/webtools/webapp/webtools/WEB-INF/controller.xml
+++ b/framework/webtools/webapp/webtools/WEB-INF/controller.xml
@@ -29,10 +29,7 @@ under the License.
-
-
-