-1
--launcher.openFile
打开文件时未将其分配给任何项目,因此不同的功能(如代码辅助)不起作用。我实际上试图自动创建一个源文件,并且想要编辑它,就像我在eclipse中以默认方式创建它一样。从命令行打开指定eclipse项目中的.java文件
private void openInEclipse(File file) throws IOException {
String eclipsePath = "G:/eclipse/eclipse-java-juno-win32/eclipse/eclipse.exe";
Runtime.getRuntime().exec(new String[]{eclipsePath, file.getAbsolutePath()});
}
你想开发某种IDE? – 2012-08-03 14:59:52
是的,这样的 – user1574386 2012-08-03 15:01:16
我想从服务器 – user1574386 2012-08-03 15:01:58