What did you mean by "add a line for the xxxx.xxxxxxx.xxxxxxxx.client". The examples.roughian.com link didn't point to any specific example.
Thanks,
David
On Friday, March 28, 2008 9:54:21 PM UTC-4, Ian Bambury wrote:
-- On Friday, March 28, 2008 9:54:21 PM UTC-4, Ian Bambury wrote:
If you add a source statement, you also have to add a line for the xxxx.xxxxxxx.xxxxxxxx.client - the default - which is then not assumedIanOn 29/03/2008, Costa <costa...@yahoo.ca> wrote:
David, you are right. I also checked out the their source code and I
found these lines in the ModuleDefSchema.java file which confirm your
find.
private void addSourcePackage(String modulePackagePath, String
relDir,
String[] includeList, String[] excludeList, boolean
defaultExcludes,
boolean caseSensitive, boolean isSuperSource) {
String normChildDir = normalizePathEntry(relDir);
if (normChildDir.startsWith("/")) {
logger.log(TreeLogger.WARN, "Non-relative source package: "
+ normChildDir, null);
return;
}
if (normChildDir.startsWith("./") || normChildDir.indexOf("/./")
>= 0) {
logger.log(TreeLogger.WARN, "Non-canonical source package: "
+ normChildDir, null);
return;
}
if (normChildDir.startsWith("../") ||
normChildDir.indexOf("/../") >= 0) {
logger.log(TreeLogger.WARN, "Non-canonical source package: "
+ normChildDir, null);
return;
}
String fullPackagePath = modulePackagePath + normChildDir;
if (isSuperSource) {
/*
* Super source does not include the module package path as
part of the
* logical class names.
*/
moduleDef.addSuperSourcePackage( fullPackagePath, includeList,
excludeList, defaultExcludes, caseSensitive);
} else {
/*
* Add the full package path to the include and exclude lists
since the
* logical name of classes on the source path includes the
package path
* but the include and exclude lists do not.
*/
addPrefix(includeList, fullPackagePath);
addPrefix(excludeList, fullPackagePath);
moduleDef.addSourcePackage(fullPackagePath, includeList,
excludeList,
defaultExcludes, caseSensitive);
}
}
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment