java导入的图标文件在哪,在eclipse中导入的项目文件夹图标

My newly imported Maven project in Eclipse workpace has J and M icons on top of the project folder (Project and Package explorer) while the other imported Maven projects has only a J icon.

Can someone explain the difference ?

解决方案

The project having J decorator are called Java projects and projects having M decorator are called Maven projects. An eclipse project can be of more than one type.

Project type can be seen in the .project file present inside any given project.

Typical content of .project file look like as shown below

Test

org.eclipse.jdt.core.javabuilder

org.eclipse.pde.ManifestBuilder

org.eclipse.pde.SchemaBuilder

org.eclipse.pde.PluginNature

org.eclipse.jdt.core.javanature

Look at natures tag. All Java projects will have org.eclipse.jdt.core.javanature nature and a single project can have multiple nature.

You can convert Java projects to Maven projects by right clicking on any Java project and selecting Configure > Covert to Maven project

Check the changes in .project file after converting.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值