Community
Participate
Working Groups
Build Identifier: M20100909-0800 If a tool is defined to receive an input from the value of a project option, the build may fail with internal builder. The project option contains one or more input files. The problem is that the user may define them with a build directory relative syntax, e.g. ../src/file.in. This case is not handled. Specifically, when BuildDescription.calculateInputs() calls BuildDescription.addInput(String,BuildIOType), the latter calls addInput(IPath, BuildIOType) whose JavaDoc says "path IPath relative to the project, or absolute filesystem location". Passing an IPath with "../" syntax then causes an exception. In other words, an input with "../" syntax should be translated into a valid IPath before the call. Reproducible: Always
Created attachment 196571 [details] Patch Translate a path with a relative syntax into a valid IPath.