1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-11-29 10:24:12 +01:00
Arduino/build
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
..
cmd Importing Processing rev. 5503 (1.0.3). 2009-05-31 15:53:33 +00:00
javadoc jssc: updated config files (eclipse, ant build.xml, windows launcher, mac template.app), removed rxtx binaries 2013-11-28 17:27:13 +01:00
linux Updated arm gcc to version 4.8.3-2014q1 2014-06-25 11:59:47 +02:00
macosx Revert appbundler until we figure out how to support OSX 10.6 2014-07-04 14:06:57 +02:00
shared Take into account --curdir for all relative paths 2014-08-19 09:16:49 +02:00
windows Re-enabled serial port detection on Windows 2014-07-02 13:20:16 +02:00
build.xml Revert appbundler until we figure out how to support OSX 10.6 2014-07-04 14:06:57 +02:00
create_reference.pl Including String and Stream methods in local reference. 2012-07-15 09:34:59 -04:00
fetch.sh Updating reference (and reference-fetching scripts). 2010-12-23 19:08:09 -06:00
howto.txt fixed permissions on a lot of text files. see #1116 2012-12-10 10:42:49 +01:00