orsjb / HappyBrackets

HappyBrackets is an audio-focused library and toolkit for creative coding for the internet of things.
Apache License 2.0
36 stars 3 forks source link

IntelliJ plugin does not read controller-config file #11

Closed orsjb closed 8 years ago

orsjb commented 8 years ago

Devious IntelliJ plugin. Currently we can find the controller-config when we're running in sandbox, but the REAL plugin does not find it. The controller-config and other resources (as stored in the project's resources directory) actually gets jarred in the final distro, which is what you'd expect. Problem is we're not reading those files in the correct way. Need to check best practice here.

orsjb commented 8 years ago

@OliverColeman can you advise if this is resolved?

OliverColeman commented 8 years ago

This is resolved in that on first load the configuration text area is populated with the configuration file rolled into the jar file. If the configuration is saved or loaded to/from another file then that file will be loaded the next time the plugin is loaded.