-
Notifications
You must be signed in to change notification settings - Fork 132
Absolute paths in .project file prevent sharing of Arduino projects #34
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
Comments
I haven't considered multi user yet for the plugin. Not sure how I could handle this as well. |
Sure, would be a valuable benefit. Maybe you could solve it by using On 11.08.2013 14:55, jantje wrote:
|
Wait, there may be a solution to this: The following variables are defined in the .project file. But they all
file:/Z:/development/arduino/arduino-1.5.2/hardware/arduino/sam/libraries We need a fix for this quite urgently in a multi-user environment. Michael On 11.08.2013 14:55, jantje wrote:
|
Michael I'm not sure how to understand your fight comment |
Jantje, I think the solution would be to store the path variables of the linked ArduinoHardwareLibPath = ${ArduinoPath}\hardware\arduinosam_\libraries I've tested it manually and it works. The only problem: How to get the The ArduinoPath is workspace dependant. But as long as you can't set the Michael On 20.08.2013 00:53, jantje wrote:
|
Would be very nice if this issue could be addressed soon! Dieter |
Dieter |
Hi Jan Many thanks for writing me! If you'd like to clone it, to see what we're doing, create an account on We are using your EclipseArduino bundle ( I'm struggling with the absolute path setting for the Arduino IDE and also Furthermore, if a developer is using Linux, the hassle with the paths gets Well, all in all, these are not killer issues, but there is always some Best regards, Didi Niklaus Am 28.03.2014 20:17 schrieb "jantje" [email protected]:
|
This is how Michael told me he worked around the problem:
I hope this works for you to. |
As I couldn't sleep I fixed this one. Can you give it a test? |
Seems I'm not case sensetive enough ;-) |
…ath is set with the resource link and that fails. Replaced the defenition of the env var with the fqn
This should be fixed properly one day but as I don't own a mac ...
I had to revert to the original code as there were plenty of issues |
…riant_path is set with the resource link and that fails. Replaced the defenition of the env var with the fqn
This should be fixed properly one day but as I don't own a mac ...
I think I found a solution to this. :-) With the new Arduino IDE less plugin I no longer use the linked resources but link directly to the actual path on the system. That means that as a project you can decide on the number, names, locations of the "workspace level linked resources" and any project member can have them on a different location. The only part I expect to have to change for this to work is: If you look at the "old" implementation it should be pretty clear what needs to be done. Input is welcomed. |
I just fixed #463 and I think this fixes this problem as well. |
Running 4.0 I found two issues in .settings/org.eclipse.cdt.core.prefs with prevented me from sharing projects.
|
The A.RECIPE.XXX.PATTERN.[number] are absolute on purpose. |
Why is that? The absolute paths to build products prevents us from having our project in different directories and the absolute path to the eclipse installations forces us to install eclipse in the same location on all machines (uniformity in the team is often a good thing but hard to enforce). |
That is because of the parsing that needs to be done in expanded format. I've written a long explanation about this somewhere not so long ago but I can't remember where. |
I think this issue is fixed if you create path variables for all locations used. |
I declare this issue fixed. Please reopen if not fixed. |
When more than one developer is working on a project (e.g. like on https://github.com/neuweiler/GEVCU ) some path variables are stored in the .project file which usually could be shared in a repository. Although one sets the arduino paths in global preferences, they are stored in the .project file and not in the workspace settings:
Here's an excerpt of my .project file:
Is it possible to move these to another location so the .project file can be shared on different platforms like it is the case with standard eclipse projects?
The text was updated successfully, but these errors were encountered: