palantir/eclipse-typescript — pull request #40 by barakka (2013-08-26 09:47:03+00:00)
Title: Fixes #11 Exclude resource not in source folders in full builds.

Also forces a project full build on build path changes.

The following error was generated when forcing a full build with a configured source path:
````
java.lang.RuntimeException: The following request caused an error to be thrown:
{"service":"language","method":"getEmitOutput","arguments":["C:\\Users\\rserafin\\runtime-EclipseApplication\\test\\target\\classes\\test.ts"]}
TypeError: Cannot call method 'diagnostics' of null
at TypeScriptCompiler.getSyntacticDiagnostics (C:\Users\rserafin\external_workspace\eclipse-typescript\com.palantir.typescript\bin\bridge.js:54217:47)
at CompilerState.getSyntacticDiagnostics (C:\Users\rserafin\external_workspace\eclipse-typescript\com.palantir.typescript\bin\bridge.js:58075:34)
at CompilerState.getEmitOutput (C:\Users\rserafin\external_workspace\eclipse-typescript\com.palantir.typescript\bin\bridge.js:58139:58)
at LanguageService.getEmitOutput (C:\Users\rserafin\external_workspace\eclipse-typescript\com.palantir.typescript\bin\bridge.js:59400:39)
at LanguageService.getEmitOutput (C:\Users\rserafin\external_workspace\eclipse-typescript\com.palantir.typescript\bin\bridge.js:63501:41)
````

I've fixed it "in-line" in the TypescriptBuilder class, but I suggest to refactor the code and pull together resource filtering (as I did in my original pull request, still available in my master branch).