jtamiotti / jspf

Automatically exported from code.google.com/p/jspf
0 stars 0 forks source link

addPluginsFrom functionality #42

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
After several hours of late-night fussing with JSPF to even run the simple 
example in the video, I have now learned that without the line..

pm.addPluginsFrom(new java.io.File("bin/").toURI());

.. my internal test plugin always returns null. Misleadingly thinking this line 
only loaded external jar files, I promptly commented it out. However now I 
realize it's loading .class plugins from the compiled bin folder 
post-execution. I assumed that JSPF could load internal plugins virtually with 
voodoo magic. The issue for me was a lack of obvious documentation about this-- 
loading internal plugins. I'm not sure if this is something that should be 
added to the homepage or the simple examples, or if the amount of people that 
actually follow directions is too high. Just posting.

Original issue reported on code.google.com by Virux1...@gmail.com on 24 Jan 2014 at 10:49