svn commit: r1754636 - in /ofbiz/trunk: ./ applications/order/template/reports/ applications/order/webapp/ordermgr/WEB-INF/ applications/order/widget/ordermgr/ framework/webapp/src/main/java/org/apache/ofbiz/webapp/view/

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1754636 - in /ofbiz/trunk: ./ applications/order/template/reports/ applications/order/webapp/ordermgr/WEB-INF/ applications/order/widget/ordermgr/ framework/webapp/src/main/java/org/apache/ofbiz/webapp/view/

Mridul Pathak-5
Author: mridulpathak
Date: Sun Jul 31 06:58:39 2016
New Revision: 1754636

URL: http://svn.apache.org/viewvc?rev=1754636&view=rev
Log:
[OFBIZ-7529] Part 3 of "Delete stale java files from applications and framework". Deleted following files/directories, their references and example implementations -

framework/webapp/src/main/java/org/apache/ofbiz/webapp/view/JasperReportsJXlsViewHandler.java
framework/webapp/src/main/java/org/apache/ofbiz/webapp/view/JasperReportsPdfViewHandler.java
framework/webapp/src/main/java/org/apache/ofbiz/webapp/view/JasperReportsPoiXlsViewHandler.java
framework/webapp/src/main/java/org/apache/ofbiz/webapp/view/JasperReportsXmlViewHandler.java

Removed:
    ofbiz/trunk/applications/order/template/reports/ReportList.ftl
    ofbiz/trunk/applications/order/template/reports/orderitemreport.xml
    ofbiz/trunk/applications/order/template/reports/orderreport.xml
    ofbiz/trunk/applications/order/widget/ordermgr/OrderReportScreens.xml
    ofbiz/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/view/JasperReportsJXlsViewHandler.java
    ofbiz/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/view/JasperReportsPdfViewHandler.java
    ofbiz/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/view/JasperReportsPoiXlsViewHandler.java
    ofbiz/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/view/JasperReportsXmlViewHandler.java
Modified:
    ofbiz/trunk/OPTIONAL_LIBRARIES
    ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/controller.xml
    ofbiz/trunk/build.gradle

Modified: ofbiz/trunk/OPTIONAL_LIBRARIES
URL: http://svn.apache.org/viewvc/ofbiz/trunk/OPTIONAL_LIBRARIES?rev=1754636&r1=1754635&r2=1754636&view=diff
==============================================================================
--- ofbiz/trunk/OPTIONAL_LIBRARIES (original)
+++ ofbiz/trunk/OPTIONAL_LIBRARIES Sun Jul 31 06:58:39 2016
@@ -15,11 +15,6 @@ on the old Undersun SVN server in the sp
 
 -=- Reporting: ________________________________________________________________________________________________________________________________________________
 
--JasperReports (LGPL):
-  http://sourceforge.net/projects/jasperreports
-  TO BUILD comment out excludes:
-    framework/webapp/build.xml:org/apache/ofbiz/webapp/view/JasperReportsPdfViewHandler.java,org/apache/ofbiz/webapp/view/JasperReportsXmlViewHandler.java
-
 - JIMI (used by FOP ):
   http://java.sun.com/products/jimi
     FOP may require a library called JIMI to print certain graphical formats such as GIFs.  Jimi is a Sun library which cannot

Modified: ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/controller.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/controller.xml?rev=1754636&r1=1754635&r2=1754636&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/controller.xml (original)
+++ ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/controller.xml Sun Jul 31 06:58:39 2016
@@ -1900,31 +1900,6 @@ under the License.
         <response name="error" type="view" value="orderview"/>
     </request-map>
 
-    <!--
-        These are just examples of reports developed using JasperReport and not really
-        useful reports. In order to run them you'll have to follow the notes in the
-        OPTIONAL_LIBRARIES files, add the following entry:
-        <handler name="jasperreportspdf" type="view" class="org.apache.ofbiz.webapp.view.JasperReportsPdfViewHandler"/>
-        to the handler section of this file and uncomment the following lines:
-    <request-map uri="orderreportjasper.pdf"><security https="true" auth="true"/>
-        <event type="groovy" path="/reports/" invoke="OrderReportPrepare.groovy"/> TODO: path to be changed
-        <response name="success" type="view" value="orderreportjasper"/>
-    </request-map>
-    <request-map uri="orderitemreportjasper.pdf"><security https="true" auth="true"/>
-        <event type="groovy" path="/reports/" invoke="OrderReportPrepare.groovy"/> TODO: path to be changed
-        <response name="success" type="view" value="orderitemreportjasper"/>
-    </request-map>
-    <request-map uri="orderreportlist">
-        <security https="true" auth="true"/>
-        <response name="success" type="view" value="orderreportlist"/>
-    </request-map>
-
-
-    <view-map name="orderreportlist" type="screen" page="component://order/widget/ordermgr/OrderReportScreens.xml#OrderReportList"/>
-    <view-map name="orderreportjasper" type="jasperreportspdf" page="/reports/orderreport.xml" content-type="application/pdf" encoding="none"/>
-    <view-map name="orderitemreportjasper" type="jasperreportspdf" page="/reports/orderitemreport.xml" content-type="application/pdf" encoding="none"/>
-    -->
-
     <!-- end of request mappings -->
 
     <!-- View Mappings -->

Modified: ofbiz/trunk/build.gradle
URL: http://svn.apache.org/viewvc/ofbiz/trunk/build.gradle?rev=1754636&r1=1754635&r2=1754636&view=diff
==============================================================================
--- ofbiz/trunk/build.gradle (original)
+++ ofbiz/trunk/build.gradle Sun Jul 31 06:58:39 2016
@@ -216,10 +216,6 @@ excludedJavaSources.add 'org/apache/ofbi
 excludedJavaSources.add 'org/apache/ofbiz/order/thirdparty/taxware/TaxwareException.java'
 excludedJavaSources.add 'org/apache/ofbiz/order/thirdparty/taxware/TaxwareServices.java'
 excludedJavaSources.add 'org/apache/ofbiz/order/thirdparty/taxware/TaxwareUTL.java'
-excludedJavaSources.add 'org/apache/ofbiz/webapp/view/JasperReportsJXlsViewHandler.java'
-excludedJavaSources.add 'org/apache/ofbiz/webapp/view/JasperReportsPdfViewHandler.java'
-excludedJavaSources.add 'org/apache/ofbiz/webapp/view/JasperReportsPoiXlsViewHandler.java'
-excludedJavaSources.add 'org/apache/ofbiz/webapp/view/JasperReportsXmlViewHandler.java'
 
 sourceSets {
     main {