leiningen integration doesnt apply middleware
Hi, I have some middleware which adds dependencies and source-paths (I know, I know, but this is the best working solution for us) but Cursive doesn't reflect the changes to the project made by the middleware.
Could it be made to do so?
Thanks
That should work, I think - how are you adding those? Is the source of the middleware open? If not, can you describe how you're adding them?
adding them via plugins. source is not open, but i could mock something up if required.
That would be great, then I can reproduce. Just a minimal example adding a dep & source path which doesn't work correctly.
ok, turns out it is working in some situations (e.g. adding to :dependencies) but it is having some issue when adding to :source-paths
git clone https://github.com/ohlo/lein-middleware-demo.git cd lein-middleware-demo lein install
lein new proj-using-middleware
then in the proj-using-middleware project.clj add :plugins [[lein-middleware-demo "0.1.0-SNAPSHOT"]] and open the project from intellij to see the error
using lein from cmd line with this project is fine. e.g. lein pprint to see the output
the errors intellij is reporting vary depending on what strings get added to :source-paths but include 'invalid stored block lengths' 'invalid distance too far back', 'invalid code lengths set' - and googling these gets results relating to corruption.
i know its a pretty niche problem but it would really help us.
thanks
Just ran into this same problem. Is there a work around for this issue?