vialab / SMT

Simple Multi-Touch (SMT) Toolkit
http://vialab.science.uoit.ca/smt
GNU General Public License v3.0
43 stars 18 forks source link

Remove dependency on pde.jar #186

Open kiwistrongis opened 10 years ago

kiwistrongis commented 10 years ago

SMT depends on pde.jar, solely for the processing version check feature.

SMT uses processing.app.Base to check the installed version of processing. This works fine as long as one is using gui, or command-line versions of processing. When using only the core processing libraries in java ( which do not include pde.jar ) processing.app.Base is not available.

Using reflection to interface with processing.app.Base would fix this, and allow SMT to compile/work on super old versions of processing, that have a slightly different ( and incompatible ) definition of processing.app.Base. It would also allow detection, without crashing, of new processing versions that have changed processing.app.Base, but still work with SMT.

I've been thinking about this for a while - issue #185 has provoked me thinking about actually fixing it.

kumarrishianand commented 10 years ago

Hi I am facing the same issue. I need the executable for some demo purpose. Do you have a fix for the issue yet???

kiwistrongis commented 10 years ago

pde.jar in included in the repo by default now. I haven't removed the dependency yet though. See issue #185 for the current discussion on exported sketches.

kumarrishianand commented 10 years ago

thanks... That solved the problem. I didnt exactly know where to place the pde.jar. ;)

kiwistrongis commented 10 years ago

You're welcome :).