Bug Tracker

Changeset 4487

Show
Ignore:
Timestamp:
01/20/08 14:36:44 (1 year ago)
Author:
joern.zaefferer
Message:

improved zip target to create a folder named "jquery-${plugin}" inside the zip file, fixing #1385 for plugins

Location:
trunk/plugins
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • trunk/plugins/build.xml

    r3653 r4487  
    3939    <target name="zip" description="Do not call directly."> 
    4040        <echo message="Zipping ${plugin}" /> 
     41        <property name="tempdir" value=".anttemp" /> 
     42        <property name="zipdir" value="${tempdir}/jquery-${plugin}" /> 
     43        <mkdir dir="${tempdir}" /> 
     44        <mkdir dir="${zipdir}" /> 
     45        <copy todir="${zipdir}"> 
     46            <fileset dir="${SRC_DIR}${plugin}" excludes="*.zip" /> 
     47        </copy> 
    4148        <zip destfile="${SRC_DIR}${plugin}/jquery.${plugin}.zip"> 
    42             <zipfileset dir="${SRC_DIR}${plugin}" excludes="*.zip" /> 
     49            <zipfileset dir="${tempdir}" excludes="*.zip" /> 
    4350        </zip> 
     51        <delete dir="${tempdir}" /> 
    4452        <echo message="${plugin} zipped" /> 
    4553    </target> 
  • trunk/plugins/validate/jquery.validate.min.js

    r4484 r4487  
    77 * Copyright (c) 2006 - 2008 Jörn Zaefferer 
    88 * 
    9  * $Id: jquery.validate.js 4479 2008-01-18 14:28:00Z joern.zaefferer $ 
     9 * $Id: jquery.validate.js 4484 2008-01-20 13:52:02Z joern.zaefferer $ 
    1010 * 
    1111 * Dual licensed under the MIT and GPL licenses: 
  • trunk/plugins/validate/jquery.validate.pack.js

    r4484 r4487  
    77 * Copyright (c) 2006 - 2008 Jörn Zaefferer 
    88 * 
    9  * $Id: jquery.validate.js 4479 2008-01-18 14:28:00Z joern.zaefferer $ 
     9 * $Id: jquery.validate.js 4484 2008-01-20 13:52:02Z joern.zaefferer $ 
    1010 * 
    1111 * Dual licensed under the MIT and GPL licenses: