How to create a project from existing source in Eclipse and then find it?

本文介绍了一种简单的方法来将现有源文件导入Eclipse项目中。具体步骤包括:放置所有源文件到一个与项目同名的目录下;在Eclipse中创建一个与该目录同名的新项目,并取消使用默认位置选项;指定存放源文件的实际路径。

Easiest Method:

  1. Put all source files into one directory named after your project. i.e. "ProjectName" You can keep this directory in your workspace or it can be somewhere else.
  2. Start a new project in eclipse and name it using that same project name.
  3. Uncheck the "use default location" box and find the directory where your project is. If your project is already in the workspace, you probably won't have to change the default location.
  4. Click 'next'.

Eclipse should be smart enough to figure out what's going on. After clicking next, it will show you all of the files it found in that directory. It will just automatically add those files to your project. Voilà!

 

 

Try File/New/Project
Select type of project, Next
Type in project name
uncheck default location
In Location edit box type in the path to your source
click Finish

转载于:https://www.cnblogs.com/shaman/archive/2013/03/21/2972604.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值