如何将类文件夹添加到Eclipse中?

时间:2022-02-06 07:19:11

Eclipse is set to compile to a build directory at 'bin'. I have a folder structure with various Java .class files (precompiled) which I want to copy into the folder 'bin' on compile.

Eclipse设置为编译到'bin'的构建目录。我有一个包含各种Java .class文件(预编译)的文件夹结构,我想在编译时将其复制到文件夹'bin'中。

How do I tell Eclipse to automatically do this?

我如何告诉Eclipse自动执行此操作?

1 个解决方案

#1


The 'Add Class Folder...' and 'Add External Class Folder...' buttons under 'Java Build Path' in the project properties seem to do exactly what you want.

项目属性中“Java Build Path”下的“Add Class Folder ...”和“Add External Class Folder ...”按钮似乎完全符合您的要求。

#1


The 'Add Class Folder...' and 'Add External Class Folder...' buttons under 'Java Build Path' in the project properties seem to do exactly what you want.

项目属性中“Java Build Path”下的“Add Class Folder ...”和“Add External Class Folder ...”按钮似乎完全符合您的要求。