提交 8f3e0887 authored 作者: Thomas Mueller's avatar Thomas Mueller

--no commit message

--no commit message
上级 35f7b0fe
......@@ -396,6 +396,9 @@ public class BuildBase {
protected void java(String className, String[] args) {
out.println("Executing " + className);
if (args == null) {
args = new String[0];
}
try {
Method main = Class.forName(className).getMethod("main", new Class[] { String[].class });
main.invoke(null, new Object[] { args });
......
......@@ -22,7 +22,7 @@ public class CheckTextFiles {
}
String[] suffixCheck = new String[] { "html", "jsp", "js", "css", "bat", "nsi",
"java", "txt", "properties", "sql", "xml", "csv", "Driver" };
"java", "txt", "properties", "sql", "xml", "csv", "Driver", "sh" };
String[] suffixIgnore = new String[] { "gif", "png", "odg", "ico", "sxd",
"layout", "res", "win", "jar", "task", "svg", "MF" };
boolean failOnError;
......@@ -33,7 +33,7 @@ public class CheckTextFiles {
// must contain "+" otherwise this here counts as well
String copyrightLicense = "Copyright 2004-2008 H2 Group. "
+ "Licensed under the H2 License, Version 1.0";
String[] suffixIgnoreLicense = new String[] { "bat", "nsi", "txt", "properties", "xml", "java.sql.Driver", "task" };
String[] suffixIgnoreLicense = new String[] { "bat", "nsi", "txt", "properties", "xml", "java.sql.Driver", "task", "sh" };
boolean hasError;
void run() throws Exception {
......
......@@ -33,7 +33,7 @@ public class SpellChecker {
private boolean printDictionary = false;
private boolean addToDictionary;
private static final String[] SUFFIX = new String[] { "html", "java", "sql", "txt", "xml", "jsp", "css", "bat",
"csv", "xml", "js", "Driver", "properties", "task", "MF", "" };
"csv", "xml", "js", "Driver", "properties", "task", "MF", "sh", "" };
private static final String[] IGNORE = new String[] { "dev", "nsi", "gif", "png", "odg", "ico", "sxd", "zip",
"bz2", "rc", "layout", "res", "dll", "jar", "svg" };
private static final String PREFIX_IGNORE = "abc";
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论