如何将类文件夹添加到 Eclipse 中? [英] How can I add class folders into Eclipse?

查看:27
本文介绍了如何将类文件夹添加到 Eclipse 中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

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 自动执行此操作?

How do I tell Eclipse to automatically do this?

推荐答案

项目属性中Java 构建路径"下的添加类文件夹..."和添加外部类文件夹..."按钮似乎可以正是你想要的.

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.

这篇关于如何将类文件夹添加到 Eclipse 中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆