开发者

Import existing src into root directory of Eclipse Project?

开发者 https://www.devze.com 2023-03-30 04:05 出处:网络
I am using Eclipse Indigo. I already have some code that is stored in a repository outside of my workplace directory. The repository contains various projects and so it wouldn\'t make sense to include

I am using Eclipse Indigo. I already have some code that is stored in a repository outside of my workplace directory. The repository contains various projects and so it wouldn't make sense to include it in the workspace. I have created an empty Java ME project and I now want to import various source files and folders by linking them in. I've played around with various settings, but Eclipse insists on creating a top level folder to hold them. To be clear, the hierarchy is:

Java ME Project -> Unwanted Top Level Folder -> Source Files and Folders

Can I make it instead:

Java ME Project -> Source Files and Folders

Update: Thanks Srikanth for the doc link. According t开发者_高级运维o it, the file system should have a "Create selected folders only" option, but it isn't showing in my version (3.7.0.v20110530)

Import existing src into root directory of Eclipse Project?


This feature does not seem to be available in Eclipse 3.7. In 3.6 (and maybe lower) it is possible though. While importing the existing src select Create selected folders only radio button.It will import only the wanted folders.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号