You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2012/12/03 08:02:39 UTC

svn commit: r1416358 - in /ofbiz/trunk: build.xml framework/base/lib/yuicompressor-2.4.6.jar macros.xml

Author: jleroux
Date: Mon Dec  3 07:02:38 2012
New Revision: 1416358

URL: http://svn.apache.org/viewvc?rev=1416358&view=rev
Log:
Reverts r1310983 (related to https://issues.apache.org/jira/browse/OFBIZ-4792 )for 2 reasons:

* I missed to put in LICENSE and NOTICE
* It's an issue for Birt, see OFBIZ-5070

Removed:
    ofbiz/trunk/framework/base/lib/yuicompressor-2.4.6.jar
Modified:
    ofbiz/trunk/build.xml
    ofbiz/trunk/macros.xml

Modified: ofbiz/trunk/build.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/build.xml?rev=1416358&r1=1416357&r2=1416358&view=diff
==============================================================================
--- ofbiz/trunk/build.xml (original)
+++ ofbiz/trunk/build.xml Mon Dec  3 07:02:38 2012
@@ -1252,15 +1252,6 @@ under the License.
     </target>
 
     <!-- ================================================================== -->
-    <!-- Minify js and css files target.                                    -->
-    <!-- ================================================================== -->
-
-    <target name="minifyJsCss" description="Creates a minified version of JS/CSS files">
-        <!-- Needs more work (more files, use of them) just used as an example -->
-        <!--yuicompressor inFile="themes/tomahawk/webapp/tomahawk/css/style.css" outFile="themes/tomahawk/webapp/tomahawk/css/style-min.css"/-->
-    </target>
-
-    <!-- ================================================================== -->
     <!-- kek helper                                                         -->
     <!-- ================================================================== -->
 

Modified: ofbiz/trunk/macros.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/macros.xml?rev=1416358&r1=1416357&r2=1416358&view=diff
==============================================================================
--- ofbiz/trunk/macros.xml (original)
+++ ofbiz/trunk/macros.xml Mon Dec  3 07:02:38 2012
@@ -257,18 +257,4 @@ under the License.
    </if>
   </sequential>
  </macrodef>
-
- <macrodef name="yuicompressor" description="Runs the YUI JS/CSS compressor on the specified inFile and saves the output to outFile">
-  <attribute name="inFile"/>
-  <attribute name="outFile"/>
-  <sequential>
-    <echo message="Minify @{inFile}"/>
-      <java jar="${ofbiz.home.dir}/framework/base/lib/yuicompressor-2.4.6.jar" fork="true">
-        <arg value="-o"/>
-        <arg value="@{outFile}"/>
-        <arg value="@{inFile}"/>
-    </java>
-   </sequential>
- </macrodef>
-
 </project>