HOWTO: Build your own minified version of jqPlot from the latest
jqPlot repository source code.
1. Clone a copy of the latest jqPlot tip from bitbucket to your local
PC.
https://confluence.atlassian.com/display/BITBUCKET/Cloning+a+Repository
1a. If you want to integrate any waiting pull requests
(
https://bitbucket.org/cleonello/jqplot/pull-requests) into your copy
of the source or modify any of the source files, then login to
bitbucket first and create a fork of jqPlot. You will then clone your
fork of jqPlot to your local PC instead of cloning the main jqPlot
repository.
https://confluence.atlassian.com/display/BITBUCKET/Forking+a+bitbucket+Repository
Creating a fork on bitbucket will allow you to submit your patches or
modifications to jqPlot as a pull request to be integrated back into
the main jqPlot repository, which can then benefit the whole jqPlot
community \o/. Cloning the source with Mercurial (hg) will allow you
to easily keep up to date with the latest updates to the jqPlot
repository, which is not so easy if you are just working on a
.zip/.bz2 source download.
2. Install Apache Ant. Ant is used as a build tool for jqPlot. Make
sure you can get "ant" to run from a commandline (ie. the ant binary
exists in your PATH). If the install is successful, ant should
complain about a missing build.xml file when you run "ant" from the
commandline.
https://ant.apache.org/
3. If you want to upgrade YUICompressor, download the latest .jar and
replace the old .jar in the JQPLOT_SOURCE/extras directory. You will
then have to update build.xml to point to the location of the updated
.jar file.
4. Open a commandline and change to the jqPlot source directory. Run
"ant" from the commandline in this directory. Ant will now run the
build actions to concatenate the relevant .js/.css files and minify
them into an output directory. Two new directories will be generated:
"build" and "dist". The "build" directory can be ignored. The "dist"
directory will contain the minified files as you would see them in a
regular jqPlot .zip/.bz2 release. The build output ("build" and
"dist" directories) can be cleaned out by running "ant clean" from the
jqPlot source directory.
> --
> You received this message because you are subscribed to the Google Groups "jqplot-users" group.
> To post to this group, send email to
jqplot...@googlegroups.com.
> To unsubscribe from this group, send email to
jqplot-users...@googlegroups.com.
> For more options, visit this group at
http://groups.google.com/group/jqplot-users?hl=en.
>