|
@@ -49,7 +49,7 @@ public class Task { |
|
|
} |
|
|
} |
|
|
private boolean set = false; |
|
|
private boolean set = false; |
|
|
public void setPath(Path p) { |
|
|
public void setPath(Path p) { |
|
|
if (p != project.getReference("foo")) { |
|
|
|
|
|
|
|
|
if (p != (Path) project.getReference("foo")) { |
|
|
throw new BuildException("this is not my path"); |
|
|
throw new BuildException("this is not my path"); |
|
|
} |
|
|
} |
|
|
set = true; |
|
|
set = true; |
|
|