Skip to content

(Linux) Arduino IDE shouldn't overwrite symlinks when saving [imported] #268

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
cmaglie opened this issue Nov 15, 2012 · 0 comments
Closed
Assignees
Labels
Type: Wontfix Arduino has decided that it will not resolve the reported issue or implement the requested feature
Milestone

Comments

@cmaglie
Copy link
Member

cmaglie commented Nov 15, 2012

This is Issue 268 moved from a Google Code project.
Added by 2010-05-28T06:18:23.000Z by Matt.M...@gmail.com.
Please review that bug for more context and additional comments, but update this bug.

Original labels: Type-Defect, Priority-Medium

Original description

What steps will reproduce the problem?

  1. Create a new sketch directory
  2. Symbolically link a .pde sketch file from another directory into that one
  3. Open the sketch in Arduino, then save it

What is the expected output? What do you see instead?

I would expect that the linked file be updated. Instead, the link is
deleted, and is replaced by a regular file containing the updated sketch.

What version of the Arduino software are you using? On what operating
system? Which Arduino board are you using?

I am using Arduino 18, on 64-bit Ubuntu Linux.

Please provide any additional information below.
The code that handles this is the function saveFile() in Base.java. Having
Arduino preserve symlinks would be nice when testing alternate versions of
programs that are located in external version control systems.

@ffissore ffissore added the New label Feb 27, 2014
@ffissore ffissore added the Type: Wontfix Arduino has decided that it will not resolve the reported issue or implement the requested feature label Jul 1, 2015
@ffissore ffissore added this to the Release 1.6.6 milestone Jul 1, 2015
@ffissore ffissore self-assigned this Jul 1, 2015
@ffissore ffissore closed this as completed Jul 8, 2015
tbowmo pushed a commit to tbowmo/Arduino that referenced this issue Jul 14, 2016
ClearEepromConfig: Fix spelling mistake
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Wontfix Arduino has decided that it will not resolve the reported issue or implement the requested feature
Projects
None yet
Development

No branches or pull requests

3 participants