[英]netbeans: How to compile a .jar file from a project with other project dependencies
I have a project which has other projects as dependencies (not just .jar files, actual projects). 我有一个项目,其中有其他项目作为依赖项(不仅仅是.jar文件,实际项目)。 How do i make sure those projects are included in the final .jar file after building?
构建后,如何确保这些项目包含在最终的.jar文件中? Do i have to compile each project individually and put their .jar files in the lib folder?
我是否必须单独编译每个项目并将其.jar文件放在lib文件夹中?
you can use code for doing that by 您可以使用代码通过
Runtime rt = Runtime.getRuntime();
Process proc = rt.exec("javac className");
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.