+ "variable should be set to the location of the "
+ "TinyOS tree, typically "
+ "$PTII/vendors/ptinyos/tinyos-1.x.";
if (!MessageHandler.yesNoQuestion(tosRootMessage
+ "\nWould you like to proceed?")) {
throw new CancelException();
}
}
// Check to make sure that tosDir exists
if (tosDir == null || tosDir.asFile() == null
|| !tosDir.asFile().isDirectory()) {
String fileName = ((tosDir == null || tosDir.asFile() == null)
? "null" : tosDir.asFile().toString());
String tosDirMessage = "The TOSDIR directory \"" + fileName
+ "\" does not exist? Compilation "
+ "is likely to fail. The TOSDIR environment "
+ "variable should be set to the location of the "
+ "TinyOS tree, typically "
+ "$PTII/vendors/ptinyos/tinyos-1.x/tos.";
if (!MessageHandler.yesNoQuestion(tosDirMessage
+ "\nWould you like to proceed?")) {
throw new CancelException();
}
}
// String containing makefile text to generate.
_CodeString text = new _CodeString();