1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-12-01 12:24:14 +01:00
Arduino/app
Matthijs Kooijman cc773fb1e0 Take into account --curdir for all relative paths
In a lot of places, (potentially) relative paths were passed to File
without any processing, making them be resolved without taking into
account --curdir. By passing them through Base.absoluteFile instead,
these paths are resolved relative to the working directory before
starting arduino (at least on Linux, which is currently the only
platform supporting --curdir).

This applies --curdir to the --preferences-file option and the
build.path, settings.path, sketchbook.path preferences.

For example, this now works as expected:

  arduino --pref build.path=build_dir --verify Blink.ino
2014-08-19 09:16:49 +02:00
..
.settings Fixed eclipse project files 2012-01-11 13:59:39 +01:00
format fixed java 1.5 compatibility issue 2012-12-04 11:54:19 +01:00
lib Update to jssc 2.8.0 2014-01-27 16:06:55 +01:00
src Take into account --curdir for all relative paths 2014-08-19 09:16:49 +02:00
test Fixed typo in test 2014-02-06 10:21:54 +01:00
test-lib added files that state third party licenses 2013-08-28 10:12:33 +02:00
.classpath Updated eclipse project classpath 2014-08-18 16:09:03 +02:00
.classpath_macosx Importing Processing rev. 5503 (1.0.3). 2009-05-31 15:53:33 +00:00
.classpath_vista fixed permissions on a lot of text files. see #1116 2012-12-10 10:42:49 +01:00
.project Importing Processing rev. 5503 (1.0.3). 2009-05-31 15:53:33 +00:00
build.xml Forgot to include .ino files as test resource 2013-10-22 17:51:54 +02:00
run-linux.launch jssc: updated config files (eclipse, ant build.xml, windows launcher, mac template.app), removed rxtx binaries 2013-11-28 17:27:13 +01:00