inaiat/jqplot4java — pull request #13 by dpino (2012-06-12 09:13:03+00:00)
Title: Include jqplot code in jar

Hello,

I've created a version of jqplot where I include the javascript jqplot code. I understand that the reason not to include it with jqplot4java is to avoid that jqplot javascript code, which is a different project, will be part of jqplot4java. However this makes that when some other project uses jqplot4plot has to add the javascript code part in their project, which is also inconvenient.

So with this patch all code is in built into the same JAR. Later the javascript code can be accessed from Java. For instance:

ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
InputStream input = classLoader.getResourceAsStream("/jqplot/jquery.jqplot.min.css");

Hope you find it useful.

Regards,

Diego