Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove dependency on pde.jar #186

Open
kiwistrongis opened this issue May 14, 2014 · 4 comments
Open

Remove dependency on pde.jar #186

kiwistrongis opened this issue May 14, 2014 · 4 comments
Assignees
Milestone

Comments

@kiwistrongis
Copy link
Contributor

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
Copy link

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
Copy link
Contributor Author

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
Copy link

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

@kiwistrongis
Copy link
Contributor Author

You're welcome :).

@kiwistrongis kiwistrongis changed the title SMT depends on pde.jar, solely for the processing version check feature. Remove dependency on pde.jar Jun 9, 2014
@kiwistrongis kiwistrongis added this to the v4.2 milestone Jun 30, 2014
@kiwistrongis kiwistrongis self-assigned this Oct 29, 2014
@kiwistrongis kiwistrongis modified the milestones: v4.3, v5.1, v5.0 Jun 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants