Skip to content

Latest commit

 

History

History
70 lines (45 loc) · 2.87 KB

readme.md

File metadata and controls

70 lines (45 loc) · 2.87 KB

Plupload - Cross browser and platform uploader API

What is Plupload

Plupload is a JavaScript API for dealing with file uploads it supports features like multiple file selection, file type filtering, request chunking, client side image scaling and it uses different runtimes to achieve this such as HTML 5, Silverlight, Flash, Gears and BrowserPlus.

What you need to build Plupload

How to build Plupload

In the root directory of Plupload where the build.xml file is you can run ant against different targets.

ant

Will combine, preprocess and minify the Plupload classes into the js directory. It will not build the Silverlight and Flash .xap and .swf files.

ant moxiedoc

Will generate API Documentation for the project using the Moxiedoc tool. The docs will be generated to the docs/api directory.

ant release

Will produce release packages. The release packages will be placed in the tmp directory.

How to build Flash runtime

The Flash runtime uses a .swf file that can be built using the Flex SDK. This SDK can be downloaded from Adobe. http://www.adobe.com/products/flex/flexdownloads/

How to build Java runtime

The Java runtime uses ant for building.

ant build-java

compiles the classes.

ant jar

Jars the classes into the bin dir.

ant sign-jar

Signs the jar. Before running this you should create a certificate keytool -genkey -alias plupload

ant deploy-jar

Combines the three steps above.

examples/dev_server.py

Runs the upload Python backend for the Java applet (precondition: python-werkzeug is installed). Point browser to: http://localhost:5000/queue_applet_dojo.html

How to build Silverlight runtime

The Silverlight runtime uses a .xap file that can be built using the Silverlight SDK or Visual Studio. http://silverlight.net/getstarted/

Running the development version

The unminified development version of the javascript files can be executed by opening the examples/queue_widget_dev.html file running on a Web Server.

Contributing to the Plupload project

You can read more about how to contribute to this project at http://www.plupload.com/contributing