diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2009-11-26 09:32:35 +0000 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2009-11-26 09:32:35 +0000 |
commit | d765161317a7a0f328f1c00020fdcd587101c5b3 (patch) | |
tree | b3f02483f3c2e419523f06c1fe0b8c9827847e33 /org.rtems.cdt | |
parent | Added input type for assembler. (diff) | |
download | rtems-eclipse-plug-in-d765161317a7a0f328f1c00020fdcd587101c5b3.tar.bz2 |
Workaround for tools with a long file names under Windows and the internal builder from CDT.
Diffstat (limited to 'org.rtems.cdt')
-rw-r--r-- | org.rtems.cdt/src/org/rtems/cdt/Storage.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/org.rtems.cdt/src/org/rtems/cdt/Storage.java b/org.rtems.cdt/src/org/rtems/cdt/Storage.java index 745d7dd..8e66571 100644 --- a/org.rtems.cdt/src/org/rtems/cdt/Storage.java +++ b/org.rtems.cdt/src/org/rtems/cdt/Storage.java @@ -386,6 +386,16 @@ public class Storage { } optionsValue += OPTION_SEPARATOR + option; } + + // FIXME: This is a workaround for tools with long filenames under Windows. + // It is also a workaround for the internal builder since this one does not care about + // the environment provider to fix the $PATH. + IPath commandPath = new Path( + Storage.getProperty( project, Constants.BASE_PATH_KEY) + ) + .append( "bin") + .append( command); + command = commandPath.toString(); // Set properties setProperty( project, toolKey, command); |