eclipse 导入普通文件夹项目
来源:互联网 发布:郑州淘宝加盟宣判了吗 编辑:程序博客网 时间:2024/06/04 18:03
如果需要导入普通文件夹项目,需要 .classpath 和 .project 两个配置文件。可以选择手动创建,也可以在eclipse中创建一个java项目,该项目下就会有.classpath 和 .project 两个配置文件了。
首先讲通过直接创建配置文件的导入方式,在需要导入的文件目录下创建.classpath 和 .project 两个配置文件,创建完后,文件夹就可以导入了。
.classpath文件中的内容为:
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="output" path="bin"/>
</classpath>
.project 文件中的内容为:
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>test</name>
<comment></comment>
<projects>
<project>test</project>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.common.project.facet.core.builder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.validation.validationbuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.ManifestBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.SchemaBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.jboss.tools.common.verification.verifybuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.jboss.tools.jst.web.kb.kbbuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.zeroturnaround.eclipse.rebelXmlBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
<nature>org.jboss.tools.jsf.jsfnature</nature>
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
<nature>org.jboss.tools.jst.web.kb.kbnature</nature>
<nature>org.zeroturnaround.eclipse.jrebelNature</nature>
</natures>
</projectDescription>
第二种就是创建一个新的项目,到项目目录下找到两个配置文件,拷贝到目标目录下就可以导入了
- eclipse 导入普通文件夹项目
- 在Eclipse中导入普通文件夹项目
- 将一个普通文件夹导入至eclipse
- eclipse导入 普通android项目时,出错
- eclipse导入后将普通项目变为java项目
- Eclipse中将普通项目导入成maven项目
- eclipse导入普通文件夹 提示 No projects are found to import解决办法
- eclipse导入项目包显示为文件夹结构
- 将WebCollector导入普通项目
- 关于javaweb项目导入eclipse后变成普通java项目的解决办法
- 在eclipse中导入JavaWeb项目却成了普通Java项目解决方法
- eclipse导入后将普通项目变为java项目build path,no action aviliable
- 如何将spring源码作为导入eclipse中,变成一个普通的项目(git、github)
- 解决普通文件夹转化为Eclipse工程
- 在eclipse导入项目如何将多个项目放入一个文件夹中
- 在eclipse导入项目如何将多个项目放入一个文件夹中
- Eclipse导入zend项目
- Maven项目导入Eclipse
- 对象属性和数组元素的初始默认值
- 守得住孤独,把得住清欢
- ARM64 ret_fast_syscall
- jQuery Validate 触发机制
- C语言之指针函数
- eclipse 导入普通文件夹项目
- iOS 毛玻璃效果和高斯图片模糊实现
- VMware10+Ubuntu16.04:VMware10+Ubuntu16.04下安装vmware tools
- Linux下的tar压缩解压缩命令详解
- js闭包
- 现在才写,晚了吗,嘎嘎
- ARM64 ret_to_user
- ssh 连接不上 oracle linux 7.2
- 模板类和友元