svn commit: r536788 - in /ofbiz/trunk: .classpath LICENSE NOTICE framework/webapp/lib/DataVision-0.7.8.jar framework/webapp/lib/DataVision-1.0.0.jar framework/webapp/lib/MinML2.jar framework/webapp/src/org/ofbiz/webapp/view/DataVisionViewHandler.java

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

svn commit: r536788 - in /ofbiz/trunk: .classpath LICENSE NOTICE framework/webapp/lib/DataVision-0.7.8.jar framework/webapp/lib/DataVision-1.0.0.jar framework/webapp/lib/MinML2.jar framework/webapp/src/org/ofbiz/webapp/view/DataVisionViewHandler.java

jacopoc
Author: jacopoc
Date: Thu May 10 02:23:39 2007
New Revision: 536788

URL: http://svn.apache.org/viewvc?view=rev&rev=536788
Log:
Updated DataVision to 1.0.0; removed MinML2 jars that was only needed by the old DataVision jar.

Added:
    ofbiz/trunk/framework/webapp/lib/DataVision-1.0.0.jar   (with props)
Removed:
    ofbiz/trunk/framework/webapp/lib/DataVision-0.7.8.jar
    ofbiz/trunk/framework/webapp/lib/MinML2.jar
Modified:
    ofbiz/trunk/.classpath
    ofbiz/trunk/LICENSE
    ofbiz/trunk/NOTICE
    ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/view/DataVisionViewHandler.java

Modified: ofbiz/trunk/.classpath
URL: http://svn.apache.org/viewvc/ofbiz/trunk/.classpath?view=diff&rev=536788&r1=536787&r2=536788
==============================================================================
--- ofbiz/trunk/.classpath (original)
+++ ofbiz/trunk/.classpath Thu May 10 02:23:39 2007
@@ -36,8 +36,7 @@
  <classpathentry kind="src" path="framework/widget/src"/>
  <classpathentry kind="src" path="framework/workflow/src"/>
  <classpathentry kind="lib" path="framework/webapp/lib/velocity-1.5.jar"/>
- <classpathentry kind="lib" path="framework/webapp/lib/MinML2.jar"/>
- <classpathentry kind="lib" path="framework/webapp/lib/DataVision-0.7.8.jar"/>
+ <classpathentry kind="lib" path="framework/webapp/lib/DataVision-1.0.0.jar"/>
  <classpathentry kind="lib" path="framework/webapp/lib/batik-all-1.6.jar"/>
  <classpathentry kind="lib" path="framework/service/lib/wsdl4j.jar"/>
  <classpathentry kind="lib" path="framework/service/lib/axis-ant.jar"/>

Modified: ofbiz/trunk/LICENSE
URL: http://svn.apache.org/viewvc/ofbiz/trunk/LICENSE?view=diff&rev=536788&r1=536787&r2=536788
==============================================================================
--- ofbiz/trunk/LICENSE (original)
+++ ofbiz/trunk/LICENSE Thu May 10 02:23:39 2007
@@ -301,7 +301,7 @@
 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-0.7.8.jar
+ofbiz/trunk/framework/webapp/lib/DataVision-1.0.0.jar
 =========================================================================
 Apache Software License
 
@@ -418,7 +418,6 @@
 ofbiz/trunk/framework/base/lib/freemarker-2.3.10.jar
 ofbiz/trunk/framework/base/lib/junitperf.jar
 ofbiz/trunk/specialpurpose/pos/lib/looks-2.0.2.jar
-ofbiz/trunk/framework/webapp/lib/MinML2.jar
 ofbiz/trunk/framework/base/lib/javolution-4.2.8.jar
 ofbiz/trunk/framework/images/webapp/images/dojo/*
 =========================================================================

Modified: ofbiz/trunk/NOTICE
URL: http://svn.apache.org/viewvc/ofbiz/trunk/NOTICE?view=diff&rev=536788&r1=536787&r2=536788
==============================================================================
--- ofbiz/trunk/NOTICE (original)
+++ ofbiz/trunk/NOTICE Thu May 10 02:23:39 2007
@@ -196,3 +196,42 @@
 This product incudes software developed by
 Douglas Crockford (http://www.crockford.com).
 
+=========================================================================
+==  DataVision Notice                                                  ==
+=========================================================================
+
+Icons
+
+DataVision uses graphic images developed by Sun. The image files are copied
+into DataVision.jar.
+
+Copyright 2000 by Sun Microsystems, Inc. All Rights Reserved.
+
+Sun grants you (``Licensee'') a non-exclusive, royalty free, license to use,
+and redistribute this software graphics artwork, as individual graphics or
+as a collection, as part of software code or programs that you develop,
+provided that i) this copyright notice and license accompany the software
+graphics artwork; and ii) you do not utilize the software graphics artwork
+in a manner which is disparaging to Sun. Unless enforcement is prohibited
+by applicable law, you may not modify the graphics, and must use them true
+to color and unmodified in every way.
+
+This software graphics artwork is provided ``AS IS,'' without a warranty of
+any kind. ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND
+WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR
+A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY EXCLUDED. SUN AND ITS
+LICENSORS SHALL NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS A
+RESULT OF USING, MODIFYING OR DISTRIBUTING THE SOFTWARE GRAPHICS ARTWORK.
+
+IN NO EVENT WILL SUN OR ITS LICENSORS BE LIABLE FOR ANY LOST REVENUE,
+PROFIT OR DATA, OR FOR DIRECT, INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL
+OR PUNITIVE DAMAGES, HOWEVER CAUSED AND REGARDLESS OF THE THEORY OF
+LIABILITY, ARISING OUT OF THE USE OF OR INABILITY TO USE SOFTWARE GRAPHICS
+ARTWORK, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
+
+If any of the above provisions are held to be in violation of applicable
+law, void, or unenforceable in any jurisdiction, then such provisions are
+waived to the extent necessary for this Disclaimer to be otherwise
+enforceable in such jurisdiction.
+
+================================================================

Added: ofbiz/trunk/framework/webapp/lib/DataVision-1.0.0.jar
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webapp/lib/DataVision-1.0.0.jar?view=auto&rev=536788
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/webapp/lib/DataVision-1.0.0.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Modified: ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/view/DataVisionViewHandler.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/view/DataVisionViewHandler.java?view=diff&rev=536788&r1=536787&r2=536788
==============================================================================
--- ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/view/DataVisionViewHandler.java (original)
+++ ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/view/DataVisionViewHandler.java Thu May 10 02:23:39 2007
@@ -18,6 +18,7 @@
  *******************************************************************************/
 package org.ofbiz.webapp.view;
 
+import java.io.File;
 import java.io.FileNotFoundException;
 import java.io.IOException;
 import javax.servlet.ServletContext;
@@ -83,7 +84,7 @@
             */
 
             Debug.logInfo("before reading file", module);
-            report.readFile(context.getRealPath(page)); // Must be after password
+            report.read(new File(context.getRealPath(page))); // Must be after password
 
             /* NO support for param file yet... need to pull in page params or something
              if (there_are_params_in_report) {