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.
- Install the Java JDK or JRE packages you can find it at: http://java.sun.com/javase/downloads/index.jsp
- Install Apache Ant you can find it at: http://ant.apache.org/
- Add Apache Ant to your systems path environment variable, this is not required but makes it easier to issue commands to Ant without having to type the full path for it.
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.
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/
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
The Silverlight runtime uses a .xap file that can be built using the Silverlight SDK or Visual Studio. http://silverlight.net/getstarted/
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.
You can read more about how to contribute to this project at http://www.plupload.com/contributing