本文整理了Java中org.eclipse.jdt.internal.compiler.batch.Main.processPathEntries()
方法的一些代码示例,展示了Main.processPathEntries()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Main.processPathEntries()
方法的具体详情如下:
包路径:org.eclipse.jdt.internal.compiler.batch.Main
类名称:Main
方法名:processPathEntries
暂无
代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.core
for (int i = 0, max = this.sourcepaths.length; i < max; i++) {
String encoding = this.sourcepathsEncodings == null ? null : this.sourcepathsEncodings[i];
main.processPathEntries(
Main.DEFAULT_SIZE_CLASSPATH,
allClasspaths, this.sourcepaths[i], encoding, true, false);
main.processPathEntries(
Main.DEFAULT_SIZE_CLASSPATH,
allClasspaths, this.classpaths[i], null, false, false);
代码示例来源:origin: org.eclipse.jdt/org.eclipse.jdt.core
protected ArrayList<Classpath> handleBootclasspath(ArrayList<String> bootclasspaths, String customEncoding) {
final int bootclasspathsSize;
ArrayList<Classpath> result = new ArrayList<>(DEFAULT_SIZE_CLASSPATH);
if ((bootclasspaths != null)
&& ((bootclasspathsSize = bootclasspaths.size()) != 0)) {
result = new ArrayList<>(bootclasspathsSize);
for (String path : bootclasspaths) {
processPathEntries(DEFAULT_SIZE_CLASSPATH, result, path, customEncoding, false, true);
}
} else {
try {
Util.collectVMBootclasspath(result, this.javaHomeCache);
} catch(IllegalStateException e) {
throw new IllegalArgumentException(this.bind("configure.invalidSystem", this.javaHomeCache.toString())); //$NON-NLS-1$
}
}
return result;
}
private void processAddonModuleOptions(FileSystem env) {
代码示例来源:origin: org.eclipse.tycho/org.eclipse.jdt.core
protected ArrayList<Classpath> handleBootclasspath(ArrayList<String> bootclasspaths, String customEncoding) {
final int bootclasspathsSize;
ArrayList<Classpath> result = new ArrayList<>(DEFAULT_SIZE_CLASSPATH);
if ((bootclasspaths != null)
&& ((bootclasspathsSize = bootclasspaths.size()) != 0)) {
result = new ArrayList<>(bootclasspathsSize);
for (String path : bootclasspaths) {
processPathEntries(DEFAULT_SIZE_CLASSPATH, result, path, customEncoding, false, true);
}
} else {
try {
Util.collectVMBootclasspath(result, this.javaHomeCache);
} catch(IllegalStateException e) {
throw new IllegalArgumentException(this.bind("configure.invalidSystem", this.javaHomeCache.toString())); //$NON-NLS-1$
}
}
return result;
}
private void processAddonModuleOptions(FileSystem env) {
代码示例来源:origin: org.eclipse.tycho/org.eclipse.jdt.core
for (int i = 0, max = this.sourcepaths.length; i < max; i++) {
String encoding = this.sourcepathsEncodings == null ? null : this.sourcepathsEncodings[i];
main.processPathEntries(
Main.DEFAULT_SIZE_CLASSPATH,
allClasspaths, this.sourcepaths[i], encoding, true, false);
main.processPathEntries(
Main.DEFAULT_SIZE_CLASSPATH,
allClasspaths, this.classpaths[i], null, false, false);
代码示例来源:origin: org.eclipse.jdt/org.eclipse.jdt.core
for (int i = 0, max = this.sourcepaths.length; i < max; i++) {
String encoding = this.sourcepathsEncodings == null ? null : this.sourcepathsEncodings[i];
main.processPathEntries(
Main.DEFAULT_SIZE_CLASSPATH,
allClasspaths, this.sourcepaths[i], encoding, true, false);
main.processPathEntries(
Main.DEFAULT_SIZE_CLASSPATH,
allClasspaths, this.classpaths[i], null, false, false);
代码示例来源:origin: com.google.code.maven-play-plugin.org.eclipse.jdt/org.eclipse.jdt.core
for (int i = 0, max = this.sourcepaths.length; i < max; i++) {
String encoding = this.sourcepathsEncodings == null ? null : this.sourcepathsEncodings[i];
main.processPathEntries(
Main.DEFAULT_SIZE_CLASSPATH,
allClasspaths, this.sourcepaths[i], encoding, true, false);
main.processPathEntries(
Main.DEFAULT_SIZE_CLASSPATH,
allClasspaths, this.classpaths[i], null, false, false);
代码示例来源:origin: org.jibx.config.3rdparty.org.eclipse/org.eclipse.jdt.core
for (int i = 0, max = this.sourcepaths.length; i < max; i++) {
String encoding = this.sourcepathsEncodings == null ? null : this.sourcepathsEncodings[i];
main.processPathEntries(
Main.DEFAULT_SIZE_CLASSPATH,
allClasspaths, this.sourcepaths[i], encoding, true, false);
main.processPathEntries(
Main.DEFAULT_SIZE_CLASSPATH,
allClasspaths, this.classpaths[i], null, false, false);
代码示例来源:origin: trylimits/Eclipse-Postfix-Code-Completion
for (int i = 0, max = this.sourcepaths.length; i < max; i++) {
String encoding = this.sourcepathsEncodings == null ? null : this.sourcepathsEncodings[i];
main.processPathEntries(
Main.DEFAULT_SIZE_CLASSPATH,
allClasspaths, this.sourcepaths[i], encoding, true, false);
main.processPathEntries(
Main.DEFAULT_SIZE_CLASSPATH,
allClasspaths, this.classpaths[i], null, false, false);
代码示例来源:origin: com.google.code.maven-play-plugin.org.eclipse.jdt/org.eclipse.jdt.core
protected ArrayList handleBootclasspath(ArrayList bootclasspaths, String customEncoding) {
final int bootclasspathsSize;
if ((bootclasspaths != null)
&& ((bootclasspathsSize = bootclasspaths.size()) != 0))
{
String[] paths = new String[bootclasspathsSize];
bootclasspaths.toArray(paths);
bootclasspaths.clear();
for (int i = 0; i < bootclasspathsSize; i++) {
processPathEntries(DEFAULT_SIZE_CLASSPATH, bootclasspaths,
paths[i], customEncoding, false, true);
}
} else {
bootclasspaths = new ArrayList(DEFAULT_SIZE_CLASSPATH);
try {
Util.collectRunningVMBootclasspath(bootclasspaths);
} catch(IllegalStateException e) {
this.logger.logWrongJDK();
this.proceed = false;
return null;
}
}
return bootclasspaths;
}
代码示例来源:origin: org.eclipse.jdt.core.compiler/ecj
protected ArrayList handleBootclasspath(ArrayList bootclasspaths, String customEncoding) {
final int bootclasspathsSize;
if ((bootclasspaths != null)
&& ((bootclasspathsSize = bootclasspaths.size()) != 0))
{
String[] paths = new String[bootclasspathsSize];
bootclasspaths.toArray(paths);
bootclasspaths.clear();
for (int i = 0; i < bootclasspathsSize; i++) {
processPathEntries(DEFAULT_SIZE_CLASSPATH, bootclasspaths,
paths[i], customEncoding, false, true);
}
} else {
bootclasspaths = new ArrayList(DEFAULT_SIZE_CLASSPATH);
try {
Util.collectRunningVMBootclasspath(bootclasspaths);
} catch(IllegalStateException e) {
this.logger.logWrongJDK();
this.proceed = false;
return null;
}
}
return bootclasspaths;
}
代码示例来源:origin: trylimits/Eclipse-Postfix-Code-Completion
protected ArrayList handleBootclasspath(ArrayList bootclasspaths, String customEncoding) {
final int bootclasspathsSize;
if ((bootclasspaths != null)
&& ((bootclasspathsSize = bootclasspaths.size()) != 0))
{
String[] paths = new String[bootclasspathsSize];
bootclasspaths.toArray(paths);
bootclasspaths.clear();
for (int i = 0; i < bootclasspathsSize; i++) {
processPathEntries(DEFAULT_SIZE_CLASSPATH, bootclasspaths,
paths[i], customEncoding, false, true);
}
} else {
bootclasspaths = new ArrayList(DEFAULT_SIZE_CLASSPATH);
try {
Util.collectRunningVMBootclasspath(bootclasspaths);
} catch(IllegalStateException e) {
this.logger.logWrongJDK();
this.proceed = false;
return null;
}
}
return bootclasspaths;
}
代码示例来源:origin: org.eclipse.jetty.orbit/org.eclipse.jdt.core
protected ArrayList handleBootclasspath(ArrayList bootclasspaths, String customEncoding) {
final int bootclasspathsSize;
if ((bootclasspaths != null)
&& ((bootclasspathsSize = bootclasspaths.size()) != 0))
{
String[] paths = new String[bootclasspathsSize];
bootclasspaths.toArray(paths);
bootclasspaths.clear();
for (int i = 0; i < bootclasspathsSize; i++) {
processPathEntries(DEFAULT_SIZE_CLASSPATH, bootclasspaths,
paths[i], customEncoding, false, true);
}
} else {
bootclasspaths = new ArrayList(DEFAULT_SIZE_CLASSPATH);
try {
Util.collectRunningVMBootclasspath(bootclasspaths);
} catch(IllegalStateException e) {
this.logger.logWrongJDK();
this.proceed = false;
return null;
}
}
return bootclasspaths;
}
代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.core
protected ArrayList handleBootclasspath(ArrayList bootclasspaths, String customEncoding) {
final int bootclasspathsSize;
if ((bootclasspaths != null)
&& ((bootclasspathsSize = bootclasspaths.size()) != 0))
{
String[] paths = new String[bootclasspathsSize];
bootclasspaths.toArray(paths);
bootclasspaths.clear();
for (int i = 0; i < bootclasspathsSize; i++) {
processPathEntries(DEFAULT_SIZE_CLASSPATH, bootclasspaths,
paths[i], customEncoding, false, true);
}
} else {
bootclasspaths = new ArrayList(DEFAULT_SIZE_CLASSPATH);
try {
Util.collectRunningVMBootclasspath(bootclasspaths);
} catch(IllegalStateException e) {
this.logger.logWrongJDK();
this.proceed = false;
return null;
}
}
return bootclasspaths;
}
代码示例来源:origin: com.vaadin/vaadin-client-compiler-deps
protected ArrayList handleBootclasspath(ArrayList bootclasspaths, String customEncoding) {
final int bootclasspathsSize;
if ((bootclasspaths != null)
&& ((bootclasspathsSize = bootclasspaths.size()) != 0))
{
String[] paths = new String[bootclasspathsSize];
bootclasspaths.toArray(paths);
bootclasspaths.clear();
for (int i = 0; i < bootclasspathsSize; i++) {
processPathEntries(DEFAULT_SIZE_CLASSPATH, bootclasspaths,
paths[i], customEncoding, false, true);
}
} else {
bootclasspaths = new ArrayList(DEFAULT_SIZE_CLASSPATH);
try {
Util.collectRunningVMBootclasspath(bootclasspaths);
} catch(IllegalStateException e) {
this.logger.logWrongJDK();
this.proceed = false;
return null;
}
}
return bootclasspaths;
}
代码示例来源:origin: org.jibx.config.3rdparty.org.eclipse/org.eclipse.jdt.core
protected ArrayList handleBootclasspath(ArrayList bootclasspaths, String customEncoding) {
final int bootclasspathsSize;
if ((bootclasspaths != null)
&& ((bootclasspathsSize = bootclasspaths.size()) != 0))
{
String[] paths = new String[bootclasspathsSize];
bootclasspaths.toArray(paths);
bootclasspaths.clear();
for (int i = 0; i < bootclasspathsSize; i++) {
processPathEntries(DEFAULT_SIZE_CLASSPATH, bootclasspaths,
paths[i], customEncoding, false, true);
}
} else {
bootclasspaths = new ArrayList(DEFAULT_SIZE_CLASSPATH);
try {
Util.collectRunningVMBootclasspath(bootclasspaths);
} catch(IllegalStateException e) {
this.logger.logWrongJDK();
this.proceed = false;
return null;
}
}
return bootclasspaths;
}
代码示例来源:origin: org.eclipse.scout.sdk.deps/ecj
protected ArrayList handleBootclasspath(ArrayList bootclasspaths, String customEncoding) {
final int bootclasspathsSize;
if ((bootclasspaths != null)
&& ((bootclasspathsSize = bootclasspaths.size()) != 0))
{
String[] paths = new String[bootclasspathsSize];
bootclasspaths.toArray(paths);
bootclasspaths.clear();
for (int i = 0; i < bootclasspathsSize; i++) {
processPathEntries(DEFAULT_SIZE_CLASSPATH, bootclasspaths,
paths[i], customEncoding, false, true);
}
} else {
bootclasspaths = new ArrayList(DEFAULT_SIZE_CLASSPATH);
try {
Util.collectRunningVMBootclasspath(bootclasspaths);
} catch(IllegalStateException e) {
this.logger.logWrongJDK();
this.proceed = false;
return null;
}
}
return bootclasspaths;
}
代码示例来源:origin: org.eclipse.jetty.orbit/org.eclipse.jdt.core
processPathEntries(DEFAULT_SIZE_CLASSPATH, sourcepathClasspaths,
sourcepathClasspathArg, customEncoding, true, false);
代码示例来源:origin: org.jibx.config.3rdparty.org.eclipse/org.eclipse.jdt.core
processPathEntries(DEFAULT_SIZE_CLASSPATH, sourcepathClasspaths,
sourcepathClasspathArg, customEncoding, true, false);
代码示例来源:origin: com.ovea.tajin.server/tajin-server-tomcat7
processPathEntries(DEFAULT_SIZE_CLASSPATH, sourcepathClasspaths,
sourcepathClasspathArg, customEncoding, true, false);
代码示例来源:origin: com.vaadin/vaadin-client-compiler-deps
processPathEntries(DEFAULT_SIZE_CLASSPATH, sourcepathClasspaths,
sourcepathClasspathArg, customEncoding, true, false);
内容来源于网络,如有侵权,请联系作者删除!