mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
cosmetics
This commit is contained in:
@@ -149,6 +149,11 @@ def layoutFull(String home, String targetDirectory, String patchedDescriptorDir
|
||||
module("notNull")
|
||||
}
|
||||
|
||||
jar("jps-server.jar") {
|
||||
module("jps-builders")
|
||||
module("jps-model")
|
||||
}
|
||||
|
||||
fileset(dir: "$home/lib", includesfile: "${home}/lib/required_for_dist.txt")
|
||||
|
||||
fileset(dir: "$home/lib/src") {
|
||||
|
||||
@@ -219,7 +219,7 @@ public class JpsServerManager implements ApplicationComponent{
|
||||
final Sdk projectJdk = JavaAwareProjectJdkTableImpl.getInstanceEx().getInternalJdk();
|
||||
final GeneralCommandLine cmdLine = new GeneralCommandLine();
|
||||
cmdLine.setExePath(((JavaSdkType)projectJdk.getSdkType()).getVMExecutablePath(projectJdk));
|
||||
cmdLine.addParameter("-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5008");
|
||||
//cmdLine.addParameter("-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5008");
|
||||
cmdLine.addParameter("-Xmx256m");
|
||||
cmdLine.addParameter("-classpath");
|
||||
|
||||
|
||||
@@ -29,7 +29,9 @@ import org.objectweb.asm.ClassWriter;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.ArrayList;
|
||||
import java.util.LinkedHashSet;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
* @author Eugene Zhuravlev
|
||||
@@ -42,7 +44,7 @@ public class ClasspathBootstrap {
|
||||
public static final String JPS_RUNTIME_PATH = "rt/jps-incremental";
|
||||
|
||||
public static List<File> getApplicationClasspath() {
|
||||
final List<File> cp = new ArrayList<File>();
|
||||
final Set<File> cp = new LinkedHashSet<File>();
|
||||
cp.add(getResourcePath(Server.class));
|
||||
cp.add(getResourcePath(com.google.protobuf.Message.class)); // protobuf
|
||||
cp.add(getResourcePath(org.jboss.netty.bootstrap.Bootstrap.class)); // netty
|
||||
@@ -80,7 +82,7 @@ public class ClasspathBootstrap {
|
||||
// }
|
||||
// }
|
||||
//}
|
||||
return cp;
|
||||
return new ArrayList<File>(cp);
|
||||
}
|
||||
|
||||
private static File getResourcePath(Class aClass) {
|
||||
|
||||
Reference in New Issue
Block a user