Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Behavior of ${value} in tool options

> With my tool, there is an option to output a report file. The syntax is:
> 
> 	toolname --reportfile="path" ...
> 
> In my plugin, I have created an option like this:
>     <option
>         browseType='file'
>         category='toolchain.optionCategory.output'
>         command='--reportpath="${value}"'
>         id='toolchain.output.reportpath'
>         name='Report file'
>         resourceFilter='all'
>         valueType='string'
>       ></option>
> 
> Under Windows, the selected filename (${value}) is placed into the command
> stripped of backslashes. 

First couldn't reproduce it using the latest from HEAD, then switched to
CDT 3.0.1 and then the problem arose. It appears this issue has been fixed
in revision 1.39.2.4 of Tool.java which is just after the version that has
been released in CDT 3.0.1.

You can find this module in the package:
   org.eclipse.cdt.managedbuilder.internal.core
in plugin: 
   org.eclipse.cdt.managedbuilder.core

Regards,
  Wieant


Back to the top