Additional context for build hooks

This commit is contained in:
Richard Wackerbarth 2015-03-06 16:17:56 -06:00
parent 4a9c3b1ddd
commit 498d615fb8
1 changed files with 3 additions and 0 deletions

View File

@ -183,6 +183,9 @@ public class Compiler implements MessageConsumer {
sketch = _sketch;
prefs = createBuildPreferences(_buildPath, _primaryClassName);
// provide access to the source tree
prefs.put("build.source.path", _sketch.getFolder().getAbsolutePath());
// Start with an empty progress listener
progressListener = new ProgressListener() {
@Override