Permalink
Browse files

Start Plupload 2.

  • Loading branch information...
1 parent dab1356 commit 58f3dda9f0deabc86a531a480ef30cc50ffdfd18 @jayarjo jayarjo committed Nov 29, 2012
Showing with 3,078 additions and 25,110 deletions.
  1. +0 −2 .gitattributes
  2. +16 −19 .gitignore
  3. +3 −0 .gitmodules
  4. +137 −0 Jakefile.js
  5. +0 −2 build.bat
  6. +0 −208 build.xml
  7. +379 −0 build/BuildTools.js
  8. +30 −0 build/bunyip.config.js
  9. +12 −0 build/headnote.txt
  10. +2 −0 changelog.txt
  11. +27 −15 examples/custom.html
  12. +0 −196 examples/jquery/events.html
  13. +23 −19 examples/jquery/jquery_ui_widget.html
  14. +14 −61 examples/jquery/queue_widget.html
  15. +1 −7 examples/jquery/s3.php
  16. +1 −28 readme.md
  17. +0 −8 src/csharp/Plupload/App.xaml
  18. +0 −45 src/csharp/Plupload/App.xaml.cs
  19. +0 −222 src/csharp/Plupload/FJCore/DCT.cs
  20. +0 −121 src/csharp/Plupload/FJCore/DecodedJpeg.cs
  21. +0 −487 src/csharp/Plupload/FJCore/Decoder/HuffmanTable.cs
  22. +0 −702 src/csharp/Plupload/FJCore/Decoder/JpegComponent.cs
  23. +0 −614 src/csharp/Plupload/FJCore/Decoder/JpegDecoder.cs
  24. +0 −283 src/csharp/Plupload/FJCore/Decoder/JpegFrame.cs
  25. +0 −183 src/csharp/Plupload/FJCore/Decoder/JpegHuffmanTable.cs
  26. +0 −116 src/csharp/Plupload/FJCore/Decoder/JpegQuantizationTable.cs
  27. +0 −37 src/csharp/Plupload/FJCore/Decoder/JpegScan.cs
  28. +0 −327 src/csharp/Plupload/FJCore/Encoder/JpegEncoder.cs
  29. +0 −201 src/csharp/Plupload/FJCore/FDCT.cs
  30. +0 −404 src/csharp/Plupload/FJCore/Filter/Convolution.cs
  31. +0 −47 src/csharp/Plupload/FJCore/Filter/FilterBase.cs
  32. +0 −44 src/csharp/Plupload/FJCore/Filter/FilterLowpassResize.cs
  33. +0 −47 src/csharp/Plupload/FJCore/Filter/FilterNNResize.cs
  34. +0 −77 src/csharp/Plupload/FJCore/Filter/GrayImage.cs
  35. +0 −90 src/csharp/Plupload/FJCore/IJG.txt
  36. +0 −46 src/csharp/Plupload/FJCore/IO/BinaryReader.cs
  37. +0 −45 src/csharp/Plupload/FJCore/IO/BinaryWriter.cs
  38. +0 −117 src/csharp/Plupload/FJCore/IO/JpegBinaryReader.cs
  39. +0 −183 src/csharp/Plupload/FJCore/Image.cs
  40. +0 −40 src/csharp/Plupload/FJCore/JAI.txt
  41. +0 −128 src/csharp/Plupload/FJCore/JpegMarker.cs
  42. +0 −24 src/csharp/Plupload/FJCore/License.txt
  43. +0 −30 src/csharp/Plupload/FJCore/README.txt
  44. +0 −98 src/csharp/Plupload/FJCore/Resize/ImageResizer.cs
  45. +0 −59 src/csharp/Plupload/FJCore/YCbCr.cs
  46. +0 −65 src/csharp/Plupload/FJCore/ZigZag.cs
  47. +0 −700 src/csharp/Plupload/FileReference.cs
  48. +0 −7 src/csharp/Plupload/Page.xaml
  49. +0 −230 src/csharp/Plupload/Page.xaml.cs
  50. +0 −223 src/csharp/Plupload/Plupload.csproj
  51. +0 −20 src/csharp/Plupload/Plupload.sln
  52. +0 −216 src/csharp/Plupload/PngEncoder/Adler32.cs
  53. +0 −213 src/csharp/Plupload/PngEncoder/CRC32.cs
  54. +0 −543 src/csharp/Plupload/PngEncoder/Deflater.cs
  55. +0 −184 src/csharp/Plupload/PngEncoder/DeflaterConstants.cs
  56. +0 −832 src/csharp/Plupload/PngEncoder/DeflaterEngine.cs
  57. +0 −881 src/csharp/Plupload/PngEncoder/DeflaterHuffman.cs
  58. +0 −469 src/csharp/Plupload/PngEncoder/DeflaterOutputStream.cs
  59. +0 −55 src/csharp/Plupload/PngEncoder/DeflaterPending.cs
  60. +0 −90 src/csharp/Plupload/PngEncoder/IChecksum.cs
  61. +0 −281 src/csharp/Plupload/PngEncoder/PendingBuffer.cs
  62. +0 −467 src/csharp/Plupload/PngEncoder/PngEncoder.cs
  63. +0 −6 src/csharp/Plupload/Properties/AppManifest.xml
  64. +0 −45 src/csharp/Plupload/Properties/AssemblyInfo.cs
  65. +0 −486 src/csharp/Plupload/Utils/JsonReader.cs
  66. +0 −85 src/flash/plupload/Plupload.as3proj
  67. +0 −21 src/flash/plupload/build.sh
  68. +0 −254 src/flash/plupload/src/com/formatlos/BitmapDataUnlimited.as
  69. +0 −197 src/flash/plupload/src/com/formatlos/Gif.as
  70. +0 −1 src/flash/plupload/src/com/formatlos/events/BitmapDataUnlimitedEvent.as
  71. +0 −92 src/flash/plupload/src/com/mxi/BinaryReader.as
  72. +0 −42 src/flash/plupload/src/com/mxi/CleanEventDispatcher.as
  73. +0 −408 src/flash/plupload/src/com/mxi/image/ExifParser.as
  74. +0 −208 src/flash/plupload/src/com/mxi/image/Image.as
  75. +0 −186 src/flash/plupload/src/com/mxi/image/JPEG.as
  76. +0 −77 src/flash/plupload/src/com/mxi/image/PNG.as
  77. +0 −29 src/flash/plupload/src/com/mxi/image/events/ExifParserEvent.as
  78. +0 −36 src/flash/plupload/src/com/mxi/image/events/ImageEvent.as
  79. +0 −499 src/flash/plupload/src/com/plupload/File.as
  80. +0 −413 src/flash/plupload/src/com/plupload/Plupload.as
  81. +0 −56 src/flash/plupload/src/com/plupload/UploadChunkEvent.as
  82. 0 src/{javascript → }/i18n/cs.js
  83. 0 src/{javascript → }/i18n/da.js
  84. 0 src/{javascript → }/i18n/de.js
  85. 0 src/{javascript → }/i18n/el.js
  86. 0 src/{javascript → }/i18n/es.js
  87. 0 src/{javascript → }/i18n/et.js
  88. 0 src/{javascript → }/i18n/fa.js
  89. 0 src/{javascript → }/i18n/fi.js
  90. 0 src/{javascript → }/i18n/fr-ca.js
  91. 0 src/{javascript → }/i18n/fr.js
  92. 0 src/{javascript → }/i18n/hr.js
  93. 0 src/{javascript → }/i18n/hu.js
  94. 0 src/{javascript → }/i18n/it.js
  95. 0 src/{javascript → }/i18n/ja.js
  96. 0 src/{javascript → }/i18n/ko.js
  97. 0 src/{javascript → }/i18n/lv.js
  98. 0 src/{javascript → }/i18n/nl.js
  99. 0 src/{javascript → }/i18n/pl.js
  100. 0 src/{javascript → }/i18n/pt-br.js
  101. 0 src/{javascript → }/i18n/ro.js
  102. 0 src/{javascript → }/i18n/ru.js
  103. 0 src/{javascript → }/i18n/sr.js
  104. 0 src/{javascript → }/i18n/sv.js
  105. +0 −147 src/javascript/jquery.ui.plupload/css/jquery.ui.plupload.css
  106. BIN src/javascript/jquery.ui.plupload/img/plupload-bw.png
  107. BIN src/javascript/jquery.ui.plupload/img/plupload.png
  108. +0 −361 src/javascript/plupload.browserplus.js
  109. +0 −431 src/javascript/plupload.flash.js
  110. +0 −444 src/javascript/plupload.gears.js
  111. +0 −430 src/javascript/plupload.html4.js
  112. +0 −1,414 src/javascript/plupload.html5.js
  113. +0 −1,773 src/javascript/plupload.js
  114. +0 −447 src/javascript/plupload.silverlight.js
  115. 0 src/{javascript → }/jquery.plupload.queue/css/jquery.plupload.queue.css
  116. BIN src/{javascript → }/jquery.plupload.queue/img/backgrounds.gif
  117. BIN src/{javascript → }/jquery.plupload.queue/img/buttons-disabled.png
  118. BIN src/{javascript → }/jquery.plupload.queue/img/buttons.png
  119. BIN src/{javascript → }/jquery.plupload.queue/img/delete.gif
  120. BIN src/{javascript → }/jquery.plupload.queue/img/done.gif
  121. BIN src/{javascript → }/jquery.plupload.queue/img/error.gif
  122. BIN src/{javascript → }/jquery.plupload.queue/img/throbber.gif
  123. BIN src/{javascript → }/jquery.plupload.queue/img/transp50.png
  124. 0 src/{javascript → }/jquery.plupload.queue/jquery.plupload.queue.js
  125. +333 −0 src/jquery.ui.plupload/css/jquery.ui.plupload.css
  126. BIN src/jquery.ui.plupload/img/loading.gif
  127. BIN src/jquery.ui.plupload/img/plupload.png
  128. +456 −226 src/{javascript → }/jquery.ui.plupload/jquery.ui.plupload.js
  129. +1 −0 src/moxie
  130. +1,638 −0 src/plupload.js
  131. +0 −152 tests/api.html
  132. +0 −120 tests/css/unit.css
  133. +0 −244 tests/error.html
  134. +0 −18 tests/error.php
  135. +5 −25 tests/index.html
  136. +0 −171 tests/multipart.html
  137. +0 −20 tests/qunit/QUnit.LICENSE
  138. +0 −152 tests/qunit/jquery.simulate.js
  139. +0 −196 tests/qunit/qunit.css
  140. +0 −1,365 tests/qunit/qunit.js
  141. +0 −170 tests/qunit/runner.js
  142. +0 −73 tests/shim.html
  143. BIN tools/ant/ant-contrib.jar
  144. BIN tools/ant/js_build_tools.jar
  145. BIN tools/ant/jslint4java.jar
  146. BIN tools/ant/yuicompressor.jar
  147. +0 −656 tools/templates/class.xsl
  148. +0 −235 tools/templates/css/general.css
  149. +0 −467 tools/templates/css/grids.css
  150. +0 −75 tools/templates/css/jquery.treeview.css
  151. +0 −142 tools/templates/css/reset.css
  152. +0 −342 tools/templates/css/shCore.css
  153. +0 −191 tools/templates/css/shThemeMoxieDoc.css
  154. BIN tools/templates/img/class.gif
  155. BIN tools/templates/img/event.gif
  156. BIN tools/templates/img/help.png
  157. BIN tools/templates/img/inherit-arrow.gif
  158. BIN tools/templates/img/inherited.gif
  159. BIN tools/templates/img/loader.gif
  160. BIN tools/templates/img/magnifier.png
  161. BIN tools/templates/img/method.gif
  162. BIN tools/templates/img/namespace.gif
  163. BIN tools/templates/img/page_white_code.png
  164. BIN tools/templates/img/page_white_copy.png
  165. BIN tools/templates/img/printer.png
  166. BIN tools/templates/img/property.gif
  167. BIN tools/templates/img/root.gif
  168. BIN tools/templates/img/static.gif
  169. BIN tools/templates/img/treeview-famfamfam.gif
  170. BIN tools/templates/img/wrapping.png
  171. +0 −121 tools/templates/index.xsl
  172. BIN tools/templates/js/clipboard.swf
  173. +0 −96 tools/templates/js/general.js
  174. +0 −15 tools/templates/js/jquery.treeview.min.js
  175. +0 −52 tools/templates/js/shBrushJScript.js
  176. +0 −30 tools/templates/js/shCore.js
  177. +0 −310 tools/templates/member.xsl
View
@@ -1,2 +0,0 @@
-* crlf=input
-* -text
View
@@ -1,19 +1,16 @@
-bin
-js
-obj
-tmp
-docs
-jslint.xml
-.settings
-.project
-*~
-*.diff
-*.patch
-*.bak
-*.log
-*.min.js
-*.xap
-*.swf
-*.suo
-*.user
-.DS_Store
+js
+examples/uploads/*
+tmp
+jslint.xml
+.settings
+.project
+docs
+jscoverage
+*~
+*.diff
+*.patch
+*.bak
+*.log
+*.min.js
+.DS_Store
+node_modules
View
@@ -0,0 +1,3 @@
+[submodule "src/moxie"]
+ path = src/moxie
+ url = git@github.com:moxiecode/moxie.git
View
@@ -0,0 +1,137 @@
+var fs = require("fs");
+var wrench = require("wrench");
+var path = require("path");
+var exec = require('child_process').exec;
+var tools = require('./build/BuildTools');
+var uglify = tools.uglify;
+var less = tools.less;
+var yuidoc = tools.yuidoc;
+var jshint = tools.jshint;
+var zip = tools.zip;
+
+function exit(message) {
+ if (message) {
+ console.info(message);
+ }
+ complete();
+ process.exit(arguments[1] || 0);
+}
+
+desc("Default build task");
+task("default", ["minifyjs", "yuidoc"], function (params) {});
+
+desc("Build release package");
+task("release", ["default", "package"], function (params) {});
+
+
+desc("Build mOxie");
+task("moxie", [], function (params) {
+ var moxieDir = "src/moxie";
+ exec("cd " + moxieDir + "; jake lib; cd ../..;", function(error, stdout, stderr) {
+ if (!error) {
+ complete();
+ } else {
+ exit("mOxie: Build process failed.", 1);
+ }
+ });
+}, true);
+
+
+desc("Minify JS files");
+task("minifyjs", [], function (params) {
+ var targetDir = "./js", moxieDir = "src/moxie";
+
+ // Clear previous versions
+ if (path.existsSync(targetDir)) {
+ tools.rmDir(targetDir);
+ }
+ fs.mkdirSync(targetDir, 0755);
+
+ // Copy compiled moxie files
+ tools.copySync(moxieDir + "/js/Moxie.swf", "js/Moxie.swf");
+ tools.copySync(moxieDir + "/js/Moxie.xap", "js/Moxie.xap");
+ tools.copySync(moxieDir + "/js/moxie.min.js", "js/moxie.min.js");
+
+ // Copy UI Plupload
+ wrench.copyDirSyncRecursive("./src/jquery.ui.plupload", targetDir + "/jquery.ui.plupload", {});
+
+ uglify([
+ 'jquery.ui.plupload.js'
+ ], targetDir + "/jquery.ui.plupload/jquery.ui.plupload.min.js", {
+ sourceBase: targetDir + "/jquery.ui.plupload/"
+ });
+
+ // Copy Queue Plupload
+ wrench.copyDirSyncRecursive("./src/jquery.plupload.queue", targetDir + "/jquery.plupload.queue", {});
+
+ uglify([
+ 'jquery.plupload.queue.js'
+ ], targetDir + "/jquery.plupload.queue/jquery.plupload.queue.min.js", {
+ sourceBase: targetDir + "/jquery.plupload.queue/"
+ });
+
+ // Minify Plupload and combine with mOxie
+ uglify([
+ 'plupload.js'
+ ], targetDir + "/plupload.min.js", {
+ sourceBase: 'src/'
+ });
+
+ var releaseInfo = tools.getReleaseInfo("./changelog.txt");
+ tools.addReleaseDetailsTo(targetDir + "/plupload.min.js", releaseInfo);
+
+
+ var code = "";
+ code += fs.readFileSync(targetDir + "/moxie.min.js") + "\n";
+ code += fs.readFileSync(targetDir + "/plupload.min.js");
+
+ fs.writeFileSync(targetDir + "/plupload.full.min.js", code);
+});
+
+
+desc("Generate documentation using YUIDoc");
+task("yuidoc", [], function (params) {
+ yuidoc("src", "docs");
+});
+
+desc("Runs JSHint on source files");
+task("jshint", [], function (params) {
+ jshint("src", {
+ curly: true
+ });
+});
+
+
+desc("Package library");
+task("package", [], function (params) {
+ var releaseInfo = tools.getReleaseInfo("./changelog.txt");
+
+ var tmpDir = "./tmp";
+ if (path.existsSync(tmpDir)) {
+ wrench.rmdirSyncRecursive(tmpDir);
+ }
+ fs.mkdirSync(tmpDir, 0755);
+
+
+ // User package
+ zip([
+ "js",
+ "examples",
+ ["readme.md", "readme.txt"],
+ "changelog.txt",
+ "license.txt"
+ ], path.join(tmpDir, "plupload_" + releaseInfo.fileVersion + ".zip"));
+
+ // Development package
+ zip([
+ "src",
+ "js",
+ "examples",
+ "tests",
+ "build",
+ "Jakefile.js",
+ ["readme.md", "readme.txt"],
+ "changelog.txt",
+ "license.txt"
+ ], path.join(tmpDir, "plupload_" + releaseInfo.fileVersion + "_dev.zip"));
+});
View
@@ -1,2 +0,0 @@
-@echo off
-ant -q %*
View
208 build.xml
@@ -1,208 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project name="Plupload" default="build" basedir=".">
- <!-- Properties -->
- <property description="Temp directory" name="tmp_dir" value="tmp" />
-
- <!-- Setup classpath for js-build-tools ant tasks -->
- <path id="tasks.classpath">
- <pathelement location="."/>
-
- <fileset dir="tools/ant">
- <include name="**/*.jar"/>
-
- <!-- Exclude jslint since it also has the Rhino API -->
- <exclude name="**/jslint4java.jar"/>
- </fileset>
- </path>
-
- <!-- Task definitions - register new js-build-tools ant tasks -->
- <taskdef name="preprocess" classname="com.moxiecode.ant.tasks.PreProcessTask" classpathref="tasks.classpath" loaderref="tasks.classpath.loader" />
- <taskdef name="yuicompress" classname="com.moxiecode.ant.tasks.YuiCompressTask" classpathref="tasks.classpath" loaderref="tasks.classpath.loader" />
- <taskdef name="moxiedoc" classname="com.moxiecode.ant.tasks.MoxieDocTask" classpathref="tasks.classpath" loaderref="tasks.classpath.loader" />
- <taskdef resource="net/sf/antcontrib/antcontrib.properties" classpathref="tasks.classpath" loaderref="tasks.classpath.loader" />
- <taskdef name="jslint" classname="com.googlecode.jslint4java.ant.JSLintTask" classpath="tools/ant/jslint4java.jar" />
-
- <!-- Generate JS documentation -->
- <target name="moxiedoc" depends="" description="Generates HTML documentation out of js source">
- <delete quiet="true">
- <fileset dir="docs/api" includes="**/*"/>
- </delete>
- <mkdir dir="docs" />
-
- <moxiedoc outdir="docs/api" templatedir="tools/templates" msintellisense="docs/api/plupload.vsdoc.js" title="Plupload API">
- <fileset dir="src">
- <exclude name="jquery.*" />
- <include name="javascript/**/*.js" />
- </fileset>
- </moxiedoc>
- </target>
-
- <target name="jslint">
- <jslint options="browser,undef,forin">
- <formatter type="plain" />
- <formatter type="xml" destfile="jslint.xml" />
- <fileset dir="src/javascript" includes="*.js" />
- </jslint>
- </target>
-
- <target name="build-flash">
- <exec executable="mxmlc">
- <arg value="-compiler.source-path=./src/flash/plupload/src" />
- <arg value="-target-player=10.1.0" />
- <arg value="-static-link-runtime-shared-libraries=true" />
- <!-- <arg value="-compiler.debug" /> -->
- <arg value="-output=./js/plupload.flash.swf" />
- <arg value="./src/flash/plupload/src/com/plupload/Plupload.as" />
- </exec>
- </target>
-
- <target name="clean">
- <delete quiet="true">
- <fileset dir="js" includes="**/*">
- <exclude name="plupload.flash.swf"/>
- <exclude name="plupload.silverlight.xap"/>
- </fileset>
- </delete>
- </target>
-
- <target name="build-jquery-widgets">
- <!-- Copy all jquery.plupload.queue resources -->
- <copy todir="js/jquery.plupload.queue">
- <fileset dir="src/javascript/jquery.plupload.queue">
- <include name="**"/>
- </fileset>
- </copy>
-
- <!-- Copy all jquery.ui.plupload resources -->
- <copy todir="js/jquery.ui.plupload">
- <fileset dir="src/javascript/jquery.ui.plupload">
- <include name="**"/>
- </fileset>
- </copy>
-
- <!-- Minify the scripts -->
- <yuicompress infile="src/javascript/jquery.plupload.queue/jquery.plupload.queue.js" outfile="js/jquery.plupload.queue/jquery.plupload.queue.js" />
- <yuicompress infile="src/javascript/jquery.ui.plupload/jquery.ui.plupload.js" outfile="js/jquery.ui.plupload/jquery.ui.plupload.js" />
- </target>
-
- <target name="build" depends="clean,build-jquery-widgets">
- <!-- Concat multuple JS files together -->
- <concat destfile="js/plupload.full.tmp.js">
- <fileset dir="src/javascript" includes="plupload.js" />
- <fileset dir="src/javascript" includes="plupload.gears.js" />
- <fileset dir="src/javascript" includes="plupload.silverlight.js" />
- <fileset dir="src/javascript" includes="plupload.flash.js" />
- <fileset dir="src/javascript" includes="plupload.browserplus.js" />
- <fileset dir="src/javascript" includes="plupload.html5.js" />
- <fileset dir="src/javascript" includes="plupload.html4.js" />
- </concat>
-
- <!-- Compress Plupload full and base using the YUI Compressor -->
- <yuicompress infile="js/plupload.full.tmp.js" outfile="js/plupload.full.js" />
- <yuicompress infile="src/javascript/plupload.js" outfile="js/plupload.js" />
- <yuicompress infile="src/javascript/plupload.gears.js" outfile="js/plupload.gears.js" />
- <yuicompress infile="src/javascript/plupload.silverlight.js" outfile="js/plupload.silverlight.js" />
- <yuicompress infile="src/javascript/plupload.flash.js" outfile="js/plupload.flash.js" />
- <yuicompress infile="src/javascript/plupload.browserplus.js" outfile="js/plupload.browserplus.js" />
- <yuicompress infile="src/javascript/plupload.html5.js" outfile="js/plupload.html5.js" />
- <yuicompress infile="src/javascript/plupload.html4.js" outfile="js/plupload.html4.js" />
-
- <delete file="js/plupload.full.tmp.js" quiet="true" />
- </target>
-
- <target name="release" depends="build">
- <!-- Copy the current repos and start processing it -->
- <delete dir="${tmp_dir}" quiet="true" />
- <copy todir="${tmp_dir}/plupload">
- <fileset dir=".">
- <include name="**"/>
- <exclude name="**/.git/**"/>
- <exclude name="**/.*"/>
- <exclude name="**/bin/**"/>
- <exclude name="**/obj/**"/>
- <exclude name="**/tmp/**"/>
- <exclude name="**/jslint.xml"/>
- </fileset>
- </copy>
-
- <copy todir="${tmp_dir}/plupload/js">
- <fileset dir="js/">
- <include name="plupload.flash.swf"/>
- <include name="plupload.silverlight.xap"/>
- </fileset>
- </copy>
-
- <!-- Copy languages -->
- <copy todir="${tmp_dir}/plupload/js/i18n">
- <fileset dir="src/javascript/i18n">
- <include name="**"/>
- </fileset>
- </copy>
-
- <!-- Parse minor version, major version and release date from changelog -->
- <loadfile property="changelog" srcFile="${tmp_dir}/plupload/changelog.txt" />
- <propertyregex property="version" input="${changelog}" regexp="^Version ([0-9xabrc.]+)" select="\1" />
- <propertyregex property="release_date" input="${changelog}" regexp="^Version [^\(]+\(([^\)]+)\)" select="\1" />
- <propertyregex property="file_version" input="${version}" regexp="\." replace="_" />
-
- <!-- Replace major version -->
- <replaceregexp byline="true">
- <regexp pattern="@@version@@" />
- <substitution expression="${version}" />
-
- <fileset dir="${tmp_dir}/plupload/js">
- <include name="*/**" />
- </fileset>
- </replaceregexp>
-
-
- <!-- Compress dev package -->
- <delete file="${tmp_dir}/plupload_${file_version}_dev.zip" quiet="true" />
- <zip destfile="${tmp_dir}/plupload_${file_version}_dev.zip">
- <zipfileset dir="${tmp_dir}/plupload" prefix="plupload">
- <include name="*/**" />
- </zipfileset>
- </zip>
-
- <!-- Load proper versions of scripts in examples -->
- <replaceregexp byline="true">
- <regexp pattern="src\/javascript\/" />
- <substitution expression="js\/" />
-
- <fileset dir="${tmp_dir}/plupload/examples">
- <include name="*/**" />
- </fileset>
- </replaceregexp>
-
-
- <!-- Compress core package -->
- <delete file="${tmp_dir}/plupload_${file_version}.zip" quiet="true" />
- <zip destfile="${tmp_dir}/plupload_${file_version}.zip">
- <zipfileset dir="${tmp_dir}/plupload" prefix="plupload">
- <include name="*/**" />
- <!-- <exclude name="examples/jquery/**" /> -->
- <exclude name="src/**" />
- <!-- <exclude name="js/jquery*/**" /> -->
- <exclude name="tools/**" />
- <exclude name="build.xml" />
- <exclude name="build.bat" />
- <exclude name="tests/**" />
- </zipfileset>
- </zip>
-
- <!-- Compress jQuery package -->
- <!--<delete file="${tmp_dir}/plupload_${file_version}_jquery.zip" quiet="true" />
- <zip destfile="${tmp_dir}/plupload_${file_version}_jquery.zip">
- <zipfileset dir="${tmp_dir}/plupload" prefix="plupload">
- <include name="*/**" />
- <exclude name="src/**" />
- <exclude name="tools/**" />
- <exclude name="build.xml" />
- <exclude name="build.bat" />
- <exclude name="tests/**" />
- </zipfileset>
- </zip>-->
-
-
- </target>
-</project>
Oops, something went wrong.

0 comments on commit 58f3dda

Please sign in to comment.