简体   繁体   English

如何编译依赖包

[英]How to compile dependent packages

I have a project with around 10 classes a few of which depend on each other.我有一个项目,其中大约有 10 个类,其中一些类相互依赖。 When I compile these in the one folder I have no problems.当我在一个文件夹中编译这些时,我没有问题。 When I separate these classes into separate packages then I can't compile each file as it needs the other to first be compiled to work and vise versa.当我将这些类分成单独的包时,我无法编译每个文件,因为它需要首先编译另一个文件才能工作,反之亦然。 How do I go about compiling these packages using the command line?我如何使用命令行编译这些包?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM