Skip to content

Version 1.8.1 doesn't copy 'data' folder on save as #5998

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

Closed
tttapa opened this issue Feb 17, 2017 · 1 comment · Fixed by #6041
Closed

Version 1.8.1 doesn't copy 'data' folder on save as #5998

tttapa opened this issue Feb 17, 2017 · 1 comment · Fixed by #6041
Labels
Component: IDE The Arduino IDE Type: Bug Type: Regression Something that used to work and now doesn't

Comments

@tttapa
Copy link

tttapa commented Feb 17, 2017

When using the Arduino IDE with an ESP8266, for example, I use the data folder in the sketch folder (the folder that opens when you hit CTRL+K) for files to upload to the SPIFFS. (HTML, CSS, JS, icons etc.) In version 1.6.x, this data folder was copied when doing a 'save as', but using the new 1.8.1 version, I have to copy the folder manually.
Why was this feature removed?

I'm using Ubuntu 16.04.

Pieter

@matthijskooijman
Copy link
Collaborator

Hm, I remember considering to remove this support, but in the end I settled on removing support for the code subdirectory and leaving the data subdirectory intact in 4ef5699

It also seems the code for it is still present: https://github.com/arduino/Arduino/blob/master/arduino-core/src/processing/app/Sketch.java#L357-L360 So that means this was not intentionally removed, but apparently broken at some point. I have not tried to reproduce this yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: IDE The Arduino IDE Type: Bug Type: Regression Something that used to work and now doesn't
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants