|Linking to external resources [message #483785]
||Thu, 03 September 2009 00:50
| Amit Mookerjee
Registered: July 2009
I am trying to develop an error parser that can parse the build outputs |
and if errors are detected show them up in the problems view.
Doubleclicking on a marker in the problems view typically takes you to the
resource where the problem has been detected. This works quite well for
files which are part of the project. However, our build tools leverage
An example to illustrate the problem
I get the following build output in the console
js: "C:/work/temp2/t_configuration/common.cfg", line 16:
xdc.services.global.XDCException: xdc.PACKAGE_NOT_FOUND: can't locate the
package 'ti.sysbios' along the path:
'C:/PROGRA~1/TEXASI~1/CCSTUD~4/ipc_1_00_01_48/packages;C:/PR OGRA~1/TEXASI~1/CCSTUD~4/xdais_6_23/packages;C:/PROGRA~1/TEX ASI~1/CCSTUD~4/xdais_6_23/examples;C:/PROGRA~1/TEXASI~1/xdct ools/xdctools_3_16_00_07_eng/packages;..;'.
Ensure that the package path is set correctly.
"./package/cfg/common_x674.cfg", line 781
"./package/cfg/common_x674.cfg", line 736
gmake.exe: *** [package/cfg/common_x674.c] Error 1
js: "C:/Program Files/Texas
Instruments/xdctools/xdctools_3_16_00_07_eng/packages/xdc/to ols/Cmdr.xs ",
line 51: Error: xdc.tools.configuro: configuration failed due to earlier
errors (status = 2); 'linker.cmd' deleted.
In this case I can get IResource handles to "package/cfg/common_x674.cfg"
and "C:/work/temp2/t_configuration/common.cfg" since they are part of the
The question is how do I create an IResource handle to "C:/Program
Instruments/xdctools/xdctools_3_16_00_07_eng/packages/xdc/to ols/Cmdr.xs "
since it does not exist in the workspace. There is a "createLink" method
of IFile but that does not seem to work either. In summary I would like to
have a problem view marker that points to a resource existing on the
filesystem. When a user doubleclicks on the marker the file should come up
in an editor.
Any guidance on this issue will be appreciated.
Powered by FUDForum
. Page generated in 0.02370 seconds